|
|
@ -900,7 +900,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
begintime = DateTime.Now, |
|
|
|
endtime = DateTime.Now, |
|
|
|
domain = "BJBMPT", |
|
|
|
LINE = (i + 1).ToString() |
|
|
|
LINE = (i + 1).ToString(), |
|
|
|
Remark= string.IsNullOrEmpty(invoice.FileName) ? string.Empty : invoice.FileName |
|
|
|
|
|
|
|
}); |
|
|
|
} |
|
|
|
var invbefore = invoice.RealAmt + invoice.TaxDiff;//
|
|
|
@ -930,10 +932,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
var ls = invDetails.Where(p => p.InvbillNum == itm).ToList(); |
|
|
|
var invoice = await _settleAccountDbContext.Set<INVOICE_GRP>().FirstOrDefaultAsync(p => p.InvbillNum == itm).ConfigureAwait(false); |
|
|
|
var adj = await _settleAccountDbContext.Set<PUB_ADJ_DETAIL>().Where(p => p.InvBillNum == itm).AsNoTracking().ToListAsync().ConfigureAwait(false); //调整数量
|
|
|
|
|
|
|
|
if (ls.Any() && invoice != null) |
|
|
|
{ |
|
|
|
|
|
|
|
if (adj.Any())//假如存在调整单
|
|
|
|
{ |
|
|
|
var adjlist = await ChangedPrice<HBPO_CAN_SA_DETAIL>(invoice.BusinessType, invoice.Site, adj).ConfigureAwait(false); |
|
|
@ -990,7 +990,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
begintime = DateTime.Now, |
|
|
|
endtime = DateTime.Now, |
|
|
|
domain = "BJBMPT", |
|
|
|
LINE = (i + 1).ToString() |
|
|
|
LINE = (i + 1).ToString(), |
|
|
|
Remark = string.IsNullOrEmpty(invoice.FileName) ? string.Empty : invoice.FileName |
|
|
|
}); |
|
|
|
} |
|
|
|
var invbefore = invoice.RealAmt + invoice.TaxDiff;//
|
|
|
@ -1085,7 +1086,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
begintime = DateTime.Now, |
|
|
|
endtime = DateTime.Now, |
|
|
|
domain = "BJBMPT", |
|
|
|
LINE = (i + 1).ToString() |
|
|
|
LINE = (i + 1).ToString(), |
|
|
|
Remark = string.IsNullOrEmpty(invoice.FileName) ? string.Empty : invoice.FileName |
|
|
|
}); |
|
|
|
} |
|
|
|
var invbefore = invoice.RealAmt + invoice.TaxDiff;//
|
|
|
|