Browse Source

更新版本

master
zhaoxinyu 5 months ago
parent
commit
de6bffbacf
  1. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

@ -143,7 +143,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
_globalConfigOptions.IsSyncInvoiceQadState = true;
var invoiceGrps = _settleAccountDbContext.Set<INVOICE_GRP>()
.Where(t => invbillNums.Contains(t.InvbillNum));
.Where(t => invbillNums.Contains(t.InvbillNum) && t.State == SettleBillState.);
foreach (var itm in invoiceGrps)
{
itm.State = SettleBillState.;
@ -990,7 +990,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
.Select(p => new { Erploc = p.Key.ErpLoc, p.Key.PartCode, p.Key.BusinessType, Amt = Math.Round(p.Sum(t => t.Qty * t.Price), 2), Price = p.Key.Price, Qty = p.Sum(t => t.Qty) }).ToList();
var tedSaInvs = new List<TED_SAS_INVOICE>();
var taskId = GuidGenerator.Create();
var teaTaskSub = new TEA_TASK_SUB()
{

Loading…
Cancel
Save