应用管理权限问题修改
This commit is contained in:
@@ -161,6 +161,10 @@ public class OAuth2ClientServiceImpl implements IOAuth2ClientService {
|
|||||||
}
|
}
|
||||||
if (!CollUtil.isEmpty(roleIds)) {
|
if (!CollUtil.isEmpty(roleIds)) {
|
||||||
Set<Long> clientIds = clientPermissionService.getRoleClientListByRoleId(roleIds);
|
Set<Long> clientIds = clientPermissionService.getRoleClientListByRoleId(roleIds);
|
||||||
|
//修改 若无clientIds时直接返回空
|
||||||
|
if(CollUtil.isEmpty(clientIds)){
|
||||||
|
return new PageResult<>();
|
||||||
|
}
|
||||||
pageReqVO.setIds(clientIds);
|
pageReqVO.setIds(clientIds);
|
||||||
}
|
}
|
||||||
return oAuth2ClientJoinMapper.selectPage(pageReqVO);
|
return oAuth2ClientJoinMapper.selectPage(pageReqVO);
|
||||||
|
|||||||
Reference in New Issue
Block a user