"src/pages/technical-support/doc/index.vue" did not exist on "fa47f975fa016029aed42a8b552f231215cadb73"
Commit db3fc9c6 authored by 黄智's avatar 黄智

bug修复

parent f2cdf1ec
...@@ -282,7 +282,7 @@ func (o *Organization) OrgDetail(input request.QueryOrgDetailInput) (interface{} ...@@ -282,7 +282,7 @@ func (o *Organization) OrgDetail(input request.QueryOrgDetailInput) (interface{}
ids = append(ids, v.Id) ids = append(ids, v.Id)
} }
var systemUserRoles []response.SystemUserRole var systemUserRoles []response.SystemUserRole
if err := db.Table("system_user_role").Alias("sur").Select("sur.system_id, sr.role_name"). if err := db.Table("system_user_role").Alias("sur").Select("sur.user_id, sr.role_name").
Join("left", "system_role sr", "sr.role_id = sur.role_id").In("sur.user_id", ids).Find(&systemUserRoles); err != nil { Join("left", "system_role sr", "sr.role_id = sur.role_id").In("sur.user_id", ids).Find(&systemUserRoles); err != nil {
conf.Logger.Error("查询用户角色信息失败", zap.Error(err)) conf.Logger.Error("查询用户角色信息失败", zap.Error(err))
return nil, resp.DbSelectError.ErrorDetail(err) return nil, resp.DbSelectError.ErrorDetail(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment