Commit 8d161e46 by levphon

修复选中组织节点获取可见用户bug

1 parent fd7a5cbb
...@@ -98,10 +98,9 @@ public class SubDepartmentStrategy extends PermissionStrategy { ...@@ -98,10 +98,9 @@ public class SubDepartmentStrategy extends PermissionStrategy {
if (superiorOrgIdList.contains(departmentId)) { if (superiorOrgIdList.contains(departmentId)) {
return this.permissionUsers(); return this.permissionUsers();
} }
//如果departmentId在下级组织链上(本人组织-X-Y-Z),返回departmentId部门用户 //如果departmentId在下级组织链上(本人组织-X-Y-Z),返回departmentId部门用户
if (subOrgIdList.contains(departmentId)) { if (subOrgIdList.contains(departmentId)) {
return userMapper.selectByDepartmentId(departmentId); return userMapper.selectByDepartmentIds(subOrgIdList);
} }
return Lists.newArrayList(); return Lists.newArrayList();
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!