@@ -529,6 +530,9 @@ public class FilmServiceImpl implements FilmService {
...
@@ -529,6 +530,9 @@ public class FilmServiceImpl implements FilmService {
.in("mf.review_round",review_round);
.in("mf.review_round",review_round);
;
;
Stringsql="select mf.*, r.review_state, r.result_text, (select GROUP_CONCAT(mfd.playactor_name) from fc_member_film_playactor mfd where mfd.film_id = mf.id and mfd.playactor_type = 'director') director_name from fc_member_film mf left join fc_review r on r.film_id = mf.id and r.review_round = mf.review_round"+StringUtil.join(" and "," where ","","",w1.getStringList());
Stringsql="select mf.*, r.review_state, r.result_text, (select GROUP_CONCAT(mfd.playactor_name) from fc_member_film_playactor mfd where mfd.film_id = mf.id and mfd.playactor_type = 'director') director_name from fc_member_film mf left join fc_review r on r.film_id = mf.id and r.review_round = mf.review_round"+StringUtil.join(" and "," where ","","",w1.getStringList());
if(enroll_type_id!=null){
sql="select t.* from ("+sql+") t, fc_member_film_enroll mfe where t.id = mfe.film_id and mfe.enroll_type_id = "+enroll_type_id;