|
@@ -135,13 +135,13 @@ public abstract class AssigneeNode extends Node {
|
|
|
OrganizationTypeEnum organizationType = this.getOrganizationType();
|
|
|
List<User> userList = Lists.newArrayList();
|
|
|
if (organizationType == OrganizationTypeEnum.LEADER) {
|
|
|
- userList = deptService.getLeader(this.getOrganizations());
|
|
|
+ userList = deptService.getLeader(orgIds);
|
|
|
}
|
|
|
if (organizationType == OrganizationTypeEnum.ALL) {
|
|
|
- userList = deptService.getUsers(this.getOrganizations());
|
|
|
+ userList = deptService.getUsers(orgIds);
|
|
|
}
|
|
|
if (organizationType == OrganizationTypeEnum.ROLE) {
|
|
|
- userList = deptService.getRoleUsers(this.getOrganizations(), this.getOrganizationRoles());
|
|
|
+ userList = deptService.getRoleUsers(orgIds, this.getOrganizationRoles());
|
|
|
}
|
|
|
if (CollectionUtils.isNotEmpty(userList)) {
|
|
|
List<String> userIds = userList.stream()
|