From 575967beae925b6a8abe69acdea024e825b7aaea Mon Sep 17 00:00:00 2001 From: WendyYang Date: Thu, 12 Sep 2024 17:33:28 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E7=BB=88=E9=AA=8C=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E9=80=9A=E8=BF=87=E4=BF=AE=E6=94=B9;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java index ca1790f..d60c462 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/todocenter/manage/HandlerManage.java @@ -24,6 +24,7 @@ import com.hz.pm.api.projectdeclared.model.entity.ProjectConstructionSuggestions import com.hz.pm.api.projectdeclared.model.entity.Purchase; import com.hz.pm.api.projectdeclared.model.entity.PurchaseInst; import com.hz.pm.api.projectdeclared.model.entity.Xinchuang; +import com.hz.pm.api.projectdeclared.model.enumerization.BidTypeEnum; import com.hz.pm.api.projectdeclared.model.enumerization.ProjectDraftTypeEnum; import com.hz.pm.api.projectdeclared.service.IConstructionSuggestionsService; import com.hz.pm.api.projectdeclared.service.IPurchaseInstService; @@ -326,7 +327,9 @@ public class HandlerManage { private void purchasePassedCallback(Project project, String instanceId, ProjectProcessType processStage) { // 查询所有的标段 - List purchases = purchaseService.listByProjectId(project.getId()); + List purchases = purchaseService.list(Wrappers.lambdaQuery(Purchase.class) + .eq(Purchase::getProjectId, project.getId()) + .eq(Purchase::getBidType, BidTypeEnum.BUILD_APP.getCode())); Map purchaseMap = CollUtils.listToMap(purchases, Purchase::getId); // 查询所有标段对应的最新的信创审批流程编码 List instList = purchaseInstService.list(Wrappers.lambdaQuery(PurchaseInst.class)