|
|
@@ -151,7 +151,8 @@ public class ApplicationManage { |
|
|
|
List<Long> projectIds = page.getRecords().stream().map(Project::getId).collect(Collectors.toList()); |
|
|
|
//要去查询应用 |
|
|
|
List<ProjectApplication> apps = applicationService.list(Wrappers.lambdaQuery(ProjectApplication.class) |
|
|
|
.in(ProjectApplication::getProjectId, projectIds)); |
|
|
|
.in(ProjectApplication::getProjectId, projectIds) |
|
|
|
.isNull(ProjectApplication::getAppCode)); |
|
|
|
Map<Long, List<ProjectApplication>> appMap = apps.stream().collect(Collectors.groupingBy(ProjectApplication::getProjectId)); |
|
|
|
List<ProjectDetailVO> res = page.getRecords().stream().map(p -> { |
|
|
|
ProjectDetailVO vo = BeanUtil.copyProperties(p,ProjectDetailVO.class); |
|
|
|