fix(标准征求意见流程): 80684

This commit is contained in:
yjz
2024-01-15 11:32:31 +08:00
parent e2c5029f89
commit 3f47d0def1
@@ -332,6 +332,15 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
.eq(ProcessFbConsultationUserLink::getModuleOwnerId, CurrentUserUtil.getId())
.set(ProcessFbConsultationUserLink::getModuleOwnerId, toUserId));
}
// 各部所主管级领导审批
if (ConsultationTaskKey.DEPART_LEADER_END_1.equals(taskDefinitionKey)
|| ConsultationTaskKey.DEPART_LEADER_END_4.equals(taskDefinitionKey)){
processFbConsultationUserLinkService.update(
new LambdaUpdateWrapper<ProcessFbConsultationUserLink>()
.eq(ProcessFbConsultationUserLink::getBusinessId, projectId)
.eq(ProcessFbConsultationUserLink::getDepartLeaderId, CurrentUserUtil.getId())
.set(ProcessFbConsultationUserLink::getDepartLeaderId, toUserId));
}
}
/**
@@ -409,6 +418,7 @@ public class ProcessFbStandardConsultationServiceImpl extends ServiceImpl<Proces
processFbStandardConsultationVO.setProcessFbConsultationLists(consultationLists);
break;
case ConsultationTaskKey.DEPART_LEADER_END_1: // 各部所主管级领导审批
case ConsultationTaskKey.DEPART_LEADER_END_4: // 各部所主管级领导审批
case ConsultationTaskKey.DEPART_LEADER_COLLECT_3: // 法规工程师审批驳回后的子流程中的各部所主管级领导汇总
case ConsultationTaskKey.DEPART_LEADER_COLLECT_2: // 各部所主管级领导汇总(不分发给模块负责人)
linkQueryWrapper.eq(ProcessFbConsultationUserLink::getDepartLeaderId, userId);