From 2db7fd950e7c821fc2a048b51f50c6dbfcceed29 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 27 五月 2026 11:10:02 +0800
Subject: [PATCH] 修改排序
---
src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml b/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
index 5f646ad..06acc33 100644
--- a/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
+++ b/src/main/resources/mapper/collaborativeApproval/NoticeMapper.xml
@@ -11,11 +11,12 @@
and n.title like concat('%',#{ew.title},'%')
</if>
<if test="ew.type != null">
- and n.type = #{ew.type}
+ and n.type = #{ew.type}
</if>
<if test="ew.status != null">
and n.status = #{ew.status}
</if>
</where>
+ order by n.create_time desc
</select>
-</mapper>
\ No newline at end of file
+</mapper>
--
Gitblit v1.9.3