feat: 工作组列表字段去除历史特殊需求(项目负责人查看所有数据权限)
This commit is contained in:
-3
@@ -44,9 +44,6 @@ public class RolePermissionServiceImpl implements RolePermissionService {
|
||||
}
|
||||
LoginUser sysUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||
List<String> list = new ArrayList<>(Arrays.asList(sysUser.getRoleCode().split(",")));
|
||||
if(list.contains(RoleCommon.XMFZR)){
|
||||
list.remove(RoleCommon.XMFZR);
|
||||
}
|
||||
if(!CollectionUtils.isEmpty(list)){
|
||||
LambdaQueryWrapper<SysRole> querySysRole = new LambdaQueryWrapper<>();
|
||||
querySysRole.in(SysRole::getRoleCode,list);
|
||||
|
||||
Reference in New Issue
Block a user