From 840dbd97d5a5497b034bbfdd7a6d64baa313ecb7 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Thu, 29 Aug 2024 16:21:44 +0800 Subject: [PATCH] =?UTF-8?q?modify:=201.=20=E4=BF=AE=E5=A4=8D=E6=8B=9B?= =?UTF-8?q?=E6=A0=87=E9=87=87=E8=B4=AD=E9=A1=B9=E7=9B=AEID=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA=E7=9A=84=E6=9F=A5=E8=AF=A2=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java index dab0f74..08380a1 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java @@ -422,7 +422,7 @@ public class WorkbenchManage { currStat.setTargetCount(systemReplaceCount.getValue()); List projectCodes = CollUtils.convert(projectIds, ProjectIdCodeCacheUtil::get); currStat.setStoppedCount(stoppedProjectCount(projectStatusChangeMap, projectCodes)); - if (!purchases.isEmpty()) { + if (!projectIds.isEmpty()) { Wrapper pQuery = Wrappers.lambdaQuery(PurchaseStatusChange.class) .select(PurchaseStatusChange::getEvent, PurchaseStatusChange::getProjectId) .in(PurchaseStatusChange::getProjectId, projectIds)