Browse Source

word生成工具修改

develop
lau572 7 months ago
parent
commit
ff11c2ef66
  1. 2
      zc-business/src/main/java/com/zc/business/utils/PoiUtil.java

2
zc-business/src/main/java/com/zc/business/utils/PoiUtil.java

@ -521,7 +521,7 @@ public class PoiUtil {
if (valueArr.length > 1) { if (valueArr.length > 1) {
for (int index = 0; index < valueArr.length; index++) { for (int index = 0; index < valueArr.length; index++) {
run.setText(valueArr[index], index); run.setText(valueArr[index], index);
run.addBreak(); run.addCarriageReturn();
} }
} else { } else {
run.setText(valueStr,0); run.setText(valueStr,0);

Loading…
Cancel
Save