From 034caf00a6b6bbc83fbb60b021546f83eecd639f Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Wed, 17 Dec 2025 07:45:04 +0800
Subject: [PATCH] 2025-12-16 zwy 优化机场开盖时,不让重启机场。要关盖重启
---
ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml | 15 +++++++++------
1 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
index e715a66..94af829 100644
--- a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
+++ b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
@@ -8,7 +8,7 @@
<result property="id" column="id" />
<result property="name" column="name" />
<result property="path" column="path" />
- <result property="path1" column="path1" />
+<!-- <result property="path1" column="path1" />-->
<result property="groupId" column="group_id" />
<result property="type" column="type" />
<result property="aircraft" column="aircraft" />
@@ -26,7 +26,7 @@
select id,
name,
path,
- path1,
+<!-- path1,-->
group_id,
type,
aircraft,
@@ -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}
@@ -68,7 +71,7 @@
<if test="id != null">id,</if>
<if test="name != null">name,</if>
<if test="path != null">path,</if>
- <if test="path1 != null">path1,</if>
+<!-- <if test="path1 != null">path1,</if>-->
<if test="groupId != null">group_id,</if>
<if test="type != null">type,</if>
<if test="aircraft != null">aircraft,</if>
@@ -85,7 +88,7 @@
<if test="id != null">#{id},</if>
<if test="name != null">#{name},</if>
<if test="path != null">#{path},</if>
- <if test="path1 != null">#{path1},</if>
+<!-- <if test="path1 != null">#{path1},</if>-->
<if test="groupId != null">#{groupId},</if>
<if test="type != null">#{type},</if>
<if test="aircraft != null">#{aircraft},</if>
@@ -105,7 +108,7 @@
<trim prefix="SET" suffixOverrides=",">
<if test="name != null">name = #{name},</if>
<if test="path != null">path = #{path},</if>
- <if test="path1 != null">path1 = #{path1},</if>
+<!-- <if test="path1 != null">path1 = #{path1},</if>-->
<if test="groupId != null">group_id = #{groupId},</if>
<if test="type != null">type = #{type},</if>
<if test="aircraft != null">aircraft = #{aircraft},</if>
@@ -145,7 +148,7 @@
</delete>
<select id="selectArdRouteInfoByGroupId" parameterType="String" resultMap="ArdRouteInfoResult">
- select id,name,path,path1,group_id,type,aircraft,payload,read_only,create_by,create_time,update_by,update_time,point_count from ard_route_info
+ select id,name,path,group_id,type,aircraft,payload,read_only,create_by,create_time,update_by,update_time,point_count from ard_route_info
<where>
<if test="groupId != null "> and group_id = #{groupId}</if>
</where>
--
Gitblit v1.9.3