@@ -115,12 +115,13 @@ public class FilmGroupServiceImpl implements FilmGroupService {
...
@@ -115,12 +115,13 @@ public class FilmGroupServiceImpl implements FilmGroupService {
Stringsql=""
Stringsql=""
+"select "
+"select "
+"t.*, "
+"t.*, "
+"fg.group_name, "
+"r.id review_id, "
+"r.id review_id, "
+"r.review_state, "
+"r.review_state, "
+"r.review_round, "
+"r.review_round, "
+"r.opt_state "
+"r.opt_state "
+"from "
+"from "
+""+table+" t, fc_review r where r.film_id = t.id and r.opt_state = 3 and r.review_state != 2 and t.film_group_id is not null and t.film_group_id != 0 and (t.not_invite is null or t.not_invite = 0) "+StringUtil.join(" and "," and ","","",wehre.getStringList());
+""+table+" t left join fc_film_group fg on fg.id = t.group_id, fc_review r where r.film_id = t.id and r.opt_state = 3 and r.review_state != 2 and t.film_group_id is not null and t.film_group_id != 0 and (t.not_invite is null or t.not_invite = 0) "+StringUtil.join(" and "," and ","","",wehre.getStringList());