Commit 99d41b0b authored by Quxl's avatar Quxl

x

parent 78e767be
...@@ -44,13 +44,8 @@ public class FilmGroupServiceImpl implements FilmGroupService { ...@@ -44,13 +44,8 @@ public class FilmGroupServiceImpl implements FilmGroupService {
+ "left join fc_review r on r.film_id = mf.id and r.opt_state = 3 " + "left join fc_review r on r.film_id = mf.id and r.opt_state = 3 "
+ "where " + "where "
+ "mf.film_group_id is not null and mf.film_group_id = ?"; + "mf.film_group_id is not null and mf.film_group_id = ?";
System.out.println(sql);
return jdbcTemplate.queryForList(sql, group_id); return jdbcTemplate.queryForList(sql, group_id);
} }
public static void main(String[] args) {
new FilmGroupServiceImpl().queryFilmListByGroupId(null);
}
@Override @Override
public void updateFilmGroupId(Integer[] film_id, Integer group_id) { public void updateFilmGroupId(Integer[] film_id, Integer group_id) {
......
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