package com.multictrl.modules.business.dao;

import com.multictrl.common.dao.BaseDao;
import com.multictrl.modules.business.entity.FlightTaskEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 飞行架次
 *
 * @author Sdy
 * @since 1.0.0 2026-05-02
 */
@Mapper
public interface FlightTaskDao extends BaseDao<FlightTaskEntity> {

    //获取最新的任务
    FlightTaskEntity getLatestRouteTask(String dockSn);

    //获取当前任务的上一条任务
    FlightTaskEntity getPreviousTask(String taskId, String dockSn);
}