Commit f9f91017 authored by Quxl's avatar Quxl

x

parent 568ccfd1
...@@ -49,7 +49,7 @@ public class WebApiController { ...@@ -49,7 +49,7 @@ public class WebApiController {
@ApiImplicitParam(paramType="query", dataType="string", name="sign"), @ApiImplicitParam(paramType="query", dataType="string", name="sign"),
}) })
public Object getFilmList() { public Object getFilmList() {
String sql0 = "select mf.id, mf.film_no, mf.cn_name, mf.en_name, mf.film_country, r.enroll_type_id, r.review_state, mf.film_type_name_short from fc_member_film mf left join fc_review r on r.film_id = mf.id, fc_film_group fg where mf.film_group_id = fg.id"; String sql0 = "select mf.id, mf.film_no, mf.cn_name, mf.en_name, mf.film_country, r.enroll_type_id, r.review_state, mf.film_type_name_short from fc_member_film mf left join fc_review r on r.film_id = mf.id, fc_film_group fg where mf.state = 2 and mf.apply_state = 2 and mf.film_group_id = fg.id";
List<Map<String, Object>> filmList = jdbcTemplate.limitAll(sql0, new Page(1L, 1000L, "id desc")); List<Map<String, Object>> filmList = jdbcTemplate.limitAll(sql0, new Page(1L, 1000L, "id desc"));
String sql1 = "select * from fc_member_film_ext"; String sql1 = "select * from fc_member_film_ext";
......
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