Browse Source

update

tags/Baseline_30082024_BACKEND_UAT
MSI\derek 1 year ago
parent
commit
692cee3873
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt

+ 1
- 1
src/main/java/com/ffii/tsms/modules/report/service/ReportService.kt View File

@@ -2037,7 +2037,7 @@ open class ReportService(
+ " sum(t.consumedBudget) as actualConsumedBudget, " + " sum(t.consumedBudget) as actualConsumedBudget, "
+ " COALESCE(p.totalManhour, 0) as plannedManhour, " + " COALESCE(p.totalManhour, 0) as plannedManhour, "
+ " sum(t.normalConsumed + COALESCE(t.otConsumed, 0)) as actualConsumedManhour, " + " sum(t.normalConsumed + COALESCE(t.otConsumed, 0)) as actualConsumedManhour, "
+ " sum(t.consumedBudget) / p.expectedTotalFee as budgetConsumptionRate, "
+ " sum(t.consumedBudget) / p.expectedTotalFee * 0.8 as budgetConsumptionRate, "
+ " sum(t.normalConsumed + COALESCE(t.otConsumed, 0)) / COALESCE(p.totalManhour, 0) as manhourConsumptionRate, " + " sum(t.normalConsumed + COALESCE(t.otConsumed, 0)) / COALESCE(p.totalManhour, 0) as manhourConsumptionRate, "
+ " case " + " case "
+ " when (sum(t.consumedBudget) / p.expectedTotalFee) >= :lowerLimit and (sum(t.consumedBudget) / p.expectedTotalFee) <= 1 " + " when (sum(t.consumedBudget) / p.expectedTotalFee) >= :lowerLimit and (sum(t.consumedBudget) / p.expectedTotalFee) <= 1 "


Loading…
Cancel
Save