From 4902c7d078f26da752169048b5700fb667aac92c Mon Sep 17 00:00:00 2001
From: chenrui <1187576398@qq.com>
Date: 星期四, 13 三月 2025 13:51:24 +0800
Subject: [PATCH] bug解决

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

diff --git a/basic-server/src/main/resources/mapper/StandardTreeMapper.xml b/basic-server/src/main/resources/mapper/StandardTreeMapper.xml
index 2b426b4..7eafed8 100644
--- a/basic-server/src/main/resources/mapper/StandardTreeMapper.xml
+++ b/basic-server/src/main/resources/mapper/StandardTreeMapper.xml
@@ -329,6 +329,7 @@
         <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''">
             ${ew.customSqlSegment}
         </if>
+        ORDER BY declare_date DESC
     </select>
     <select id="selectIfsInventoryQuantity" resultType="com.ruoyi.basic.dto.IfsInventoryQuantityCheckDto">
         SELECT * from ifs_inventory_quantity ifs

--
Gitblit v1.9.3