feat: 工作组列表字段去除历史特殊需求(项目负责人查看所有数据权限)

This commit is contained in:
2024-04-02 09:37:48 +08:00
parent 2b4c867593
commit 48f44900de
@@ -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);