fix 临时移除
This commit is contained in:
@@ -8,7 +8,7 @@ public class MealSupplementRecordItemResponse
|
||||
/// <summary>
|
||||
/// 餐补日期
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
//[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
|
||||
@@ -32,7 +32,7 @@ public class MealSupplementRecordResponse
|
||||
/// <summary>
|
||||
/// 考勤日期
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
//[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -42,7 +42,7 @@ public class BalanceRecordDeviceResponse
|
||||
/// <summary>
|
||||
/// 所属成本日期
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
//[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
public DateTime CostDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -48,7 +48,7 @@ public class BalanceRecordResponse
|
||||
/// <summary>
|
||||
/// 所属成本日期
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
//[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
public DateTime CostDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -66,7 +66,7 @@ public class OrderBookingResponse
|
||||
/// <summary>
|
||||
/// 订餐日期
|
||||
/// </summary>
|
||||
[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
//[JsonConverter(typeof(ToDateJsonConverter))]
|
||||
public DateTime BookingDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -438,7 +438,7 @@ public class BalanceService : IBalanceService
|
||||
var lst = new List<AverageDailyResponse>();
|
||||
foreach (var code in codes)
|
||||
{
|
||||
var br = brs.Where(x => x.UserCode == code).FirstOrDefault();
|
||||
var br = brs.FirstOrDefault(x => x.UserCode == code);
|
||||
var res = br.Adapt<AverageDailyResponse>();
|
||||
var dailyNumber = SameDay(brs, code);
|
||||
res.AverageAmount = dailyNumber;
|
||||
|
||||
Reference in New Issue
Block a user