From 439e49ea6bf2b42d2ff24a5e837edb6733ab8597 Mon Sep 17 00:00:00 2001 From: tongfei <244188119@qq.com> Date: Fri, 15 Dec 2023 15:02:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E8=9D=B6=E5=B7=B2=E4=BA=A4=E5=90=8C?= =?UTF-8?q?=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Domain/Services/InStockTaskService.cs | 9 +++++---- src/WMS.Web.Domain/Services/Public/ErpService.cs | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/WMS.Web.Domain/Services/InStockTaskService.cs b/src/WMS.Web.Domain/Services/InStockTaskService.cs index f43926cd..28ab802a 100644 --- a/src/WMS.Web.Domain/Services/InStockTaskService.cs +++ b/src/WMS.Web.Domain/Services/InStockTaskService.cs @@ -301,7 +301,7 @@ namespace WMS.Web.Domain.Services item.Remark = erp_data.Remark; item.AccruedQty = erp_data.Qty; item.FactoryPrice = erp_data.FactoryPrice; - item.DeliveredQty = item.DeliveredQty+erp_data.DeliveredQty; + item.DeliveredQty = erp_data.DeliveredQty; //打印日志:需要的修改条数 totalUpdateCount++; erp_remove_billNo.Add(data.SourceBillNo); @@ -321,12 +321,13 @@ namespace WMS.Web.Domain.Services { erp_list.RemoveAll(x => x.BillNo == item); } - //打印日志:需要的添加条数 - totalAddCount = erp_list.Count; + } //打印日志 - this.LogInfomation( type,totalCount, totalUpdateCount, totalAddCount); + //打印日志:需要的添加条数 + //totalAddCount = erp_list.Count; + //this.LogInfomation( type,totalCount, totalUpdateCount, totalAddCount); //3.wms任务单的来源单据编号不存在于erp中,那么就新增 if (erp_list.Count != 0) diff --git a/src/WMS.Web.Domain/Services/Public/ErpService.cs b/src/WMS.Web.Domain/Services/Public/ErpService.cs index 1a899449..a8155555 100644 --- a/src/WMS.Web.Domain/Services/Public/ErpService.cs +++ b/src/WMS.Web.Domain/Services/Public/ErpService.cs @@ -550,7 +550,7 @@ namespace WMS.Web.Domain.Services.Public lis.Type = (int)InstockType.StktransferInst; erp_list.Add(lis); } - _logger.LogInformation("分步式调入条数:" + erp_list.Count); + //_logger.LogInformation("分步式调入条数:" + erp_list.Count); return ResultList.ReSuccess(erp_list); } catch (Exception ex)