From 2354bebffdeb42fac48828eade8103e10aa76194 Mon Sep 17 00:00:00 2001 From: wangqing <408564126@qq.com> Date: Mon, 29 Jan 2024 19:40:53 +0800 Subject: [PATCH] fix cms journal error --- .../main/java/com/luoo/music/service/CMSJournalService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java b/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java index 44d1dfd..8a14c9d 100644 --- a/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java +++ b/luoo_music/src/main/java/com/luoo/music/service/CMSJournalService.java @@ -64,8 +64,8 @@ public class CMSJournalService { */ public Result> search(JournalQueryModel param, int page, int size) { List result = new ArrayList<>(); - Sort sort = new Sort(Sort.Direction.DESC, "createTime"); - PageRequest pageRequest = PageRequest.of(page - 1, size, sort); +// Sort sort = new Sort(Sort.Direction.DESC, "journalNo"); + PageRequest pageRequest = PageRequest.of(page - 1, size); Page journalPage; if (!Objects.isNull(param)) { List journalIdsByTags = null;