From 5b1fb0ef7416092cda516c0bf4113dc94287e7cb Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Tue, 18 Nov 2025 16:53:26 +0800
Subject: [PATCH] 1.增加上传航线到边缘服务器接口。 2.增加开始航线接口。 3.增加暂停航线接口。 4.增加恢复航线接口。 5.增加结束航线接口。 6.注释修改。

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

diff --git a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
index 2b0e11e..749a0a5 100644
--- a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
+++ b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
@@ -40,12 +40,17 @@
     <select id="selectArdRouteInfoList" parameterType="ArdRouteInfo" resultMap="ArdRouteInfoResult">
         <include refid="selectArdRouteInfoVo"/>
         <where>  
-            <if test="name != null  and kmzName != ''"> and name like concat('%', #{name}, '%')</if>
+            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
             <if test="aircraft != null  and aircraft != ''"> and aircraft = #{aircraft}</if>
             <if test="payload != null  and payload != ''"> and payload = #{payload}</if>
             <if test="type != null  and type != ''"> and type = #{type}</if>
             <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 ${orderByTime}
+        </if>
     </select>
     
     <select id="selectArdRouteInfoById" parameterType="String" resultMap="ArdRouteInfoResult">

--
Gitblit v1.9.3