Commit 04d18335 authored by Quxl's avatar Quxl

x

parent 36473887
......@@ -14,4 +14,7 @@ public interface ExportService {
Map<String, String> getApplyPassListColumns();
void exportApplyPassList(ServletOutputStream os, String[] columns, List<Map<String, Object>> list);
Map<String, String> getReviewPassListColumns();
void exportReviewPassList(ServletOutputStream os, String[] columns, List<Map<String, Object>> list);
}
......@@ -11,7 +11,7 @@ public interface FilmGroupService {
List<Map<String, Object>> queryFilmListByGroupId(Integer film_group_id);
void updateFilmGroupId(Integer[] film_id, Integer group_id);
void updateFilmGroupId(Integer[] film_id, Integer group_id, String group_remark);
void removeFilmGroupById(Integer[] id);
......
......@@ -48,12 +48,12 @@ public class FilmGroupServiceImpl implements FilmGroupService {
}
@Override
public void updateFilmGroupId(Integer[] film_id, Integer group_id) {
public void updateFilmGroupId(Integer[] film_id, Integer group_id, String group_remark) {
Integer[][] args = new Integer[film_id.length][];
for(int i = 0; i < film_id.length; i++) {
args[i] = new Integer[] {group_id, film_id[i]};
}
jdbcTemplate.batchUpdate("update fc_member_film set film_group_id = ? where id = ?", args);
jdbcTemplate.batchUpdate("update fc_member_film set film_group_id = ?, group_remark where id = ?", args);
}
@Override
......
......@@ -135,8 +135,8 @@ public class FilmGroupController {
@ResponseBody
@PostMapping("updateFilmGroupId")
@ApiOperation("更新影片分类")
public Object updateFilmGroupId(Integer[] film_id, Integer group_id) {
filmGroupService.updateFilmGroupId(film_id, group_id);
public Object updateFilmGroupId(Integer[] film_id, Integer group_id, String group_remark) {
filmGroupService.updateFilmGroupId(film_id, group_id, group_remark);
return Rjx.jsonOk();
}
......
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