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