20220216 人员照片保存时加判断
This commit is contained in:
@@ -462,7 +462,7 @@ namespace BLL
|
||||
newPerson.Telephone = person.Telephone;
|
||||
newPerson.PositionId = person.PositionId;
|
||||
newPerson.PostTitleId = person.PostTitleId;
|
||||
if (newPerson.PhotoUrl != person.PhotoUrl)
|
||||
if (newPerson.PhotoUrl != person.PhotoUrl && !string.IsNullOrEmpty(person.PhotoUrl))
|
||||
{
|
||||
newPerson.PhotoUrl = person.PhotoUrl;
|
||||
newPerson.ExchangeTime = null;
|
||||
|
||||
Reference in New Issue
Block a user