From 5de5db24efe1b25896c37f395124a207584bcb38 Mon Sep 17 00:00:00 2001
From: fei <791364011@qq.com>
Date: 星期四, 01 一月 2026 21:25:54 +0800
Subject: [PATCH] 修改了对应代码
---
ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheetFour.java | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheetFour.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheetFour.java
index eb1d918..6ca9169 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheetFour.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/poi/ExcelUtilManySheetFour.java
@@ -276,8 +276,8 @@
*/
public void exportExcelManySheet(HttpServletResponse response, List<ExcelExp> list, boolean includeQrCode, byte[] bt,
List<String> sigArr, List<String> arrAn, String inquiryNumber, String caseTitle) throws IOException {
- // response.setContentType("application/vnd.ms-excel");
- // response.setCharacterEncoding("utf-8");
+ // response.setContentType("application/vnd.ms-excel");
+ // response.setCharacterEncoding("utf-8");
try {
createWorkbook();
@@ -299,7 +299,7 @@
// 鍒涘缓琛屽苟璁剧疆楂樺害
- row = sheet.createRow(firow);
+ row = sheet.createRow(firow);
row.setHeight((short)(40 * 40));
//鐢熸垚浜岀淮鐮�
if(includeQrCode)
@@ -345,7 +345,7 @@
firow = firow + 1;
row = sheet.createRow(firow);
}
- // sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 7));
+ // sheet.addMergedRegion(new CellRangeAddress(1, 1, 0, 7));
if(firow==1)
{
sheet.addMergedRegion(new CellRangeAddress(firow, firow, 0, 8));
@@ -364,7 +364,7 @@
titleCell.setCellStyle(style);
firow = firow + 1;
row = sheet.createRow(firow);
- //
+ //
row.createCell(0).setCellValue("鍙戞枃鍙�:");
sheet.addMergedRegion(new CellRangeAddress(firow, firow, 1, 3));
row.createCell(1).setCellValue(inquiryNumber);
@@ -383,7 +383,7 @@
column = 0;
} else {
// 鏅�歴heet澶勭悊
- // recordId = (DocumentMaterialsVo)list.get(0)
+ // recordId = (DocumentMaterialsVo)list.get(0)
row = sheet.createRow(0);
column = 0;
}
@@ -562,7 +562,7 @@
String key = StringUtils.format("header_{}_{}", excel.headerColor(), excel.headerBackgroundColor());
if (!headerStyles.containsKey(key))
{
- style = wb.createCellStyle();
+ style = wb.createCellStyle();
style.cloneStyleFrom(styles.get("data"));
style.setAlignment(HorizontalAlignment.CENTER);
style.setVerticalAlignment(VerticalAlignment.CENTER);
@@ -1060,4 +1060,4 @@
}
return val;
}
-}
+}
\ No newline at end of file
--
Gitblit v1.9.1