|  |  | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public Long[] getRoleIds() { | 
 |  |  |         if (Cools.isEmpty((Object) this.roleIds)) { | 
 |  |  |             UserRoleService service = SpringUtils.getBean(UserRoleService.class); | 
 |  |  |             List<UserRole> list = service.list(new LambdaQueryWrapper<UserRole>().eq(UserRole::getUserId, this.id)); | 
 |  |  |             return list.stream().map(UserRole::getRoleId).toArray(Long[]::new); | 
 |  |  |         } else { | 
 |  |  |             return this.roleIds; | 
 |  |  |         } | 
 |  |  |         return this.roleIds; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public Long[] getUserRoleIds() { | 
 |  |  |         UserRoleService service = SpringUtils.getBean(UserRoleService.class); | 
 |  |  |         List<UserRole> list = service.list(new LambdaQueryWrapper<UserRole>().eq(UserRole::getUserId, this.id)); | 
 |  |  |         return list.stream().map(UserRole::getRoleId).toArray(Long[]::new); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override |