mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	update 优化 部门树增加禁用标志位
This commit is contained in:
		@@ -110,7 +110,8 @@ public class SysDeptServiceImpl implements ISysDeptService, DeptService {
 | 
			
		||||
                    tree.setId(dept.getDeptId())
 | 
			
		||||
                        .setParentId(dept.getParentId())
 | 
			
		||||
                        .setName(dept.getDeptName())
 | 
			
		||||
                        .setWeight(dept.getOrderNum()));
 | 
			
		||||
                        .setWeight(dept.getOrderNum())
 | 
			
		||||
                        .putExtra("disabled", SystemConstants.DISABLE.equals(dept.getStatus())));
 | 
			
		||||
                Tree<Long> tree = trees.stream().filter(it -> it.getId().longValue() == d.getDeptId()).findFirst().get();
 | 
			
		||||
                treeList.add(tree);
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user