|
|
@ -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 |
|
|
|