From 07ad76a6bf9f50a3a7e1daf1a1b3e938983db7e0 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 26 Feb 2025 09:09:47 +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/DoorServer/DoorServerService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/BLL/DoorServer/DoorServerService.cs b/SGGL/BLL/DoorServer/DoorServerService.cs index 5b6b47d0..88fa4768 100644 --- a/SGGL/BLL/DoorServer/DoorServerService.cs +++ b/SGGL/BLL/DoorServer/DoorServerService.cs @@ -29,7 +29,7 @@ namespace BLL /// public static void InsertEmployInOutRecord(Model.t_d_facerecordItem drecord,Model.SitePerson_Person getPerson) { - if (drecord.DateTimeRecord.HasValue) + if (drecord.DateTimeRecord.HasValue && !string.IsNullOrEmpty(getPerson.PersonName)) { using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) {