导出修改
This commit is contained in:
parent
389d07423c
commit
1f8c7babfa
|
|
@ -260,7 +260,7 @@ public class ExportController {
|
|||
exports.add(voo);
|
||||
});
|
||||
ExportParams exportParams = new ExportParams("需求计划", "需求计划", ExcelType.XSSF);
|
||||
Workbook workbook = ExcelExportUtil.exportExcel(exportParams, PlanApplyBean.class, exports);
|
||||
Workbook workbook = ExcelExportUtil.exportExcel(exportParams, PlanApplyBeanExport.class, exports);
|
||||
response.setContentType("application/vnd.ms-excel");
|
||||
response.setHeader("content-disposition", "attachment;fileName=" + URLEncoder.encode("需求计划" + ".xlsx", "UTF-8"));
|
||||
ServletOutputStream outputStream = response.getOutputStream();
|
||||
|
|
|
|||
Loading…
Reference in New Issue