mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
update 优化 用户管理 只查询未禁用的部门角色岗位数据
This commit is contained in:
@ -72,6 +72,8 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService {
|
||||
*/
|
||||
@Override
|
||||
public List<Tree<Long>> selectDeptTreeList(SysDept dept) {
|
||||
// 只查询未禁用部门
|
||||
dept.setStatus(UserConstants.DEPT_NORMAL);
|
||||
List<SysDept> depts = this.selectDeptList(dept);
|
||||
return buildDeptTreeSelect(depts);
|
||||
}
|
||||
|
Reference in New Issue
Block a user