mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	update 优化 去除部门查询状态校验 改为前端过滤 便于查看禁用部门下的其他数据
This commit is contained in:
		@@ -67,8 +67,6 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService {
 | 
			
		||||
     */
 | 
			
		||||
    @Override
 | 
			
		||||
    public List<Tree<Long>> selectDeptTreeList(SysDeptBo bo) {
 | 
			
		||||
        // 只查询未禁用部门
 | 
			
		||||
        bo.setStatus(SystemConstants.NORMAL);
 | 
			
		||||
        LambdaQueryWrapper<SysDept> lqw = buildQueryWrapper(bo);
 | 
			
		||||
        List<SysDeptVo> depts = baseMapper.selectDeptList(lqw);
 | 
			
		||||
        return buildDeptTreeSelect(depts);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user