puzhibing
2023-02-15 2811bab657aab4145b65a45a824fb63e93b58e30
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
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);
}