Bläddra i källkod

feat:

1. 合规性审查通过统计修改;
tags/24112201
WendyYang 1 månad sedan
förälder
incheckning
f6fe2f5c3b
1 ändrade filer med 4 tillägg och 4 borttagningar
  1. +4
    -4
      hz-pm-api/src/main/java/com/hz/pm/api/projectlib/service/IProjectStatusChangeService.java

+ 4
- 4
hz-pm-api/src/main/java/com/hz/pm/api/projectlib/service/IProjectStatusChangeService.java Visa fil

@@ -90,10 +90,10 @@ public interface IProjectStatusChangeService extends IService<ProjectStatusChang

default long count(Collection<String> projectCodes, ProjectStateChangeEvent event) {
QueryWrapper<ProjectStatusChange> 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");
}

}

Laddar…
Avbryt
Spara