Skip to content

Commit

Permalink
♻ refactor: slow query
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed Aug 21, 2024
1 parent 94264e3 commit c152a28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public async Task GetListAsync(GetListMessageRecordQuery query)
PageSize = options.PageSize,
Sorting = new Dictionary<string, bool>
{
[nameof(MessageRecordQueryModel.CreationTime)] = true
[nameof(MessageRecordQueryModel.Id)] = true
}
});
var dtos = resultList.Result.Adapt<List<MessageRecordDto>>();
Expand Down

0 comments on commit c152a28

Please sign in to comment.