From ff11c2ef668ba8cbc76c80fdee484737766e23e7 Mon Sep 17 00:00:00 2001 From: lau572 <1010031226@qq.com> Date: Thu, 9 May 2024 11:09:38 +0800 Subject: [PATCH] =?UTF-8?q?word=E7=94=9F=E6=88=90=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zc-business/src/main/java/com/zc/business/utils/PoiUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zc-business/src/main/java/com/zc/business/utils/PoiUtil.java b/zc-business/src/main/java/com/zc/business/utils/PoiUtil.java index 768f44ae..a85915f2 100644 --- a/zc-business/src/main/java/com/zc/business/utils/PoiUtil.java +++ b/zc-business/src/main/java/com/zc/business/utils/PoiUtil.java @@ -521,7 +521,7 @@ public class PoiUtil { if (valueArr.length > 1) { for (int index = 0; index < valueArr.length; index++) { run.setText(valueArr[index], index); - run.addBreak(); + run.addCarriageReturn(); } } else { run.setText(valueStr,0);