mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	| @@ -76,9 +76,9 @@ public class DeptServiceImpl implements DeptService { | |||||||
|             // 第二步:构建缓存 |             // 第二步:构建缓存 | ||||||
|             ImmutableMap.Builder<Long, DeptDO> builder = ImmutableMap.builder(); |             ImmutableMap.Builder<Long, DeptDO> builder = ImmutableMap.builder(); | ||||||
|             ImmutableMultimap.Builder<Long, DeptDO> parentBuilder = ImmutableMultimap.builder(); |             ImmutableMultimap.Builder<Long, DeptDO> parentBuilder = ImmutableMultimap.builder(); | ||||||
|             depts.forEach(sysRoleDO -> { |             depts.forEach(deptDO -> { | ||||||
|                 builder.put(sysRoleDO.getId(), sysRoleDO); |                 builder.put(deptDO.getId(), deptDO); | ||||||
|                 parentBuilder.put(sysRoleDO.getParentId(), sysRoleDO); |                 parentBuilder.put(deptDO.getParentId(), deptDO); | ||||||
|             }); |             }); | ||||||
|             deptCache = builder.build(); |             deptCache = builder.build(); | ||||||
|             parentDeptCache = parentBuilder.build(); |             parentDeptCache = parentBuilder.build(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 芋道源码
					芋道源码