From 7085d3d06b4487352f8edeb67c65b3e07a7893b3 Mon Sep 17 00:00:00 2001 From: Y1-zd Date: Tue, 23 Nov 2021 16:08:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E5=88=86=E9=A1=B5=E6=9F=A5=E8=AF=A2?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=99=8D=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/NoticeServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java b/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java index 7223694..9e96168 100644 --- a/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java +++ b/src/main/java/com/mobile_education_platform/service/impl/NoticeServiceImpl.java @@ -64,6 +64,7 @@ public class NoticeServiceImpl extends ServiceImpl impleme QueryWrapper queryWrapper = new QueryWrapper<>(); queryWrapper.eq("promulgator_id",teacherId); queryWrapper.eq("is_deleted",1); + queryWrapper.orderByDesc("create_time"); return baseMapper.selectPage(page,queryWrapper); } -- Gitee