From 5a003a42d2b34e8362910ac1d3e5a8866768e5fe Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期六, 20 十二月 2025 16:50:28 +0800
Subject: [PATCH] 2025.12.20 巡查任务统计相关功能修改
---
src/main/kotlin/cn/flightfeather/supervision/business/report/BaseExcel.kt | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/kotlin/cn/flightfeather/supervision/business/report/BaseExcel.kt b/src/main/kotlin/cn/flightfeather/supervision/business/report/BaseExcel.kt
index 844726b..e182a98 100644
--- a/src/main/kotlin/cn/flightfeather/supervision/business/report/BaseExcel.kt
+++ b/src/main/kotlin/cn/flightfeather/supervision/business/report/BaseExcel.kt
@@ -8,6 +8,7 @@
/**
* 鍚勬ā鏉垮悎骞惰緭鍑轰负鏁翠綋鏂囨。
+ * 鍗曚釜鏁版嵁婧�
*/
abstract class BaseExcel(val dataSource: DataSource) {
@@ -18,7 +19,7 @@
// excel鏂囨。
private var workbook = HSSFWorkbook()
- fun getReportName(): String = "${dataSource.areaName()}-${fileName}.xls"
+ fun getReportName(): String = "${dataSource.areaName()}-${fileName}.xlsx"
fun toFile(path: String) {
val fileName = getReportName()
--
Gitblit v1.9.3