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"); //var line2 = tedsaInvs1.FirstOrDefault(p => p.LINE == "2");
////line2.InvoiceTaxAmount += invdiff; ////line2.InvoiceTaxAmount += invdiff;
//line1.InvoiceTaxAmount += invdiff; //line1.InvoiceTaxAmount += invdiff;
//红冲发票提交QAD //红冲发票提交QAD
await _exChangeCenterDbContext.BulkInsertAsync(new List<TEA_TASK_SUB>() { teaTaskSub }).ConfigureAwait(false); await _exChangeCenterDbContext.BulkInsertAsync(new List<TEA_TASK_SUB>() { teaTaskSub }).ConfigureAwait(false);
foreach (var itm in tedsaInvs1) 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(); using var serviceScope = _serviceProvider.CreateScope();
var db = serviceScope.ServiceProvider.GetRequiredService<SettleAccountDbContext>(); var db = serviceScope.ServiceProvider.GetRequiredService<SettleAccountDbContext>();
await HandDelEdiDataAsync().ConfigureAwait(false); await HandDelEdiDataAsync().ConfigureAwait(false);
var seDetailGroup = db.Set<BBAC_SE_DETAIL>() 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) .Where(t => t.IsDeleted == false && t.IsHaveSeData == false)
.GroupBy(t => new { t.PN, t.CustomerPartCodeNoSpace }) .GroupBy(t => new { t.PN, t.CustomerPartCodeNoSpace })
.Select(t => t.Key); .Select(t => t.Key);
var keyCodes = (from se in seDetailGroup var keyCodes = (from se in seDetailGroup
from edi in ediDetailGroup from edi in ediDetailGroup
where se.PN == edi.PN && se.CustomerPartCodeNoSpace == edi.CustomerPartCodeNoSpace where se.PN == edi.PN && se.CustomerPartCodeNoSpace == edi.CustomerPartCodeNoSpace

Loading…
Cancel
Save