Browse Source

[CI SKIP] 解决买单件BBAC三次比对 发运数据PN为空时比对不成功的问题

master
mahao 1 year ago
parent
commit
f038531d0c
  1. 4
      code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/MaiDanBBACSaSeCompareExportService.cs

4
code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/MaiDanBBACSaSeCompareExportService.cs

@ -209,8 +209,8 @@ namespace SettleAccount.Job.Services.Report
threeMatchHaveSaHaveSes.AddRange(threeMatchHaveSaHaveSesItem);
}
saSeCompareDiffs.RemoveAll(t => t.Category == EnumPubSaSeCompareCategory.NotHaveSaHaveSe && matchPNs.ContainsKey(t.PN));
saSeCompareDiffs.RemoveAll(t => t.Category == EnumPubSaSeCompareCategory.HaveSaNotHaveSe && matchPNs.ContainsValue(t.PN));
saSeCompareDiffs.RemoveAll(t => t.Category == EnumPubSaSeCompareCategory.NotHaveSaHaveSe && !string.IsNullOrEmpty(t.PN) && matchPNs.ContainsKey(t.PN));
saSeCompareDiffs.RemoveAll(t => t.Category == EnumPubSaSeCompareCategory.HaveSaNotHaveSe && !string.IsNullOrEmpty(t.PN) && matchPNs.ContainsValue(t.PN));
saSeCompareDiffs.AddRange(threeMatchHaveSaHaveSes);

Loading…
Cancel
Save