fix: 企标更改流程结束后生成修改单 防止空指针
This commit is contained in:
+3
@@ -249,6 +249,9 @@ public class ProcessESChangeEndListener implements ExecutionListener {
|
|||||||
|
|
||||||
private void setContentList(List<XWPFTableRow> rows, int rowNum, int cellNum, List<String> contentList) {
|
private void setContentList(List<XWPFTableRow> rows, int rowNum, int cellNum, List<String> contentList) {
|
||||||
for (String content : contentList) {
|
for (String content : contentList) {
|
||||||
|
if (StrUtil.isBlank(content)) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
setContent(rows, rowNum, cellNum, content, true, false, false);
|
setContent(rows, rowNum, cellNum, content, true, false, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user