From 268e698015f0886f1a9c1c249f72bd935c9d833e Mon Sep 17 00:00:00 2001 From: yjz <3131811435@qq.com> Date: Thu, 11 Jul 2024 18:10:28 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=A0=87=E5=87=86=E8=A7=A3=E8=AF=BB?= =?UTF-8?q?=E6=B5=81=E7=A8=8B):=20=E5=88=A0=E9=99=A4=E6=9D=A1=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/StandardInterpretFlowServiceImpl.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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());