You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

76 lines
2.0 KiB

package com.ruoyi.system.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ruoyi.system.domain.RouteWaypoints;
/**
* 航线具体航点明细Mapper接口
*
* @author ruoyi
* @date 2026-01-21
*/
public interface RouteWaypointsMapper
{
/**
* 查询航线具体航点明细
*
* @param id 航线具体航点明细主键
* @return 航线具体航点明细
*/
public RouteWaypoints selectRouteWaypointsById(Long id);
/**
* 查询航线具体航点明细列表
*
* @param routeWaypoints 航线具体航点明细
* @return 航线具体航点明细集合
*/
public List<RouteWaypoints> selectRouteWaypointsList(RouteWaypoints routeWaypoints);
/** 查询指定航线下最大的序号 */
public Integer selectMaxSeqByRouteId(Long routeId);
/** 将指定航线中 seq >= targetSeq 的航点序号均加 1,用于在指定位置插入新航点 */
int incrementSeqFrom(@Param("routeId") Long routeId, @Param("seq") Long targetSeq);
/**
* 新增航线具体航点明细
*
* @param routeWaypoints 航线具体航点明细
* @return 结果
*/
public int insertRouteWaypoints(RouteWaypoints routeWaypoints);
/**
* 修改航线具体航点明细
*
* @param routeWaypoints 航线具体航点明细
* @return 结果
*/
public int updateRouteWaypoints(RouteWaypoints routeWaypoints);
/**
* 删除航线具体航点明细
*
* @param id 航线具体航点明细主键
* @return 结果
*/
public int deleteRouteWaypointsById(Long id);
/**
* 删除航线具体航点明细
*
* @param routeId 航线主键
* @return 结果
*/
public int deleteRouteWaypointsByRouteId(Long routeId);
/**
* 批量删除航线具体航点明细
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteRouteWaypointsByIds(Long[] ids);
}