手动打卡
This commit is contained in:
@@ -142,13 +142,13 @@ namespace BLL
|
||||
};
|
||||
|
||||
Model.SitePerson_Person getPerson = new Model.SitePerson_Person();
|
||||
if (!string.IsNullOrEmpty(personInOut.PersonId))
|
||||
if (!string.IsNullOrEmpty(personInOut.IdentityCard))
|
||||
{
|
||||
getPerson = SitePerson_PersonService.GetSitePersonByProjectIdPersonId(personInOut.ProjectId, personInOut.PersonId);
|
||||
getPerson = SitePerson_PersonService.GetSitePersonByProjectIdIdentityCard(personInOut.ProjectId, personInOut.IdentityCard);
|
||||
}
|
||||
if (getPerson == null || string.IsNullOrEmpty(getPerson.PersonId))
|
||||
{
|
||||
getPerson = SitePerson_PersonService.GetSitePersonByProjectIdIdentityCard(personInOut.ProjectId, personInOut.IdentityCard);
|
||||
getPerson = SitePerson_PersonService.GetSitePersonByProjectIdPersonId(personInOut.ProjectId, personInOut.PersonId);
|
||||
}
|
||||
if (getPerson != null && !string.IsNullOrEmpty(getPerson.PersonId))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user