update 项目合规评估流程 提交时人员去重
This commit is contained in:
+4
-1
@@ -5,6 +5,7 @@ import java.util.List;
|
||||
|
||||
import cn.hutool.core.collection.CollStreamUtil;
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import cn.hutool.core.stream.StreamUtil;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.jero.common.api.vo.ResultCommon;
|
||||
import com.jero.common.constant.CommonConstant;
|
||||
@@ -479,6 +480,7 @@ public class ProcessProjectAssessService extends ServiceImpl<ProcessProjectAsses
|
||||
if (moduleOwnerIds.isEmpty()) {
|
||||
throw new JeroBootException(ResultCommon.ProjectAssess);
|
||||
}
|
||||
moduleOwnerIds = moduleOwnerIds.stream().distinct().collect(Collectors.toList());
|
||||
processHandleService.saveNodeUserLink(processDTO.getProcessInstanceId(), ProcessProjectAssessCommon.GBMZGJLDXF, moduleOwnerIds);
|
||||
// 完成任务
|
||||
String taskId = processDTO.getTaskId();
|
||||
@@ -552,6 +554,7 @@ public class ProcessProjectAssessService extends ServiceImpl<ProcessProjectAsses
|
||||
if (designEngineerIds.isEmpty()) {
|
||||
throw new JeroBootException(ResultCommon.ProjectAssess);
|
||||
}
|
||||
designEngineerIds = designEngineerIds.stream().distinct().collect(Collectors.toList());
|
||||
processHandleService.saveNodeUserLink(processDTO.getProcessInstanceId(), ProcessProjectAssessCommon.SJGCSPG, designEngineerIds);
|
||||
// 完成任务
|
||||
String taskId = processDTO.getTaskId();
|
||||
@@ -656,7 +659,7 @@ public class ProcessProjectAssessService extends ServiceImpl<ProcessProjectAsses
|
||||
break;
|
||||
//模块负责人修改
|
||||
case ProcessProjectAssessCommon.MKFZRXG:
|
||||
nodeId = ProcessProjectAssessCommon.GBMZGJLDSP;
|
||||
nodeId = ProcessProjectAssessCommon.GBMZGJLDXF;
|
||||
break;
|
||||
default:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user