|
|
|
@ -634,8 +634,16 @@ public class SysUserService implements ISysUserService {
|
|
|
|
|
LOGGER.error(" SysUser Peck Role information Error userId : {} Exception Message : {} " ,user.getUserInfoId(),e.getMessage());
|
|
|
|
|
e.printStackTrace();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
user.setRoleList(roleList);
|
|
|
|
|
|
|
|
|
|
if(roleList != null && roleList.size() > 0){
|
|
|
|
|
List<SysRole> list = new ArrayList<>();
|
|
|
|
|
roleList.forEach(role -> {
|
|
|
|
|
if(role.getRoleStatus() != null && role.getRoleStatus().equals(CommonEnumUtil.DATA_STATUS.ENABLE.getValue())){
|
|
|
|
|
list.add(role);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
user.setRoleList(list);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|