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