From 7d1b92046156f606ea471ef55040e7e8bf18c7d2 Mon Sep 17 00:00:00 2001 From: Administrator Date: Thu, 30 Jun 2022 13:19:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/Report/UnSettledSumService.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 ";