From 4921182b78a56e3b09ddb0cba9c70b8728c9c593 Mon Sep 17 00:00:00 2001 From: Administrator Date: Fri, 14 Jan 2022 15:29:53 +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 --- .../Entities/WMS/WMSHQHSharePartAppService.cs | 8 ++++---- .../Entities/WMS/WmsHQCarAppService.cs | 2 +- .../Entities/WMS/WmsHQMSharePartAppService.cs | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs index 8125c586..8c285a65 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WMSHQHSharePartAppService.cs @@ -466,8 +466,8 @@ into temp1 { WmsHQHSharePartOutPutDetial _detail = new WmsHQHSharePartOutPutDetial( GuidGenerator.Create(), - itm.WmsBillNum, - itm.OrderBillNum, + string.Empty, + string.Empty, itm.MaterialCode, itm.MaterialDesc, itm.MaterialGroup, @@ -477,7 +477,7 @@ into temp1 string.Empty, string.Empty, version, - itm.ParentMaterialCode, + itm.MaterialCode, itm.BillNum, GuidGenerator.Create() , string.Empty @@ -498,7 +498,7 @@ into temp1 equals new { itm2.MaterialCode } select itm1; - var errList = error.GroupBy(p => new { p.BillNum }).Select(p => new { BillNum = p.Key.BillNum, Number = p.Sum(itm => itm.Qty) }); + var errList = error.GroupBy(p => new { p.BillNum }).Select(p => new { BillNum = p.Key.BillNum, Number = p.Count() }); var checkList = new List(); foreach (var itm in errList) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs index 16f2380f..2d524308 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQCarAppService.cs @@ -417,7 +417,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS equals new { itm2.MaterialCode } select itm1; - var errList = error.GroupBy(p => new { p.BillNum }).Select(p => new { BillNum = p.Key.BillNum, Number = p.Sum(itm => itm.Qty) }); + var errList = error.GroupBy(p => new { p.BillNum }).Select(p => new { BillNum = p.Key.BillNum, Number = p.Count() }); var checkList = new List(); foreach (var itm in errList) diff --git a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs index 22b7d139..b0629182 100644 --- a/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs +++ b/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/WMS/WmsHQMSharePartAppService.cs @@ -443,8 +443,8 @@ namespace Win.Sfs.SettleAccount.Entities.WMS { WmsHQMSharePartOutPutDetial _detail = new WmsHQMSharePartOutPutDetial( GuidGenerator.Create(), - itm.WmsBillNum, - itm.OrderBillNum, + string.Empty, + string.Empty, itm.MaterialCode, itm.MaterialDesc, itm.MaterialGroup, @@ -454,7 +454,7 @@ namespace Win.Sfs.SettleAccount.Entities.WMS string.Empty, string.Empty, version, - itm.ParentMaterialCode, + itm.MaterialCode, itm.BillNum, GuidGenerator.Create() , string.Empty