src/main/java/com/whyc/service/ExportService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/main/resources/excel_templates/batt_mon_static_template.xlsx | 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/service/ExportService.java
@@ -217,7 +217,7 @@ //获取导出模板地址 ClassPathResource classPathResource = new ClassPathResource("excel_templates/batt_mon_static_template.xlsx"); String path = classPathResource.getPath(); TemplateExportParams templateExportParams1 = new TemplateExportParams(path); TemplateExportParams templateExportParams1 = new TemplateExportParams(path,true); Workbook wb = ExcelExportUtil.exportExcel(templateExportParams1, map); try { String fileName = "历史测试数据表.xls"; src/main/resources/excel_templates/batt_mon_static_template.xlsxBinary files differ