feat(REQ-7125) - 调整用于提级审批的枚举与配置

This commit is contained in:
wangli 2026-03-09 16:07:35 +08:00
parent 13119ef042
commit 86f0eda62a

View File

@ -239,8 +239,8 @@ public class TaskEntityEventHandle implements EntityEventHandle<TaskEntity> {
if (Objects.equals(SignApproverOrgLimitEnum.LV_ALL, conf.getOrgLimit()) || Objects.equals(SignApproverOrgLimitEnum.LV_ENT_ALL, conf.getOrgLimit())) {
supportUpgradeApproval = true;
} else {
// 这里修改过提级审批的配置提级审批只有项目内和集团内了似乎完全走不到这里了
ListCooperateShipAncestorReq build = ListCooperateShipAncestorReq.builder()
// TODO 这里涉及到枚举的转换
.upLevel(conf.getOrgLimit().getCode())
.organizationNodeId(Long.parseLong(assignee.getNodeId()))
.includeCurrentNode(false)