提交代码
This commit is contained in:
parent
7df4878428
commit
07ad76a6bf
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue