|
|
@@ -323,13 +323,16 @@ namespace Learun.Util.Operat |
|
|
|
userInfo.isSystem = userEntity.F_SecurityLevel == 1 ? true : false; |
|
|
|
userInfo.Description = userEntity.F_Description; |
|
|
|
|
|
|
|
userInfo.IdentityCardNo = |
|
|
|
userEntity.F_IdentityCardNo.IsEmpty().ToString() == "True" ? "" : ""; |
|
|
|
|
|
|
|
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.roleName += roleEntity.F_FullName + ","; |
|
|
|
} |
|
|
|
} |
|
|
|
userInfo.postIds = userRelationIBLL.GetObjectIds(userEntity.F_UserId, 2); |
|
|
|