提交代码

This commit is contained in:
高飞 2025-02-26 09:09:47 +08:00
parent 7df4878428
commit 07ad76a6bf
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ namespace BLL
/// </summary> /// </summary>
public static void InsertEmployInOutRecord(Model.t_d_facerecordItem drecord,Model.SitePerson_Person getPerson) 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)) using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{ {