feat(标准解读流程): 删除条款
This commit is contained in:
+8
-7
@@ -1142,14 +1142,15 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
|
|||||||
case StandardInterpretCommon.CONTACT_PERSON_DISTRIBUTE:
|
case StandardInterpretCommon.CONTACT_PERSON_DISTRIBUTE:
|
||||||
processStandardInterpretService.updateById(processStandardInterpret);
|
processStandardInterpretService.updateById(processStandardInterpret);
|
||||||
|
|
||||||
List<String> clauseIdList = processStandardInterpretClauseList.stream()
|
// List<String> clauseIdList = processStandardInterpretClauseList.stream()
|
||||||
.map(ProcessStandardInterpretClause::getId)
|
// .map(ProcessStandardInterpretClause::getId)
|
||||||
.collect(Collectors.toList());
|
// .collect(Collectors.toList());
|
||||||
// 删除旧数据
|
// 删除旧数据
|
||||||
LambdaQueryWrapper<ProcessStandardInterpretClause> removeQueryWrapper = new LambdaQueryWrapper<>();
|
// LambdaQueryWrapper<ProcessStandardInterpretClause> removeQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
removeQueryWrapper.notIn(ProcessStandardInterpretClause::getId, clauseIdList);
|
// removeQueryWrapper.notIn(ProcessStandardInterpretClause::getId, clauseIdList);
|
||||||
removeQueryWrapper.eq(ProcessStandardInterpretClause::getStandardInterpretId, standardInterpretId);
|
// removeQueryWrapper.eq(ProcessStandardInterpretClause::getStandardInterpretId, standardInterpretId);
|
||||||
processStandardInterpretClauseService.remove(removeQueryWrapper);
|
// processStandardInterpretClauseService.remove(removeQueryWrapper);
|
||||||
|
processStandardInterpretClauseService.removeByIds(processAllDelIds);
|
||||||
|
|
||||||
// 标准主解读人
|
// 标准主解读人
|
||||||
map.put(StandardInterpretCommon.MASTER_INTERPRET, processStandardInterpret.getMasterInterpretId());
|
map.put(StandardInterpretCommon.MASTER_INTERPRET, processStandardInterpret.getMasterInterpretId());
|
||||||
|
|||||||
Reference in New Issue
Block a user