Selaa lähdekoodia

modify:

1. 适配改造查询增加年度;
tags/24091901
WendyYang 1 kuukausi sitten
vanhempi
commit
b7778fb53a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java

+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java Näytä tiedosto

@@ -682,7 +682,7 @@ public class PurchaseManage {
List<Long> projectIds = CollUtils.fieldList(records, Purchase::getProjectId);
Wrapper<Project> projectQuery = Wrappers.lambdaQuery(Project.class)
.select(Project::getId, Project::getProjectCode, Project::getProjectName, Project::getStatus,
Project::getBuildOrgName, Project::getBuildOrgCode, Project::getUnitStrip)
Project::getBuildOrgName, Project::getBuildOrgCode, Project::getUnitStrip, Project::getProjectYear)
.in(Project::getId, projectIds);
List<Project> projects = projectService.list(projectQuery);
Map<Long, Project> projectMap = CollUtils.listToMap(projects, Project::getId);


Loading…
Peruuta
Tallenna