|
|
@ -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) |
|
|
|
{ |
|
|
|