标准解读流程分发导入bug修改

This commit is contained in:
梁琦涛
2024-09-10 19:01:13 +08:00
parent 215dc27c20
commit 1b27d0caef
@@ -961,12 +961,15 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
throw new JeroBootException("The list cannot import data"); throw new JeroBootException("The list cannot import data");
} }
} }
List<ProcessStandardInterpretClause> processStandardInterpretClauseList =
standardInterpretDTO.getProcessStandardInterpretClauseList(); if(CollectionUtils.isEmpty(standardInterpretDTO.getProcessStandardInterpretClauseSublistList())){
if(!CollectionUtils.isEmpty(processStandardInterpretClauseList)){ List<ProcessStandardInterpretClause> processStandardInterpretClauseList =
standardInterpretDTO.setProcessStandardInterpretClauseSublistList( standardInterpretDTO.getProcessStandardInterpretClauseList();
JSON.parseArray(JSON.toJSONString(processStandardInterpretClauseList), if(!CollectionUtils.isEmpty(processStandardInterpretClauseList)){
ProcessStandardInterpretClauseSublist.class)); standardInterpretDTO.setProcessStandardInterpretClauseSublistList(
JSON.parseArray(JSON.toJSONString(processStandardInterpretClauseList),
ProcessStandardInterpretClauseSublist.class));
}
} }
List<ProcessStandardInterpretClauseSublist> processStandardInterpretClauseSublistList = List<ProcessStandardInterpretClauseSublist> processStandardInterpretClauseSublistList =
standardInterpretDTO.getProcessStandardInterpretClauseSublistList(); standardInterpretDTO.getProcessStandardInterpretClauseSublistList();