diff --git a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java index 112789a7..54c148ab 100644 --- a/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/activiti/process/standardinterpret/service/impl/StandardInterpretFlowServiceImpl.java @@ -961,12 +961,15 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe throw new JeroBootException("The list cannot import data!"); } } - List processStandardInterpretClauseList = - standardInterpretDTO.getProcessStandardInterpretClauseList(); - if(!CollectionUtils.isEmpty(processStandardInterpretClauseList)){ - standardInterpretDTO.setProcessStandardInterpretClauseSublistList( - JSON.parseArray(JSON.toJSONString(processStandardInterpretClauseList), - ProcessStandardInterpretClauseSublist.class)); + + if(CollectionUtils.isEmpty(standardInterpretDTO.getProcessStandardInterpretClauseSublistList())){ + List processStandardInterpretClauseList = + standardInterpretDTO.getProcessStandardInterpretClauseList(); + if(!CollectionUtils.isEmpty(processStandardInterpretClauseList)){ + standardInterpretDTO.setProcessStandardInterpretClauseSublistList( + JSON.parseArray(JSON.toJSONString(processStandardInterpretClauseList), + ProcessStandardInterpretClauseSublist.class)); + } } List processStandardInterpretClauseSublistList = standardInterpretDTO.getProcessStandardInterpretClauseSublistList();