From fc93daa95e7ebf64127a6c09768a3ee7e0230983 Mon Sep 17 00:00:00 2001 From: lsm Date: Tue, 30 Jul 2024 09:34:50 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=A4=B4=E5=83=8F=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E7=A9=BA=E5=80=BC=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PEIS/Utils/ReportHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PEIS/Utils/ReportHelper.cs b/PEIS/Utils/ReportHelper.cs index 10d5890..e2d32db 100644 --- a/PEIS/Utils/ReportHelper.cs +++ b/PEIS/Utils/ReportHelper.cs @@ -504,7 +504,7 @@ namespace PEIS.Utils rpt.SetParameterValue("CardNo", regInfo.CardNo); rpt.SetParameterValue("HospitalName", Global._hospital?.Name); - if (regInfo.Photo == null) + if (string.IsNullOrEmpty(regInfo.Photo)) { rpt.SetParameterValue("Avatar", regInfo.Photo); }