|
|
@ -259,10 +259,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
} |
|
|
|
foreach (var item in pdinvList) |
|
|
|
{ |
|
|
|
if(item.State!=SettleBillState.已提交QAD) |
|
|
|
{ |
|
|
|
|
|
|
|
item.State = SettleBillState.客户已收票; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
_dbcontext.BulkUpdate(pdList); |
|
|
|
_dbcontext.BulkUpdate(pdinvList); |
|
|
@ -293,10 +292,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
} |
|
|
|
foreach (var item in bbacinvList) |
|
|
|
{ |
|
|
|
if (item.State != SettleBillState.已提交QAD) |
|
|
|
{ |
|
|
|
//if (item.State != SettleBillState.已提交QAD)
|
|
|
|
//{
|
|
|
|
item.State = SettleBillState.客户已收票; |
|
|
|
} |
|
|
|
//}
|
|
|
|
} |
|
|
|
_dbcontext.BulkUpdate(bbacList); |
|
|
|
_dbcontext.BulkUpdate(bbacinvList); |
|
|
@ -327,10 +326,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
|
} |
|
|
|
foreach (var item in hbpoinvList) |
|
|
|
{ |
|
|
|
if (item.State != SettleBillState.已提交QAD) |
|
|
|
{ |
|
|
|
// if (item.State != SettleBillState.已提交QAD)
|
|
|
|
// {
|
|
|
|
item.State = SettleBillState.客户已收票; |
|
|
|
} |
|
|
|
// }
|
|
|
|
} |
|
|
|
_dbcontext.BulkUpdate(hbpoList); |
|
|
|
_dbcontext.BulkUpdate(hbpoinvList); |
|
|
|