mirror of
https://gitee.com/myxzgzs/boyue-vue-pro.git
synced 2025-08-08 16:32:46 +08:00
review: 重构组装下一个节点审批人方法
This commit is contained in:
parent
8ed3066506
commit
7ed96c4c6c
@ -289,9 +289,9 @@ public class BpmProcessInstanceServiceImpl implements BpmProcessInstanceService
|
|||||||
// 4.2 组装候选用户信息
|
// 4.2 组装候选用户信息
|
||||||
List<UserSimpleBaseVO> candidateUsers = new ArrayList<>();
|
List<UserSimpleBaseVO> candidateUsers = new ArrayList<>();
|
||||||
for (Long userId : candidateUserIds) {
|
for (Long userId : candidateUserIds) {
|
||||||
AdminUserRespDTO user = userMap.get(userId);
|
UserSimpleBaseVO user = BpmProcessInstanceConvert.INSTANCE.buildUser(userId, userMap, deptMap);
|
||||||
if (user != null){
|
if (user != null){
|
||||||
candidateUsers.add(BpmProcessInstanceConvert.INSTANCE.buildUser(userId, userMap, deptMap));
|
candidateUsers.add(user);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user