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"); } }