正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -122,7 +122,7 @@ func (reponsitory AdminUserRepository) Find(queryOption domain.AdminUserFindQuer | @@ -122,7 +122,7 @@ func (reponsitory AdminUserRepository) Find(queryOption domain.AdminUserFindQuer | ||
122 | err error | 122 | err error |
123 | adminuserReturn = make([]domain.AdminUser, 0) | 123 | adminuserReturn = make([]domain.AdminUser, 0) |
124 | ) | 124 | ) |
125 | - query = query.Order("id DESC ") | 125 | + query = query.Order("admin_user.id DESC") |
126 | err = query.Select() | 126 | err = query.Select() |
127 | if err != nil { | 127 | if err != nil { |
128 | return adminuserReturn, err | 128 | return adminuserReturn, err |
-
请 注册 或 登录 后发表评论