From 50865eae7e727b2bb7f3e8a63e0a62633a8b9500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A6=20=E8=B5=B5?= <89237069@qq.com> Date: Tue, 22 Aug 2023 17:16:57 +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 --- .../BQ/Syncs/PendingDeductionService.cs | 26 ++++--------------- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs index 50b9f445..88b53f7d 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/PendingDeductionService.cs @@ -34,11 +34,7 @@ public class PendingDeductionService : ITransientDependency, IExportJob INormalEfCoreRepository bbacRepository, INormalEfCoreRepository hbpoRepository, INormalEfCoreRepository pubRepository, - INormalEfCoreRepository codesetRepository, - - - VmiAppService vimservice ) { @@ -59,7 +55,6 @@ public class PendingDeductionService : ITransientDependency, IExportJob var list=billList.Split(","); var projectList=_codesetRepository.Where(p => p.Project == "库位"); - if (type == "JisBBAC") { @@ -147,16 +142,13 @@ public class PendingDeductionService : ITransientDependency, IExportJob BillTime = itm.BillTime, ChangedTime = DateTime.Now, Qty = itm.Qty, - DeliverTime = itm.BillTime, + LogType = Entities.BQ.Vmi.VmiLogType.Type200, ChangedQty = itm.Qty, ChangedType = VmiType.Out, //SubBillType = EnumDeliverSubBillType.小件BBAC, //BillType = EnumDeliverBjBmpBillType.JIS件, - PartCode = itm.PartCode, - SettlementVinCode = itm.VinCode, - PartCode2 = itm.PartCode2, - CustomerPartCode = itm.CustomerPartCode, + SettlementVinCode = itm.VinCode, VinCode = itm.VinCode, //OrderNum = itm.OrderNum, ErpToLoc = "C0001" @@ -176,18 +168,16 @@ public class PendingDeductionService : ITransientDependency, IExportJob BillTime = itm.CreationTime, ChangedTime = DateTime.Now, Qty = itm.Qty, - // DeliverTime = , + LogType = Entities.BQ.Vmi.VmiLogType.Type200, ChangedQty = itm.Qty, ChangedType = VmiType.Out, - // SubBillType = EnumDeliverSubBillType.保险杠HBPO, - // BillType = EnumDeliverBjBmpBillType.JIS件, + RealPartCode = itm.LU,//客户 SettlementVinCode = itm.PN, - //PartCode2 = itm.LU,//厂内 + CustPartCode = itm.LU, VinCode = itm.PN, - // OrderNum = itm.GroupNum, 非JIS传ASN 交付识别号 ErpToLoc = "C0001" }).ConfigureAwait(false); } @@ -285,12 +275,6 @@ public class PendingDeductionService : ITransientDependency, IExportJob }).ConfigureAwait(false); } } - - - - - - break; case "MaiDanJianHBPO":