From 0eb5d704cd74a43612864171eac59e63ee2f281f Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 25 Mar 2025 11:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/ZHGL/RealName/SynchroSetService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SGGL/BLL/ZHGL/RealName/SynchroSetService.cs b/SGGL/BLL/ZHGL/RealName/SynchroSetService.cs index 1b2d4513..51465b94 100644 --- a/SGGL/BLL/ZHGL/RealName/SynchroSetService.cs +++ b/SGGL/BLL/ZHGL/RealName/SynchroSetService.cs @@ -1135,7 +1135,7 @@ namespace BLL join w in db.Base_WorkPost on x.WorkPostId equals w.WorkPostId where x.IdentityCard == identityCard && y.JTProjectCode == proCode && v.TeamId.HasValue && z.JTproCode != null - && ((type == Const.BtnAdd && x.HeadImage != null && x.HeadImage.Length > 0) || type == Const.BtnModify) + && ((type == Const.BtnAdd && x.HeadImage != null && x.HeadImage.Length > 0) || type == Const.BtnModify && x.RealNameAddTime.HasValue) select new { name = x.PersonName, @@ -1201,7 +1201,7 @@ namespace BLL code = obj["code"].ToString(); sucess = obj["success"].ToString(); data = obj["data"].ToString(); - if (obj["success"] != null && Convert.ToBoolean(obj["success"].ToString()) && code == "200") + if (obj["success"] != null && Convert.ToBoolean(obj["success"].ToString())) { foreach (var item in getData) {