Pārlūkot izejas kodu

debug 查询最新项目

tags/24080901
PoffyZhang pirms 1 gada
vecāks
revīzija
381a37f6df
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ApplicationManage.java

+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/projectlib/manage/ApplicationManage.java Parādīt failu

@@ -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())){


Notiek ielāde…
Atcelt
Saglabāt