whyclxw
6 天以前 cb6cdd90d11cf027fb8ac4174b0e94c708dc2aa0
模板导出和标准化修改
2个文件已修改
2 ■■■ 已修改文件
src/main/java/com/whyc/service/ExportService.java 2 ●●● 补丁 | 查看 | 原始文档 | 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.xlsx
Binary files differ