fix(88106): 标准解读流程--不分发 --解读人为空

This commit is contained in:
yjz
2024-08-06 11:38:08 +08:00
parent 6f94da52de
commit 4fc6250af7
@@ -1398,6 +1398,7 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
// 标准解读流程_条款中间表_子表
List<ProcessStandardInterpretClauseSublist> processStandardInterpretClauseSublistList =
data.getProcessStandardInterpretClauseSublistList();
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
// 当前任务节点
String node = StringUtils.isBlank(standardInterpretFlowDTO.getProcessApprovalRecord().getNodeId()) ?
StandardInterpretCommon.REGULATORY_ENGINEER_START
@@ -1545,6 +1546,10 @@ public class StandardInterpretFlowServiceImpl implements StandardInterpretFlowSe
// 删除旧数据
processStandardInterpretClauseService.removeByIds(processAllDelIds);
for (ProcessStandardInterpretClauseSublist standardInterpretClauseSublist :
processStandardInterpretClauseSublistList) {
standardInterpretClauseSublist.setInterpretPersonId(loginUser.getId());
}
processStandardInterpretClauseSublistService
.saveOrUpdateBatch(processStandardInterpretClauseSublistList);