mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 16:23:42 +08:00 
			
		
		
		
	@@ -38,7 +38,7 @@ public class SysDataScopeServiceImpl implements ISysDataScopeService {
 | 
			
		||||
     * @param roleId 角色Id
 | 
			
		||||
     * @return 部门Id组
 | 
			
		||||
     */
 | 
			
		||||
    @Cacheable(cacheNames = CacheNames.SYS_ROLE_CUSTOM, key = "#roleId")
 | 
			
		||||
    @Cacheable(cacheNames = CacheNames.SYS_ROLE_CUSTOM, key = "#roleId", condition = "#roleId != null")
 | 
			
		||||
    @Override
 | 
			
		||||
    public String getRoleCustom(Long roleId) {
 | 
			
		||||
        if (ObjectUtil.isNull(roleId)) {
 | 
			
		||||
@@ -60,7 +60,7 @@ public class SysDataScopeServiceImpl implements ISysDataScopeService {
 | 
			
		||||
     * @param deptId 部门Id
 | 
			
		||||
     * @return 部门Id组
 | 
			
		||||
     */
 | 
			
		||||
    @Cacheable(cacheNames = CacheNames.SYS_DEPT_AND_CHILD, key = "#deptId")
 | 
			
		||||
    @Cacheable(cacheNames = CacheNames.SYS_DEPT_AND_CHILD, key = "#deptId", condition = "#deptId != null")
 | 
			
		||||
    @Override
 | 
			
		||||
    public String getDeptAndChild(Long deptId) {
 | 
			
		||||
        if (ObjectUtil.isNull(deptId)) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user