longz
2026-07-02 c788ca1640f080f821cb1cbe07da741302d355ef
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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);
 
    /**
     * 根据司机id查询当前时间之后发车的城际线路
     * @param driverId
     * @return
     */
    List<Map<String, Object>> queryFutureLinesByDriver(@Param("driverId") Integer driverId);
 
    /**
     * 根据线路id查询目的地列表
     * @param lineId
     * @return
     */
    List<Map<String, Object>> queryLineDestinations(@Param("lineId") Integer lineId);
 
    /**
     * 根据目的地id查询目的地
     * @param id
     * @param lineId
     * @return
     */
    Map<String, Object> queryLineDestinationById(@Param("id") Integer id, @Param("lineId") Integer lineId);
 
    /**
     * 根据线路id查询线路包车价格
     * @param lineId
     * @return
     */
    Map<String, Object> queryLineCharterPrices(@Param("lineId") Integer lineId);
}