添加AdditionalCharge
parent
6a09a76d61
commit
d3bc5d4c03
|
|
@ -1,4 +1,4 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using IRaCIS.Core.Application.Contracts.RequestAndResponse;
|
||||
|
||||
|
|
@ -83,6 +83,10 @@ namespace IRaCIS.Application.ViewModels
|
|||
|
||||
public decimal RefresherTraining { get; set; }
|
||||
|
||||
public decimal AdditionalCharge1 { get; set; }
|
||||
public decimal AdditionalCharge2 { get; set; }
|
||||
public decimal AdditionalCharge3 { get; set; }
|
||||
|
||||
public int PersonalTotal { get; set; }
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -118,6 +118,9 @@ namespace IRaCIS.Application.Services
|
|||
AdjudicationIn24H = gWorkLoad.Sum(t => t.AdjudicationIn24H),
|
||||
AdjudicationIn48H = gWorkLoad.Sum(t => t.AdjudicationIn48H),
|
||||
RefresherTraining= gWorkLoad.Sum(t => t.RefresherTraining),
|
||||
AdditionalCharge1 = gWorkLoad.Sum(t => t.AdditionalCharge1),
|
||||
AdditionalCharge2 = gWorkLoad.Sum(t => t.AdditionalCharge2),
|
||||
AdditionalCharge3 = gWorkLoad.Sum(t => t.AdditionalCharge3),
|
||||
|
||||
};
|
||||
var query = from w in workloadQuery
|
||||
|
|
@ -149,6 +152,9 @@ namespace IRaCIS.Application.Services
|
|||
Global = w.Global,
|
||||
Downtime = w.Downtime,
|
||||
RefresherTraining=w.RefresherTraining,
|
||||
AdditionalCharge1 = w.AdditionalCharge1,
|
||||
AdditionalCharge2 = w.AdditionalCharge2,
|
||||
AdditionalCharge3 = w.AdditionalCharge3,
|
||||
|
||||
PersonalTotal = w.Timepoint + w.TimepointIn24H + w.TimepointIn48H + w.Adjudication + w.AdjudicationIn24H +
|
||||
w.AdjudicationIn48H + w.Global
|
||||
|
|
|
|||
Loading…
Reference in New Issue