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
public void transfer(String taskId, String toUserId, String projectId) {
processHandleService.transfer(taskId, toUserId);
// 模块负责人汇总填写意见
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
String taskDefinitionKey = task.getTaskDefinitionKey();
// 设计工程师填写征求意见
@@ -322,8 +322,9 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
.eq(ProcessFbConsultationUserLink::getDesignEngineerId, CurrentUserUtil.getId())
.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_3.equals(taskDefinitionKey)){
processFbConsultationUserLinkService.update(
@@ -332,8 +333,9 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
.eq(ProcessFbConsultationUserLink::getModuleOwnerId, CurrentUserUtil.getId())
.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)){
processFbConsultationUserLinkService.update(
new LambdaUpdateWrapper<ProcessFbConsultationUserLink>()