From a61b20ace60e3399325cc0a7ce44e55e38f6be59 Mon Sep 17 00:00:00 2001 From: hang <872297557@qq.com> Date: Wed, 19 Jul 2023 16:38:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9PI=20=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E7=A9=BA=E6=95=B0=E7=BB=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IRaCIS.Core.Domain/Allocation/PIAudit.cs | 2 +- IRaCIS.Core.Domain/Allocation/VisitTask.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IRaCIS.Core.Domain/Allocation/PIAudit.cs b/IRaCIS.Core.Domain/Allocation/PIAudit.cs index a61aeeec8..e4f83d6dd 100644 --- a/IRaCIS.Core.Domain/Allocation/PIAudit.cs +++ b/IRaCIS.Core.Domain/Allocation/PIAudit.cs @@ -55,7 +55,7 @@ namespace IRaCIS.Core.Domain.Models try { - return this.PIAuditImagePath?.Trim().Split('|').ToList(); + return this.PIAuditImagePath?.Trim().Split('|', StringSplitOptions.RemoveEmptyEntries).ToList(); } catch (Exception) { diff --git a/IRaCIS.Core.Domain/Allocation/VisitTask.cs b/IRaCIS.Core.Domain/Allocation/VisitTask.cs index 21593c375..44acec4a6 100644 --- a/IRaCIS.Core.Domain/Allocation/VisitTask.cs +++ b/IRaCIS.Core.Domain/Allocation/VisitTask.cs @@ -437,7 +437,7 @@ namespace IRaCIS.Core.Domain.Models try { - return this.PIAuditImagePath?.Trim().Split('|').ToList(); + return this.PIAuditImagePath?.Trim().Split('|',StringSplitOptions.RemoveEmptyEntries).ToList(); } catch (Exception) {