Commit b324b8f5 by lcx

新模板列头添加默认数据

parent 10efa239
...@@ -50,7 +50,10 @@ public SecondAllotResponse GetSecondSavedData(int userId, int secondId, int empl ...@@ -50,7 +50,10 @@ public SecondAllotResponse GetSecondSavedData(int userId, int secondId, int empl
{ {
SecondId = secondId, SecondId = secondId,
TotalPerformance = second.RealGiveFee, TotalPerformance = second.RealGiveFee,
PaymentOfTheMonth = $"{allot.Year}{allot.Month.ToString().PadLeft(2, '0')}月" PaymentOfTheMonth = $"{allot.Year}{allot.Month.ToString().PadLeft(2, '0')}月",
SeniorityTitlesAccountedPerformance = 0.2m,
Workload_Ratio_Default = 0.8m,
DaysFullAttendance = DateTime.DaysInMonth(allot.Year, allot.Month)
}; };
JObject jObject = JObject.Parse(JsonConvert.SerializeObject(head)); JObject jObject = JObject.Parse(JsonConvert.SerializeObject(head));
var headDynamic = agworktypesourceRepository.GetEntities(t => t.SecondId == secondId); var headDynamic = agworktypesourceRepository.GetEntities(t => t.SecondId == secondId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment