This commit is contained in:
2023-12-25 14:19:41 +08:00
3 changed files with 15 additions and 3461 deletions
+14
View File
@@ -672,6 +672,20 @@ namespace BLL
}
}
public static void UpdatePhotoUrl(string personId, string photoUrl, System.Data.Linq.Binary headImage )
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
var person = db.SitePerson_Person.FirstOrDefault(x => x.PersonId == personId);
if (person != null)
{
person.PhotoUrl = photoUrl;
person.HeadImage = headImage;
db.SubmitChanges();
}
}
}
/// <summary>
/// 根据人员Id删除一个人员信息
/// </summary>