Xiajijian
2025-11-17 2705061ebd89a2ad3fd4186251d2e36d86c4bb21
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">