导出修改

This commit is contained in:
haozq 2024-11-15 11:09:04 +08:00
parent 389d07423c
commit 1f8c7babfa
1 changed files with 1 additions and 1 deletions

View File

@ -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();