From bb8cdc0ec9e92e3b6e15692fbfff72822156f680 Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Thu, 13 Nov 2025 13:32:41 +0800
Subject: [PATCH] 1.修改分组表名。 2.修改航线信息表字段名。
---
ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml b/ard-route/src/main/resources/mapper/ArdRouteInfoMapper.xml
index c5ed37c..bf931bc 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="upPath" column="up_path" />
- <result property="groupingId" column="grouping_id" />
+ <result property="GroupId" column="grouping_id" />
<result property="type" column="type" />
<result property="aircraft" column="aircraft" />
<result property="payload" column="payload" />
@@ -59,7 +59,7 @@
<if test="id != null">id,</if>
<if test="name != null">name,</if>
<if test="upPath != null">up_path,</if>
- <if test="groupingId != null">grouping_id,</if>
+ <if test="GroupId != null">grouping_id,</if>
<if test="type != null">type,</if>
<if test="aircraft != null">aircraft,</if>
<if test="payload != null">payload,</if>
@@ -74,7 +74,7 @@
<if test="id != null">#{id},</if>
<if test="name != null">#{name},</if>
<if test="upPath != null">#{upPath},</if>
- <if test="groupingId != null">#{groupingId},</if>
+ <if test="GroupId != null">#{GroupId},</if>
<if test="type != null">#{type},</if>
<if test="aircraft != null">#{aircraft},</if>
<if test="payload != null">#{payload},</if>
@@ -121,24 +121,24 @@
where file_name = #{fileName}
</select>
- <delete id="deleteRouteInforByGroupingIds" parameterType="String">
+ <delete id="deleteRouteInforByGroupIds" parameterType="String">
delete from ard_route_info where grouping_id in
<foreach item="groupingIId" collection="array" open="(" separator="," close=")">
#{groupingIId}
</foreach>
</delete>
- <select id="selectArdRouteInfoByGroupingId" parameterType="String" resultMap="ArdRouteInfoResult">
+ <select id="selectArdRouteInfoByGroupId" parameterType="String" resultMap="ArdRouteInfoResult">
select id,name,up_path,grouping_id,type,aircraft,payload,is_import,create_by,create_time,update_by,update_time from ard_route_info
<where>
- <if test="groupingId != null "> and grouping_id = #{groupingId}</if>
+ <if test="GroupId != null "> and grouping_id = #{GroupId}</if>
</where>
</select>
- <update id="updateRouteInforGroupingId">
+ <update id="updateRouteInforGroupId">
update ard_route_info
<trim prefix="SET" suffixOverrides=",">
- <if test="groupingId != null">grouping_id = #{groupingId},</if>
+ <if test="GroupId != null">grouping_id = #{GroupId},</if>
</trim>
where id = #{id}
</update>
--
Gitblit v1.9.3