修改焊工接口
This commit is contained in:
parent
61c788d93c
commit
ca484ca4d6
|
|
@ -1100,10 +1100,7 @@ namespace BLL
|
|||
Model.SitePerson_Person x = db.SitePerson_Person.FirstOrDefault(e => e.ProjectId == projectId && e.PersonId == personId);
|
||||
Model.Person_Persons getPerson = db.Person_Persons.FirstOrDefault(e => e.PersonId == personId);
|
||||
getPerson.Sex = getPerson.Sex == "1" ? "男" : "女";
|
||||
if (getPerson.Birthday != null)
|
||||
{
|
||||
getPerson.Birthday = getPerson.Birthday.Value.Date;
|
||||
}
|
||||
getPerson.Birthday = getPerson.Birthday;
|
||||
getPerson.PhotoUrl = getPerson.PhotoUrl;
|
||||
getPerson.QRCodeAttachUrl = getPerson.QRCodeAttachUrl;
|
||||
getPerson.IdentityCard = x.IdentityCard;
|
||||
|
|
|
|||
Loading…
Reference in New Issue