Merge branch 'fix/report' into 'main'

fix: flag sort

See merge request opensource/answer!9
This commit is contained in:
杨光富 2022-09-28 09:49:41 +00:00
commit e159926100
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func (rr *reportRepo) GetReportListPage(ctx context.Context, dto schema.GetRepor
}
// order
session.OrderBy("created_at desc")
session.OrderBy("updated_at desc")
total, err = pager.Help(dto.Page, dto.PageSize, &reports, cond, session)
if err != nil {