From e597d3460451e164d9caa7127b7aa4098db1ad29 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Thu, 13 Nov 2025 14:16:00 +0800
Subject: [PATCH] 1.grouping修改group。 2.groupingName修改groupName。 3.表ard_route_grouping修改ard_route_group。 4.upPath修改path。 5.

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

diff --git a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
index 934b404..a10104f 100644
--- a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
+++ b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
@@ -7,8 +7,8 @@
     <resultMap type="ArdRouteInfo" id="ArdRouteInfoResult">
         <result property="id"    column="id"    />
         <result property="name"    column="name"    />
-        <result property="upPath"    column="up_path"    />
-        <result property="GroupId"    column="grouping_id"    />
+        <result property="path"    column="path"    />
+        <result property="groupId"    column="group_id"    />
         <result property="type"    column="type"    />
         <result property="aircraft"    column="aircraft"    />
         <result property="payload"    column="payload"    />
@@ -23,8 +23,8 @@
     <sql id="selectArdRouteInfoVo">
         select id,
                name,
-               up_path,
-               grouping_id,
+               path,
+               group_id,
                type,
                aircraft,
                payload,
@@ -44,7 +44,7 @@
             <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="upPath != null  and upPath != ''"> and up_path = #{upPath}</if>
+            <if test="path != null  and path != ''"> and path = #{path}</if>
         </where>
     </select>
     
@@ -58,8 +58,8 @@
         <trim prefix="(" suffix=")" suffixOverrides=",">
             <if test="id != null">id,</if>
             <if test="name != null">name,</if>
-            <if test="upPath != null">up_path,</if>
-            <if test="GroupId != null">grouping_id,</if>
+            <if test="path != null">path,</if>
+            <if test="GroupId != null">group_id,</if>
             <if test="type != null">type,</if>
             <if test="aircraft != null">aircraft,</if>
             <if test="payload != null">payload,</if>
@@ -73,7 +73,7 @@
         <trim prefix="values (" suffix=")" suffixOverrides=",">
             <if test="id != null">#{id},</if>
             <if test="name != null">#{name},</if>
-            <if test="upPath != null">#{upPath},</if>
+            <if test="path != null">#{path},</if>
             <if test="GroupId != null">#{GroupId},</if>
             <if test="type != null">#{type},</if>
             <if test="aircraft != null">#{aircraft},</if>
@@ -91,7 +91,7 @@
         update ard_route_info
         <trim prefix="SET" suffixOverrides=",">
             <if test="name != null">name = #{name},</if>
-            <if test="upPath != null">up_path = #{upPath},</if>
+            <if test="path != null">path = #{path},</if>
             <if test="type != null">type = #{type},</if>
             <if test="aircraft != null">aircraft = #{aircraft},</if>
             <if test="payload != null">payload = #{payload},</if>
@@ -122,23 +122,23 @@
     </select>
 
     <delete id="deleteRouteInforByGroupIds" parameterType="String">
-        delete from ard_route_info where grouping_id in
-        <foreach item="groupingIId" collection="array" open="(" separator="," close=")">
-            #{groupingIId}
+        delete from ard_route_info where group_id in
+        <foreach item="groupId" collection="array" open="(" separator="," close=")">
+            #{groupId}
         </foreach>
     </delete>
 
     <select id="selectArdRouteInfoByGroupId" parameterType="String" resultMap="ArdRouteInfoResult">
-        select id,name,up_path,grouping_id,type,aircraft,payload,read_only,create_by,create_time,update_by,update_time from ard_route_info
+        select id,name,path,group_id,type,aircraft,payload,read_only,create_by,create_time,update_by,update_time from ard_route_info
         <where>
-            <if test="GroupId != null "> and grouping_id = #{GroupId}</if>
+            <if test="groupId != null "> and group_id = #{groupId}</if>
         </where>
     </select>
 
     <update id="updateRouteInforGroupId">
         update ard_route_info
         <trim prefix="SET" suffixOverrides=",">
-            <if test="GroupId != null">grouping_id = #{GroupId},</if>
+            <if test="groupId != null">group_id = #{groupId},</if>
         </trim>
         where id = #{id}
     </update>

--
Gitblit v1.9.3