From c95f66f4b81e81df9432c0c6d306ad22e3f5e587 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期一, 02 十二月 2024 11:41:09 +0800 Subject: [PATCH] socket以及后台任务状态实时刷新 --- 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