update
This commit is contained in:
@@ -56,7 +56,9 @@ public class SysPermissionService
|
||||
{
|
||||
Set<SysRole> roles = new HashSet<SysRole>();
|
||||
List<SysRole> roleList = roleService.selectRolesByUserId(user.getUserId());
|
||||
if (roleList != null && !roleList.isEmpty()) {
|
||||
roles.addAll(roleList);
|
||||
}
|
||||
return roles;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user