Explorar el Código

debug 查询最新项目

tags/24080901
PoffyZhang hace 1 año
padre
commit
381a37f6df
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 Ver fichero

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


Cargando…
Cancelar
Guardar