作者 唐旭辉

bug 修复

... ... @@ -41,7 +41,7 @@ func (reponsitory AdminPermissionRepository) Find(queryOptions domain.Permission
if len(queryOptions.Ids) > 0 {
query = query.WhereIn("id in (?) ", queryOptions.Ids)
}
query = query.Order("admin_permission.sort AES")
query = query.Order("sort")
if err := query.Select(); err != nil {
return nil, err
}
... ...