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