Commit f8ba6a5d authored by Quxl's avatar Quxl

x

parent 562e888c
...@@ -81,13 +81,13 @@ public class FilmGroupController { ...@@ -81,13 +81,13 @@ public class FilmGroupController {
@ResponseBody @ResponseBody
@PostMapping("getReviewPassListColumns") @PostMapping("getReviewPassListColumns")
@ApiOperation("获取影片列表导出列") @ApiOperation("获取统计查询列表导出列")
public Object getApplyPassListColumns() { public Object getApplyPassListColumns() {
return Rjx.jsonOk().setData(exportService.getReviewPassListColumns()); return Rjx.jsonOk().setData(exportService.getReviewPassListColumns());
} }
@GetMapping("exportReviewPassList") @GetMapping("exportReviewPassList")
@ApiOperation("导出影片列表") @ApiOperation("导出统计查询列表")
public void exportApplyPassList(Integer[] group_id, String keyword, Integer enroll_type_id, Integer film_type_name, Integer film_type_name_short, Integer play_shanghai, Integer is_important, Integer review_state, Integer review_round, String film_country, String[] orderBy, Long index, Long limit, HttpServletResponse response, String[] columns) throws IOException { public void exportApplyPassList(Integer[] group_id, String keyword, Integer enroll_type_id, Integer film_type_name, Integer film_type_name_short, Integer play_shanghai, Integer is_important, Integer review_state, Integer review_round, String film_country, String[] orderBy, Long index, Long limit, HttpServletResponse response, String[] columns) throws IOException {
response.setContentType("application/octet-stream"); response.setContentType("application/octet-stream");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("影片列表[" + DateUtil.format(new Date(), "yyMMdd-HHmmss") + "].xls", "UTF-8")); response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("影片列表[" + DateUtil.format(new Date(), "yyMMdd-HHmmss") + "].xls", "UTF-8"));
......
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