From 15a71ada8f34d31285400e9502182c62d2996708 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 14 一月 2026 15:22:25 +0800
Subject: [PATCH] fix: 取消直接连表,物料属性单查字典项过滤后当参数传递

---
 inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml b/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
index fdeb4af..c91b2c0 100644
--- a/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsUnqualifiedHandlerMapper.xml
@@ -40,6 +40,7 @@
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>
+        order by id desc
     </select>
     <select id="findById" resultType="com.ruoyi.inspect.vo.UnqualifiedHandlerVO">
         select * from (select

--
Gitblit v1.9.3