瀏覽代碼

update active project total

pull/3/head
MSI\derek 6 月之前
父節點
當前提交
a6b14eb86f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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 查看文件

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


Loading…
取消
儲存