修改焊工接口

This commit is contained in:
高飞 2023-02-03 11:24:14 +08:00
parent 61c788d93c
commit ca484ca4d6
1 changed files with 1 additions and 4 deletions

View File

@ -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;