From 528175df22e9c0b9b6d20d83468f2985463105f3 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 26 十二月 2022 16:46:28 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- src/main/java/com/hx/util/ExcelUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/hx/util/ExcelUtil.java b/src/main/java/com/hx/util/ExcelUtil.java index 5cbea70..ee1bd12 100644 --- a/src/main/java/com/hx/util/ExcelUtil.java +++ b/src/main/java/com/hx/util/ExcelUtil.java @@ -116,7 +116,7 @@ */ public static File createExcel(String[] headList, String[] fieldList, List<Map<String, Object>> dataList) throws Exception { - File file = File.createTempFile("temp", ".xls"); + File file = File.createTempFile("temp", ".xlsx"); try{ // 鍒涘缓鏂扮殑Excel 宸ヤ綔绨� HSSFWorkbook workbook = new HSSFWorkbook(); -- Gitblit v1.8.0