From b68d5e0937c6dcd264f35d2c3b9eb599db9bca76 Mon Sep 17 00:00:00 2001 From: yhw0507 Date: Tue, 4 Jul 2023 18:15:19 +0800 Subject: [PATCH] =?UTF-8?q?20230704=E5=8D=A1=E5=8F=B7=E7=A9=BA=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E5=8A=A0=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2=E5=88=A4?= =?UTF-8?q?=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/OpenService/GetDataService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/BLL/OpenService/GetDataService.cs b/SGGL/BLL/OpenService/GetDataService.cs index 92605ba5..660eb57f 100644 --- a/SGGL/BLL/OpenService/GetDataService.cs +++ b/SGGL/BLL/OpenService/GetDataService.cs @@ -518,7 +518,7 @@ namespace BLL { int count = 0; var getPersons = from x in db.SitePerson_Person - where x.States == Const.State_1 && x.CardNo == null && x.ProjectId == projectId + where x.States == Const.State_1 && (x.CardNo == null || x.CardNo =="" || x.CardNo.Length==0) && x.ProjectId == projectId select x; foreach (var item in getPersons) {