Commit 7d065a5f authored by Quxl's avatar Quxl

x

parent c911daaf
...@@ -738,6 +738,8 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -738,6 +738,8 @@ public class ReviewServiceImpl implements ReviewService {
String sql_film = "fc_member_film"; String sql_film = "fc_member_film";
if(StringUtil.isNotBlank(enroll_type_id)) { if(StringUtil.isNotBlank(enroll_type_id)) {
sql_film = "(select mf0.* from fc_member_film mf0, fc_member_film_enroll mfe where mf0.id = mfe.film_id and mfe.enroll_type_id = " + enroll_type_id + ")"; sql_film = "(select mf0.* from fc_member_film mf0, fc_member_film_enroll mfe where mf0.id = mfe.film_id and mfe.enroll_type_id = " + enroll_type_id + ")";
} else {
sql_film = "(select mf0.* from fc_member_film mf0)";
} }
String sql = "" String sql = ""
+ "select " + "select "
...@@ -748,7 +750,6 @@ public class ReviewServiceImpl implements ReviewService { ...@@ -748,7 +750,6 @@ public class ReviewServiceImpl implements ReviewService {
+ "mf.enroll_type_name, " + "mf.enroll_type_name, "
+ "mf.film_type_name, " + "mf.film_type_name, "
+ "mf.film_country, " + "mf.film_country, "
+ "mf.director, "
+ "mf.film_total_time, " + "mf.film_total_time, "
+ "mf.completion_date, " + "mf.completion_date, "
+ "mf.play_shanghai, " + "mf.play_shanghai, "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment