|
|
@ -482,7 +482,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
{ |
|
|
|
var groupList = new List<INVOICE_MAP_GROUP>(); |
|
|
|
var notDetialList = new List<INVOICE_NOT_SETTLE>(); |
|
|
|
|
|
|
|
var invlist = new List<INVOICE_GRP>(); |
|
|
|
var salist = new List<TDetail>(); |
|
|
|
var adjlist = new List<PUB_ADJ_DETAIL>(); |
|
|
@ -490,7 +489,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
{ |
|
|
|
var key = group.Key;//发票票号
|
|
|
|
var ls = group.Value;//发票明细
|
|
|
|
|
|
|
|
//更新结算记录更新
|
|
|
|
var query = from itm in dtos |
|
|
|
join itm1 in ls |
|
|
@ -509,14 +507,12 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
on new {LU= itm.PartCode, itm.BeginDate, itm.EndDate } equals new { itm1.LU, itm1.BeginDate, itm1.EndDate } |
|
|
|
join itm2 in p_adjlist on new { itm.LU, itm.SettleDate } equals new { itm2.LU, itm2.SettleDate } |
|
|
|
select itm2; |
|
|
|
|
|
|
|
foreach (var itm in query1) |
|
|
|
{ |
|
|
|
itm.InvBillNum = key; |
|
|
|
adjlist.Add(itm); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
List<INVOICE_WAIT_DETAIL> _entityDetailList = new List<INVOICE_WAIT_DETAIL>(); |
|
|
|
foreach (var detail in ls) |
|
|
|
{ |
|
|
|