@@ -81,7 +81,7 @@ public class FilmGroupServiceImpl implements FilmGroupService {
...
@@ -81,7 +81,7 @@ public class FilmGroupServiceImpl implements FilmGroupService {
+"select "
+"select "
+"t.* "
+"t.* "
+"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 null "+StringUtil.join(" and "," ","","",wehre.getStringList());
+""+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 null or t.film_group_id = 0) "+StringUtil.join(" and "," ","","",wehre.getStringList());
@@ -112,7 +112,7 @@ public class FilmGroupServiceImpl implements FilmGroupService {
...
@@ -112,7 +112,7 @@ public class FilmGroupServiceImpl implements FilmGroupService {
+"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 "+StringUtil.join(" and "," ","","",wehre.getStringList());
+""+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 "+StringUtil.join(" and "," ","","",wehre.getStringList());