diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java index 9bda063..34f3854 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ProjectLibManage.java @@ -298,6 +298,7 @@ public class ProjectLibManage { UserFullInfoDTO finalUser = user; Set instCodes = page.getRecords().stream() + .filter(p -> StringUtils.isNotBlank(p.getInstCode())) .map(Project::getInstCode).collect(Collectors.toSet()); List tasks = taskService.createTaskQuery() .processInstanceIdIn(instCodes) @@ -551,6 +552,7 @@ public class ProjectLibManage { UserFullInfoDTO finalUser = user; Set instCodes = page.getRecords().stream() + .filter(p -> StringUtils.isNotBlank(p.getInstCode())) .map(ProjectPO::getInstCode).collect(Collectors.toSet()); List tasks = taskService.createTaskQuery() .processInstanceIdIn(instCodes)