|
|
@@ -153,7 +153,7 @@ public class ApplicationManage { |
|
|
|
List<ProjectApplication> apps = applicationService.list(Wrappers.lambdaQuery(ProjectApplication.class) |
|
|
|
.in(ProjectApplication::getProjectCode, projectCodes) |
|
|
|
.isNull(ProjectApplication::getAppCode)); |
|
|
|
Map<Long, List<ProjectApplication>> appMap = apps.stream().collect(Collectors.groupingBy(ProjectApplication::getProjectId)); |
|
|
|
Map<String, List<ProjectApplication>> appMap = apps.stream().collect(Collectors.groupingBy(ProjectApplication::getProjectCode)); |
|
|
|
List<ProjectDetailVO> res = page.getRecords().stream().map(p -> { |
|
|
|
ProjectDetailVO vo = BeanUtil.copyProperties(p,ProjectDetailVO.class); |
|
|
|
if(appMap.containsKey(p.getProjectCode())){ |
|
|
|