提交代码

This commit is contained in:
2025-02-26 09:09:47 +08:00
parent 7df4878428
commit 07ad76a6bf
+1 -1
View File
@@ -29,7 +29,7 @@ namespace BLL
/// </summary>
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))
{