11
This commit is contained in:
@@ -476,8 +476,9 @@ namespace WebAPI.Controllers
|
||||
{
|
||||
var getPerson = db.SitePerson_Person.FirstOrDefault(x => x.IdentityCard == person.IdentityCard.Trim() && x.ProjectId == person.ProjectId);
|
||||
if (getPerson != null && getPerson.PersonId != person.PersonId)
|
||||
//if (getPerson != null && getPerson.SitePersonId != person.SitePersonId)
|
||||
{
|
||||
responeData.code = 2;
|
||||
responeData.code = 2;
|
||||
responeData.message = "人员身份证号码已存在!";
|
||||
}
|
||||
else
|
||||
@@ -785,7 +786,7 @@ namespace WebAPI.Controllers
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.Message;
|
||||
responeData.message = ex.StackTrace;
|
||||
}
|
||||
}
|
||||
return responeData;
|
||||
|
||||
Reference in New Issue
Block a user