瀏覽代碼

流程中,获取当前角色名称功能缺失,写入后台数据

大厂分支
liangkun 4 年之前
父節點
當前提交
5eb0bee378
共有 1 個檔案被更改,包括 8 行新增0 行删除
  1. +8
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Util/Learun.Util.Operat/OperatorHelper.cs

+ 8
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Util/Learun.Util.Operat/OperatorHelper.cs 查看文件

@@ -324,6 +324,14 @@ namespace Learun.Util.Operat
userInfo.Description = userEntity.F_Description;

userInfo.roleIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 1);
if (!string.IsNullOrEmpty(userInfo.roleIds))
{
var rolelist = userRelationIBLL.GetRoleListByUserId(userEntity.F_UserId);
foreach (var roleEntity in rolelist)
{
userInfo.roleName += roleEntity.F_FullName+ ",";
}
}
userInfo.postIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 2);
userInfo.companyIds = companyIBLL.GetSubNodes(userEntity.F_CompanyId);
userInfo.departmentIds = departmentIBLL.GetSubNodes(userEntity.F_CompanyId, userEntity.F_DepartmentId);


Loading…
取消
儲存