20230316新增人员出入记录操作日志

This commit is contained in:
2023-03-16 10:48:42 +08:00
parent f2a3954a44
commit 2747440a89
15 changed files with 173 additions and 161 deletions
@@ -117,13 +117,13 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
person.TeamGroupId = null;
}
BLL.SitePerson_PersonService.UpdateSitePerson(person);
Funs.DB.SubmitChanges();
var getPerson = Person_PersonsService.GetPerson_PersonsById(person.PersonId);
if (getPerson != null)
{
getPerson.UnitId = person.UnitId;
Person_PersonsService.UpdatePerson(getPerson);
Funs.DB.SubmitChanges();
}
}
}