Explorar el Código

update active project total

pull/3/head
MSI\derek hace 6 meses
padre
commit
a6b14eb86f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/main/java/com/ffii/tsms/modules/data/service/DashboardService.kt

+ 1
- 1
src/main/java/com/ffii/tsms/modules/data/service/DashboardService.kt Ver fichero

@@ -4007,7 +4007,7 @@ open class DashboardService(
+ " where p.status = 'On-going' "
+ " and p.deleted = false "
+ (if (args.containsKey("teamId")) "and s.teamId = :teamId" else "")
+ (if (args.containsKey("endDate")) " and coalesce(p.planStart, p.actualStart) <= :endDate" else "")
+ (if (args.containsKey("endDate")) " and coalesce(p.actualStart, p.planStart) <= :endDate" else "")
+ " order by p.code "
+ " ) result ")
println(sql)


Cargando…
Cancelar
Guardar