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 9af2f60b..2b8d3785 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 @@ -1142,14 +1142,15 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe case StandardInterpretCommon.CONTACT_PERSON_DISTRIBUTE: processStandardInterpretService.updateById(processStandardInterpret); - List clauseIdList = processStandardInterpretClauseList.stream() - .map(ProcessStandardInterpretClause::getId) - .collect(Collectors.toList()); +// List clauseIdList = processStandardInterpretClauseList.stream() +// .map(ProcessStandardInterpretClause::getId) +// .collect(Collectors.toList()); // 删除旧数据 - LambdaQueryWrapper removeQueryWrapper = new LambdaQueryWrapper<>(); - removeQueryWrapper.notIn(ProcessStandardInterpretClause::getId, clauseIdList); - removeQueryWrapper.eq(ProcessStandardInterpretClause::getStandardInterpretId, standardInterpretId); - processStandardInterpretClauseService.remove(removeQueryWrapper); +// LambdaQueryWrapper removeQueryWrapper = new LambdaQueryWrapper<>(); +// removeQueryWrapper.notIn(ProcessStandardInterpretClause::getId, clauseIdList); +// removeQueryWrapper.eq(ProcessStandardInterpretClause::getStandardInterpretId, standardInterpretId); +// processStandardInterpretClauseService.remove(removeQueryWrapper); + processStandardInterpretClauseService.removeByIds(processAllDelIds); // 标准主解读人 map.put(StandardInterpretCommon.MASTER_INTERPRET, processStandardInterpret.getMasterInterpretId());