This commit is contained in:
夏菊 2026-05-09 09:48:04 +08:00
parent 969caabdbc
commit a43a77a180
1 changed files with 4 additions and 1 deletions

View File

@ -212,8 +212,11 @@ namespace FineUIPro.Web.HSSE.SitePerson
string roleId = user.RoleId.Split(',')[0];
var role = RoleService.GetRoleByRoleId(roleId);
var workPost = WorkPostService.GetWorkPostByName(role.RoleName);
if (workPost != null)
{
newPerson.WorkPostId = workPost.WorkPostId;
}
}
BLL.PersonService.AddPerson(newPerson);
}
}