ソースを参照

minor dashboard api update

tags/Baseline_30082024_BACKEND_UAT
MSI\User 1年前
コミット
29034c218a
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/data/service/DashboardService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/data/service/DashboardService.kt ファイルの表示

@@ -1986,8 +1986,8 @@ open class DashboardService(
+ " coalesce (expenditure.expenditure,0) as expenditure,"
+ " ((p.expectedTotalFee - ifnull(p.subContractFee, 0)) * 0.8) - coalesce (expenditure.expenditure,0) as remainingBudget,"
+ " case"
+ " when p.expectedTotalFee - expenditure.expenditure >= 0 then 'Within Budget'"
+ " when p.expectedTotalFee - expenditure.expenditure < 0 then 'Overconsumption'"
+ " when p.expectedTotalFee - coalesce (expenditure.expenditure,0) >= 0 then 'Within Budget'"
+ " when p.expectedTotalFee - coalesce (expenditure.expenditure,0) < 0 then 'Overconsumption'"
+ " end as status,"
+ " p.totalManhour as plannedResources,"
+ " sum(ifnull(t.normalConsumed, 0) + ifnull(t.otConsumed, 0)) as resourcesSpent,"


読み込み中…
キャンセル
保存