Sfoglia il codice sorgente

update active project total

pull/3/head
MSI\derek 6 mesi fa
parent
commit
a6b14eb86f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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 Vedi File

@@ -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)


Caricamento…
Annulla
Salva