feat(REQ-4468) - 调整审批人冗余信息的默认设置

This commit is contained in:
wangli 2025-07-07 13:58:07 +08:00
parent 9d39c35a0b
commit 4b0b215df7

View File

@ -162,6 +162,8 @@ public class TaskEntityEventHandle implements EntityEventHandle<TaskEntity> {
} }
private OrgStructureSnapshotInfo buildApproverOrgStructureInfo(BpmnTaskDelegateAssigner assignee, TaskEntity taskEntity) { private OrgStructureSnapshotInfo buildApproverOrgStructureInfo(BpmnTaskDelegateAssigner assignee, TaskEntity taskEntity) {
// 先将审批人的提级审批重置为 false
assignee.setSupportUpgradeApproval(false);
List<OrgNodeUserDTO> nodeUsers = fetchUserExtInfo(assignee); List<OrgNodeUserDTO> nodeUsers = fetchUserExtInfo(assignee);
OrgStructureSnapshotInfo.OrgStructureSnapshotInfoBuilder builder = OrgStructureSnapshotInfo.builder(); OrgStructureSnapshotInfo.OrgStructureSnapshotInfoBuilder builder = OrgStructureSnapshotInfo.builder();
if (CollectionUtils.isEmpty(nodeUsers)) { if (CollectionUtils.isEmpty(nodeUsers)) {