浏览代码

项目权限返回修改,拥有全部权限返回空列表,既不查询对应projectID

chenjun 8 月之前
父节点
当前提交
670f5dff1f

+ 1 - 1
zjugis-business/src/main/java/com/zjugis/business/service/impl/ProjectServiceImpl.java

@@ -257,7 +257,7 @@ public class ProjectServiceImpl implements ProjectService {
         AdminUserRespDTO adminUserRespDTO = adminUserApi.getUser(SecurityFrameworkUtils.getLoginUserId()).getCheckedData();
         Boolean all = respDTO.getAll();
         if(all){
-            return projectMapper.selectList();
+            return Collections.emptyList();
         } else{
             Set<String> deptIds = respDTO.getDeptIds();
             deptIds.add(adminUserRespDTO.getDeptId());