|
@@ -381,6 +381,7 @@ func (userService *UserService) GetUser(getUserQuery *query.GetUserQuery) (inter |
|
@@ -381,6 +381,7 @@ func (userService *UserService) GetUser(getUserQuery *query.GetUserQuery) (inter |
381
|
for i := range user.UserRole {
|
381
|
for i := range user.UserRole {
|
382
|
if _, role, _ := factory.FastPgRole(transactionContext, user.UserRole[i].RoleId); role != nil {
|
382
|
if _, role, _ := factory.FastPgRole(transactionContext, user.UserRole[i].RoleId); role != nil {
|
383
|
user.UserRole[i].RoleType = role.RoleType
|
383
|
user.UserRole[i].RoleType = role.RoleType
|
|
|
384
|
+ user.UserRole[i].OrgId = role.OrgId
|
384
|
}
|
385
|
}
|
385
|
}
|
386
|
}
|
386
|
userDto := &dto.UserDto{Im: userBase.Im}
|
387
|
userDto := &dto.UserDto{Im: userBase.Im}
|