From f038531d0cf4d4b5599fe95a10ac8857c7e2f27e Mon Sep 17 00:00:00 2001 From: mahao Date: Mon, 9 Oct 2023 11:49:46 +0800 Subject: [PATCH] =?UTF-8?q?[CI=20SKIP]=20=E8=A7=A3=E5=86=B3=E4=B9=B0?= =?UTF-8?q?=E5=8D=95=E4=BB=B6BBAC=E4=B8=89=E6=AC=A1=E6=AF=94=E5=AF=B9=20?= =?UTF-8?q?=E5=8F=91=E8=BF=90=E6=95=B0=E6=8D=AEPN=E4=B8=BA=E7=A9=BA?= =?UTF-8?q?=E6=97=B6=E6=AF=94=E5=AF=B9=E4=B8=8D=E6=88=90=E5=8A=9F=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/Report/MaiDanBBACSaSeCompareExportService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/MaiDanBBACSaSeCompareExportService.cs b/code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/MaiDanBBACSaSeCompareExportService.cs index 356a5623..06c042c0 100644 --- a/code/src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/MaiDanBBACSaSeCompareExportService.cs +++ b/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);