package com.stylefeng.guns.modular.crossCity.server; import com.baomidou.mybatisplus.service.IService; import com.stylefeng.guns.modular.crossCity.model.Line; import java.util.List; import java.util.Map; public interface ILineService extends IService { /** * 根据站点id获取线路数据 * @param startId * @param endId * @return * @throws Exception */ List> queryLines(Integer startId, Integer endId, Integer driverId) throws Exception; /** * 根据站点id获取线路数据 * @param driverId * @return * @throws Exception */ List> scanCodeQueryLines(Integer driverId) throws Exception; /** * 根据司机id查询当前时间之后发车的城际线路 * @param driverId * @return * @throws Exception */ List> queryFutureLinesByDriver(Integer driverId) throws Exception; /** * 根据起始站点和终点站点查询第一条线路的目的地列表 * @param startId * @param endId * @return * @throws Exception */ List> queryFirstLineDestinations(Integer startId, Integer endId) throws Exception; }