mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-03-13 21:27:19 +08:00
SortOrder.DESC
This commit is contained in:
@@ -79,7 +79,7 @@ public class PageRequestDto {
|
||||
.sort(SortOrder.valueOf(entry.getValue().getKeyword())))
|
||||
.toList();
|
||||
if (sortFields.isEmpty()) {
|
||||
return List.of(field(name("id")).sort(SortOrder.ASC));
|
||||
return List.of(field(name("id")).sort(SortOrder.DESC));
|
||||
} else {
|
||||
return sortFields;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user