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";