|  |  | @ -6,6 +6,7 @@ import cn.estsh.i3plus.pojo.base.bean.ListPager; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.estsh.i3plus.pojo.base.common.Pager; |  |  |  | import cn.estsh.i3plus.pojo.base.common.Pager; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil; |  |  |  | import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.estsh.i3plus.pojo.base.enumutil.ResourceEnumUtil; |  |  |  | import cn.estsh.i3plus.pojo.base.enumutil.ResourceEnumUtil; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import cn.estsh.i3plus.pojo.platform.bean.RefUserRole; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.estsh.i3plus.pojo.platform.bean.SysUser; |  |  |  | import cn.estsh.i3plus.pojo.platform.bean.SysUser; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.estsh.i3plus.pojo.platform.bean.SysUserInfo; |  |  |  | import cn.estsh.i3plus.pojo.platform.bean.SysUserInfo; | 
			
		
	
		
		
			
				
					
					|  |  |  | import cn.estsh.impp.framework.boot.auth.AuthUtil; |  |  |  | import cn.estsh.impp.framework.boot.auth.AuthUtil; | 
			
		
	
	
		
		
			
				
					|  |  | @ -260,4 +261,23 @@ public class SysUserController { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @GetMapping(value = "/find-ref-role/{userId}") | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     @ApiOperation(value = "查询角色的所有角色权限关系", notes = "查询角色的所有角色权限关系") | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     public ResultBean findRefRoleMenu(@PathVariable("userId") String userId) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         try { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ValidatorBean.checkNotNull(userId, "用户 id 不能为空"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             List<RefUserRole> list = sysUserService.findRefUserRoleByUserId(userId); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return ResultBean.success("操作成功") | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     .setCode(ResourceEnumUtil.MESSAGE.SUCCESS.getCode()) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     .setResultList(list); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } catch (ImppBusiException busExcep) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             LOGGER.error(busExcep.getErrorMsg() + ":{}", busExcep.getErrorDetail(), busExcep); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return ResultBean.fail(busExcep.getErrorShow()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } catch (Exception e) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             LOGGER.error(ImppExceptionEnum.SYSTEM_EXCEPTION.getDescription() + ":{}", e.getMessage(), e); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             return ResultBean.fail().setCode(ImppExceptionEnum.SYSTEM_EXCEPTION.getCode()); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | } |  |  |  | } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |