From 74ecc6e6f60d7b8530128b3263beacaa043de69c Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Thu, 25 Jan 2024 14:15:35 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=A0=87=E5=87=86=E6=8B=86=E5=88=86):=2080?= =?UTF-8?q?786?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../documenttool/service/impl/DocumentSplitServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java index 8c959695..0ebdee5d 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/documenttool/service/impl/DocumentSplitServiceImpl.java @@ -893,13 +893,14 @@ public class DocumentSplitServiceImpl implements IDocumentSplitService { Cell cell = headerRowTwo.createCell(0); String explain = "模版说明:\n" + "1.条文号不能为空\n" + - "2.仅支持zip格式文件夹"; + "2.仅支持zip格式文件夹\n" + + "3.条文内容如果导入表格类型,表格的名称需要与sheet页名称保持一致"; CellStyle cellStyleTwo = workbook.createCellStyle(); cellStyleTwo.setWrapText(true); cell.setCellStyle(cellStyleTwo); // 行高 - headerRowTwo.setHeight((short) 800); + headerRowTwo.setHeight((short) 1500); cell.setCellValue(new XSSFRichTextString(explain)); // 合并单元格(参数说明:起始行,结束行,起始列,结束列) CellRangeAddress region = new CellRangeAddress(1, 1, 0, 2);