From 9f052ad68599a13c63b07dc225464cdc11f28e48 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期二, 02 六月 2026 11:23:05 +0800
Subject: [PATCH] fix: 若产品结构投入与产出品都是自己,且比例为1,这种情况不需要领料

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