From 2016c6f7ff0def562d98472ad54013567efe2b73 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期三, 10 六月 2026 15:28:56 +0800
Subject: [PATCH] feat(approve): 添加审批实例ID精确查询条件

---
 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