fix(征求意见流程): 80170

This commit is contained in:
yjz
2024-01-17 10:02:47 +08:00
parent 9f431ce0b9
commit 6ae6415338
@@ -310,7 +310,7 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
@Override @Override
public void transfer(String taskId, String toUserId, String projectId) { public void transfer(String taskId, String toUserId, String projectId) {
processHandleService.transfer(taskId, toUserId); processHandleService.transfer(taskId, toUserId);
// 模块负责人汇总填写意见
Task task = taskService.createTaskQuery().taskId(taskId).singleResult(); Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
String taskDefinitionKey = task.getTaskDefinitionKey(); String taskDefinitionKey = task.getTaskDefinitionKey();
// 设计工程师填写征求意见 // 设计工程师填写征求意见
@@ -322,8 +322,9 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
.eq(ProcessFbConsultationUserLink::getDesignEngineerId, CurrentUserUtil.getId()) .eq(ProcessFbConsultationUserLink::getDesignEngineerId, CurrentUserUtil.getId())
.set(ProcessFbConsultationUserLink::getDesignEngineerId, toUserId)); .set(ProcessFbConsultationUserLink::getDesignEngineerId, toUserId));
} }
// 模块负责人汇总填写意见 // 模块负责人分发/模块负责人汇总填写意见
if (ConsultationTaskKey.DEPART_LEADER_START_1.equals(taskDefinitionKey) if (ConsultationTaskKey.MODULE_OWNER_START.equals(taskDefinitionKey)
|| ConsultationTaskKey.MODULE_OWNER_END_1.equals(taskDefinitionKey)
|| ConsultationTaskKey.MODULE_OWNER_END_2.equals(taskDefinitionKey) || ConsultationTaskKey.MODULE_OWNER_END_2.equals(taskDefinitionKey)
|| ConsultationTaskKey.MODULE_OWNER_END_3.equals(taskDefinitionKey)){ || ConsultationTaskKey.MODULE_OWNER_END_3.equals(taskDefinitionKey)){
processFbConsultationUserLinkService.update( processFbConsultationUserLinkService.update(
@@ -332,8 +333,9 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
.eq(ProcessFbConsultationUserLink::getModuleOwnerId, CurrentUserUtil.getId()) .eq(ProcessFbConsultationUserLink::getModuleOwnerId, CurrentUserUtil.getId())
.set(ProcessFbConsultationUserLink::getModuleOwnerId, toUserId)); .set(ProcessFbConsultationUserLink::getModuleOwnerId, toUserId));
} }
// 各部所主管级领导审批 // 各部所主管级领导分发/各部所主管级领导审批
if (ConsultationTaskKey.DEPART_LEADER_END_1.equals(taskDefinitionKey) if (ConsultationTaskKey.DEPART_LEADER_START_1.equals(taskDefinitionKey)
|| ConsultationTaskKey.DEPART_LEADER_END_1.equals(taskDefinitionKey)
|| ConsultationTaskKey.DEPART_LEADER_END_4.equals(taskDefinitionKey)){ || ConsultationTaskKey.DEPART_LEADER_END_4.equals(taskDefinitionKey)){
processFbConsultationUserLinkService.update( processFbConsultationUserLinkService.update(
new LambdaUpdateWrapper<ProcessFbConsultationUserLink>() new LambdaUpdateWrapper<ProcessFbConsultationUserLink>()