征求意见

This commit is contained in:
lijiaqi 2022-11-22 15:17:27 +08:00
parent 2bf0bc8fb3
commit 392e5e57a8
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ public class ApiSuggestionController extends ApiBaseController {
@GetMapping("suggestionCommentPage")
public void suggestionCommentPage(String suggestionId) {
LambdaQueryWrapper<SuggestionComment> qw = new LambdaQueryWrapper<SuggestionComment>();
qw.eq(SuggestionComment::getSuggestionId, suggestionId);
qw.eq(SuggestionComment::getSuggestionId, suggestionId).orderByDesc(SuggestionComment::getCreatedAt);
Page<SuggestionComment> paged = suggestionCommentService.page(new Page<>(getPageNum(), getPageSize()), qw);
render(Ret.ok().paged(paged));
}