Commit 2c53ff38 authored by Quxl's avatar Quxl

x

parent 187b23ff
...@@ -83,7 +83,9 @@ public class FilmGroupServiceImpl implements FilmGroupService { ...@@ -83,7 +83,9 @@ public class FilmGroupServiceImpl implements FilmGroupService {
} }
String sql = "" String sql = ""
+ "select " + "select "
+ "t.* " + "t.*, "
+ "r.review_round, "
+ "r.review_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 null or t.film_group_id = 0) and (t.not_invite is null or t.not_invite = 0) " + StringUtil.join(" and ", " 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) and (t.not_invite is null or t.not_invite = 0) " + StringUtil.join(" and ", " and ", "", "", wehre.getStringList());
return jdbcTemplate.limit(sql, page, wehre.getObjectArray()); return jdbcTemplate.limit(sql, page, wehre.getObjectArray());
......
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