From b7778fb53ac06da9d41b9a57f1b88054624b8965 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Thu, 19 Sep 2024 14:02:49 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E9=80=82=E9=85=8D=E6=94=B9?= =?UTF-8?q?=E9=80=A0=E6=9F=A5=E8=AF=A2=E5=A2=9E=E5=8A=A0=E5=B9=B4=E5=BA=A6?= =?UTF-8?q?;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java index 81af26f..944ac64 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectdeclared/manage/PurchaseManage.java @@ -682,7 +682,7 @@ public class PurchaseManage { List projectIds = CollUtils.fieldList(records, Purchase::getProjectId); Wrapper 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 projects = projectService.list(projectQuery); Map projectMap = CollUtils.listToMap(projects, Project::getId);