Quellcode durchsuchen

modify:

1. 适配改造查询增加年度;
tags/24091901
WendyYang vor 1 Monat
Ursprung
Commit
b7778fb53a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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);


Laden…
Abbrechen
Speichern