diff --git a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs index 4b82a1eb..47c1d8dd 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs @@ -122,14 +122,10 @@ namespace SettleAccount.Job.Services.Report var materailCode = p_list.Where(p => p.Name == "MaterialCode").FirstOrDefault().Value; var materialGroup = p_list.Where(p => p.Name == "MaterialGroup").FirstOrDefault().Value; - //var sapcode = p_list.Where(p => p.Name == "SapMaterialCode").FirstOrDefault().Value; + var begin = p_list.Where(p => p.Name == "Begin").FirstOrDefault().Value; var end = p_list.Where(p => p.Name == "End").FirstOrDefault().Value; - //var kenncode = p_list.Where(p => p.Name == "KennCode").FirstOrDefault().Value; - //var chassisNumber = p_list.Where(p => p.Name == "ChassisNumber").FirstOrDefault().Value; - //var sapCode = p_list.Where(p => p.Name == "SapCode").FirstOrDefault().Value; - //var cp7begin = p_list.Where(p => p.Name == "CP7Begin").FirstOrDefault().Value; - //var cp7end = p_list.Where(p => p.Name == "CP7End").FirstOrDefault().Value; + var datestr = version.Substring(0, 4) + "-" + version.Substring(4, 2) + "-01"; var date = DateTime.Parse(datestr).AddMonths(1).AddDays(-1); var datetime = date.ToShortDateString() + " 23:59:59 ";