feat(REQ-4468) - 调整审批人冗余信息的默认设置
This commit is contained in:
parent
9d39c35a0b
commit
4b0b215df7
@ -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)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user