Browse Source

工作台项目列表 权限

tags/24080901
PoffyZhang 1 year ago
parent
commit
8f65ec6eb2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java

+ 2
- 0
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java View File

@@ -298,6 +298,7 @@ public class ProjectLibManage {
UserFullInfoDTO finalUser = user; UserFullInfoDTO finalUser = user;


Set<String> instCodes = page.getRecords().stream() Set<String> instCodes = page.getRecords().stream()
.filter(p -> StringUtils.isNotBlank(p.getInstCode()))
.map(Project::getInstCode).collect(Collectors.toSet()); .map(Project::getInstCode).collect(Collectors.toSet());
List<Task> tasks = taskService.createTaskQuery() List<Task> tasks = taskService.createTaskQuery()
.processInstanceIdIn(instCodes) .processInstanceIdIn(instCodes)
@@ -551,6 +552,7 @@ public class ProjectLibManage {
UserFullInfoDTO finalUser = user; UserFullInfoDTO finalUser = user;


Set<String> instCodes = page.getRecords().stream() Set<String> instCodes = page.getRecords().stream()
.filter(p -> StringUtils.isNotBlank(p.getInstCode()))
.map(ProjectPO::getInstCode).collect(Collectors.toSet()); .map(ProjectPO::getInstCode).collect(Collectors.toSet());
List<Task> tasks = taskService.createTaskQuery() List<Task> tasks = taskService.createTaskQuery()
.processInstanceIdIn(instCodes) .processInstanceIdIn(instCodes)


Loading…
Cancel
Save