Commit 42259c4a authored by Quxl's avatar Quxl

x

parent ba2b2c1b
...@@ -431,11 +431,16 @@ public class FilmServiceImpl implements FilmService { ...@@ -431,11 +431,16 @@ public class FilmServiceImpl implements FilmService {
+ "mf.upload_state, " + "mf.upload_state, "
+ "mf.film_country, " + "mf.film_country, "
+ "mf.enroll_type_name, " + "mf.enroll_type_name, "
+ "r.review_state, "
+ "r.allot_state, "
+ "r.state r_state, "
+ "group_concat(fp.playactor_name) director_name " + "group_concat(fp.playactor_name) director_name "
+ "from " + "from "
+ "fc_member_film mf, fc_member_film_playactor fp " + "fc_member_film mf, fc_review r, fc_member_film_playactor fp "
+ "where " + "where "
+ "mf.id = fp.film_id " + "mf.id = r.film_id "
+ "and r.film_id = fp.film_id"
+ "and mf.id = fp.film_id "
+ "and fp.playactor_type = 'director' " + "and fp.playactor_type = 'director' "
+ StringUtil.join(" and ", " and ", " ", " ", where.getStringList()) + StringUtil.join(" and ", " and ", " ", " ", where.getStringList())
+ "group by " + "group by "
...@@ -452,7 +457,10 @@ public class FilmServiceImpl implements FilmService { ...@@ -452,7 +457,10 @@ public class FilmServiceImpl implements FilmService {
+ "mf.apply_state, " + "mf.apply_state, "
+ "mf.upload_id, " + "mf.upload_id, "
+ "mf.upload_state, " + "mf.upload_state, "
+ "mf.film_country " + "mf.film_country, "
+ "r.reivew_state, "
+ "r.allot_state, "
+ "r.state "
+ "order by mf.film_no"; + "order by mf.film_no";
Object[] objs = where.getObjectList(); Object[] objs = where.getObjectList();
return jdbcTemplate.limit(sql, page, objs); return jdbcTemplate.limit(sql, page, objs);
......
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