This commit is contained in:
杨红卫 2021-11-25 14:37:57 +08:00
parent 2829654a33
commit a0b59c0a6f
1 changed files with 6 additions and 2 deletions

View File

@ -461,8 +461,12 @@ namespace BLL
newPerson.OutResult = person.OutResult;
newPerson.Telephone = person.Telephone;
newPerson.PositionId = person.PositionId;
newPerson.PostTitleId = person.PostTitleId;
newPerson.PhotoUrl = person.PhotoUrl;
newPerson.PostTitleId = person.PostTitleId;
if (newPerson.PhotoUrl != person.PhotoUrl)
{
newPerson.PhotoUrl = person.PhotoUrl;
newPerson.ExchangeTime = null;
}
newPerson.HeadImage = person.HeadImage;
newPerson.IsUsed = person.IsUsed;
newPerson.IsCardUsed = person.IsCardUsed;