package com.aircraft.modules.route.service;

import com.aircraft.modules.route.domain.CpRoute;
import com.aircraft.modules.route.domain.dto.CpRouteDTO;
import com.aircraft.modules.route.domain.dto.CpRouteVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 路线表 服务类
 * </p>
 *
 * @author cli
 * @since 2025-07-10
 */
public interface CpRouteService extends IService<CpRoute> {

    void updateDelFlagById(Long id, Integer delFlag);

    IPage<CpRouteVo> findByPage(Page<CpRouteVo> page, CpRouteDTO cpRouteDTO);

    /**
     * 获取所有路线信息
     *
     * @return  List<CpRoute>
     */
    List<CpRoute> obtainAllRoutes();
}
