Browse Source

更新版本

master
zhaoxinyu 11 months ago
parent
commit
b9c28c01c0
  1. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs
  2. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs

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

@ -514,11 +514,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
//var line2 = tedsaInvs1.FirstOrDefault(p => p.LINE == "2");
////line2.InvoiceTaxAmount += invdiff;
//line1.InvoiceTaxAmount += invdiff;
//红冲发票提交QAD
await _exChangeCenterDbContext.BulkInsertAsync(new List<TEA_TASK_SUB>() { teaTaskSub }).ConfigureAwait(false);
foreach (var itm in tedsaInvs1)
{

4
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/JisBBACSeEdiCompareAppService.cs

@ -43,9 +43,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
{
using var serviceScope = _serviceProvider.CreateScope();
var db = serviceScope.ServiceProvider.GetRequiredService<SettleAccountDbContext>();
await HandDelEdiDataAsync().ConfigureAwait(false);
var seDetailGroup = db.Set<BBAC_SE_DETAIL>()
@ -57,7 +54,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
.Where(t => t.IsDeleted == false && t.IsHaveSeData == false)
.GroupBy(t => new { t.PN, t.CustomerPartCodeNoSpace })
.Select(t => t.Key);
var keyCodes = (from se in seDetailGroup
from edi in ediDetailGroup
where se.PN == edi.PN && se.CustomerPartCodeNoSpace == edi.CustomerPartCodeNoSpace

Loading…
Cancel
Save