diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAsyncBalanceService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAsyncBalanceService.cs index fecf5b66..abcabfc9 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAsyncBalanceService.cs +++ b/code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiAsyncBalanceService.cs @@ -152,14 +152,17 @@ namespace Win.Sfs.SettleAccount.Entities.BQ var log = item.Log; //本地查找 var balance = balanceList.Select(o => o.Item1).FirstOrDefault( - o => o.DeliverBillType == log.DeliverBillType && - o.CodeType == log.CodeType && + o => + //o.DeliverBillType == log.DeliverBillType && + //o.CodeType == log.CodeType && o.RealPartCode == log.RealPartCode && o.VinCode == log.VinCode && - o.ErpToLoc == log.ErpToLoc && - o.OrderNum == log.OrderNum && - o.factory == log.factory && - o.Configcode == log.Configcode); + o.ErpToLoc == log.ErpToLoc + //&& + //o.OrderNum == log.OrderNum && + //o.factory == log.factory && + //o.Configcode == log.Configcode + ); //数据库查找 if (balance == null) {