Skip to content

Commit

Permalink
fix:slow query
Browse files Browse the repository at this point in the history
  • Loading branch information
wzh425 committed Jan 31, 2024
1 parent a15423d commit 8a26276
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.ModificationTime)] = true
[nameof(MessageRecordQueryModel.Id)] = true
}
});
var dtos = resultList.Result.Adapt<List<MessageRecordDto>>();
Expand Down

0 comments on commit 8a26276

Please sign in to comment.