From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期四, 11 九月 2025 18:43:14 +0800 Subject: [PATCH] 最新版本541200007 --- server/system_service/src/main/java/com/doumee/core/annotation/excel/ExcelExporter.java | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/server/system_service/src/main/java/com/doumee/core/annotation/excel/ExcelExporter.java b/server/system_service/src/main/java/com/doumee/core/annotation/excel/ExcelExporter.java index 585c797..05624af 100644 --- a/server/system_service/src/main/java/com/doumee/core/annotation/excel/ExcelExporter.java +++ b/server/system_service/src/main/java/com/doumee/core/annotation/excel/ExcelExporter.java @@ -447,14 +447,14 @@ List<String> rowList = dataList.get(i); for (int j = 0; j < rowList.size(); j++) { Cell cell = row.createCell(j); - if(i==0&&j==0){ - cell.setCellValue("鏁版嵁鏃ユ湡"); - }else{ - cell.setCellValue(rowList.get(j)); - } - + cell.setCellValue(rowList.get(j)); +// if(i==0&&j==0){ +// cell.setCellValue("鏁版嵁鏃ユ湡"); +// }else{ +// cell.setCellValue(rowList.get(j)); +// } if(i==0){ - sheet.setColumnWidth(i, rowList.get(i).length() * 2 * 256); + sheet.setColumnWidth(i, (rowList.get(j).length() + 2 ) * 2 * 256); // cell.setCellStyle(hstyle); } if(i==0 || j==0){ -- Gitblit v1.9.3