From cb6cdd90d11cf027fb8ac4174b0e94c708dc2aa0 Mon Sep 17 00:00:00 2001
From: whyclxw <810412026@qq.com>
Date: 星期五, 20 六月 2025 17:46:26 +0800
Subject: [PATCH] 模板导出和标准化修改

---
 src/main/java/com/whyc/service/ExportService.java                |    2 +-
 src/main/resources/excel_templates/batt_mon_static_template.xlsx |    0 
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/whyc/service/ExportService.java b/src/main/java/com/whyc/service/ExportService.java
index 7ea50e0..09ea1ea 100644
--- a/src/main/java/com/whyc/service/ExportService.java
+++ b/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";
diff --git a/src/main/resources/excel_templates/batt_mon_static_template.xlsx b/src/main/resources/excel_templates/batt_mon_static_template.xlsx
index 2229fa0..0828d43 100644
--- a/src/main/resources/excel_templates/batt_mon_static_template.xlsx
+++ b/src/main/resources/excel_templates/batt_mon_static_template.xlsx
Binary files differ

--
Gitblit v1.9.1