11
This commit is contained in:
@@ -198,6 +198,7 @@ namespace BLL
|
||||
InOutWay = personInOut.InOutWay ?? Const.InOutWay_Other,
|
||||
WorkAreaId = personInOut.WorkAreaId,
|
||||
WorkAreaName = personInOut.WorkAreaName,
|
||||
IdentityCard = personInOut.IdentityCard,
|
||||
OldID = personInOut.OldID,
|
||||
Address = personInOut.Address,
|
||||
Remark = personInOut.Remark,
|
||||
@@ -210,7 +211,7 @@ namespace BLL
|
||||
{
|
||||
personIds.Add(personInOut.IdentityCard);
|
||||
}
|
||||
newPersonInOutList.Add(personInOut);
|
||||
newPersonInOutList.Add(newPersonInOut);
|
||||
}
|
||||
|
||||
List<Model.SitePerson_Person> person_Peoples = new List<Model.SitePerson_Person>();
|
||||
@@ -244,7 +245,7 @@ namespace BLL
|
||||
}
|
||||
}
|
||||
|
||||
if (!getPerson.OutTime.HasValue || getPerson.OutTime > DateTime.Now)
|
||||
if (getPerson!=null && (!getPerson.OutTime.HasValue || getPerson.OutTime > DateTime.Now))
|
||||
{
|
||||
//// 插入当日记录表
|
||||
needInsertPersonInOutList.Add(newPersonInOut);
|
||||
|
||||
Reference in New Issue
Block a user