Former-commit-id: d985b078dce84bf6ad2b84b393c2f29c83d7e30b
master
wangbingit@outlook.com 5 years ago
parent 198bbb4de0
commit c12bb5bc6b

@ -599,7 +599,7 @@ public class WExcel<T> implements Serializable, Cloneable {
// 添加错误信息详细说明
Cell errsCell = row.createCell(1);
errsCell.setCellStyle(new ErrorCellStyle(workbook).getStyle());
String join = String.join("\n", errorList);
String join = String.join(";\n", errorList);
errsCell.setCellValue(new XSSFRichTextString(join));
} else {
// 添加结果

Loading…
Cancel
Save

Powered by TurnKey Linux.