diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ApplicationManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ApplicationManage.java index 7d498c7..02b7b88 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ApplicationManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ApplicationManage.java @@ -153,7 +153,7 @@ public class ApplicationManage { List apps = applicationService.list(Wrappers.lambdaQuery(ProjectApplication.class) .in(ProjectApplication::getProjectCode, projectCodes) .isNull(ProjectApplication::getAppCode)); - Map> appMap = apps.stream().collect(Collectors.groupingBy(ProjectApplication::getProjectId)); + Map> appMap = apps.stream().collect(Collectors.groupingBy(ProjectApplication::getProjectCode)); List res = page.getRecords().stream().map(p -> { ProjectDetailVO vo = BeanUtil.copyProperties(p,ProjectDetailVO.class); if(appMap.containsKey(p.getProjectCode())){