From f6fe2f5c3bf70f678bc30f540827e8a575cc90ae Mon Sep 17 00:00:00 2001 From: WendyYang Date: Fri, 22 Nov 2024 17:52:52 +0800 Subject: [PATCH] =?UTF-8?q?feat:=201.=20=E5=90=88=E8=A7=84=E6=80=A7?= =?UTF-8?q?=E5=AE=A1=E6=9F=A5=E9=80=9A=E8=BF=87=E7=BB=9F=E8=AE=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hz/pm/api/projectlib/service/IProjectStatusChangeService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/service/IProjectStatusChangeService.java b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/service/IProjectStatusChangeService.java index 5d13565..d3f24a7 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/service/IProjectStatusChangeService.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/projectlib/service/IProjectStatusChangeService.java @@ -90,10 +90,10 @@ public interface IProjectStatusChangeService extends IService projectCodes, ProjectStateChangeEvent event) { QueryWrapper query = Wrappers.query(); - query.select("count(distinct project_code) cnt") - .in("project_code", projectCodes) - .eq("event", event); - return MapUtil.getLong(getMap(query), "cnt"); + query.select("COUNT(DISTINCT PROJECT_CODE) CNT") + .in("PROJECT_CODE", projectCodes) + .eq("EVENT", event); + return MapUtil.getLong(getMap(query), "CNT"); } }