Explorar el Código

feat:

1. 合规性审查通过统计修改;
tags/24112201
WendyYang hace 1 mes
padre
commit
f6fe2f5c3b
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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 Ver fichero

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

}

Cargando…
Cancelar
Guardar