From e809f5955584e600d8612540ea814977c49774c2 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 27 八月 2025 23:51:54 +0800 Subject: [PATCH] 修改bug --- ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/core/util/ExcelUtil.java | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/core/util/ExcelUtil.java b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/core/util/ExcelUtil.java index 9e00af7..7f9468c 100644 --- a/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/core/util/ExcelUtil.java +++ b/ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/core/util/ExcelUtil.java @@ -55,7 +55,6 @@ // 第四步,创建单元格,并设置值表头 设置表头居中 HSSFCellStyle style = wb.createCellStyle(); style.setLocked(true); - style.setAlignment(HSSFCellStyle.ALIGN_CENTER); // 创建一个居中格式 HSSFCell cell = null; cell = row.createCell(0); -- Gitblit v1.7.1