From 0083a82a5c090e2d75c6cafa5a686632b381c586 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Fri, 12 Dec 2025 08:57:37 +0800
Subject: [PATCH] 1. 测试航线修改发现bug。

---
 ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
index e715a66..8d5f081 100644
--- a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
+++ b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
@@ -51,6 +51,9 @@
             <if test="path != null  and path != ''"> and path = #{path}</if>
             <if test="groupId != null"> and group_id = #{groupId}</if>
         </where>
+        <if test="orderByTime == null and orderByTime == ''">
+            ORDER BY update_time DESC
+        </if>
         <!-- 动态排序 -->
         <if test="orderByTime != null and orderByTime != ''">
             ORDER BY update_time ${orderByTime}

--
Gitblit v1.9.3