liujie
2025-08-26 8598b95c1023355ca40c351cbc5046e01b826156
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.stylefeng.guns.modular.crossCity.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.crossCity.model.Line;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
import java.util.Map;
 
public interface LineMapper extends BaseMapper<Line> {
 
 
    /**
     * 根据站点id获取匹配的线路数据
     * @param siteId
     * @param type
     * @return
     */
    List<Map<String, Object>> queryLines(@Param("siteId") Integer siteId, @Param("type")Integer type);
 
 
    /**
     * 根据司机id获取线路
     * @param driverId
     * @return
     */
    List<Map<String, Object>> scanCodeQueryLines(@Param("driverId") Integer driverId);
 
    List<Map<String, Object>> queryLinesByStopoverIds(@Param("stopoverIds")List<Integer> stopoverIds, @Param("type")Integer type);
}