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
| 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<Line> {
|
|
| /**
| * 根据站点id获取线路数据
| * @param startId
| * @param endId
| * @return
| * @throws Exception
| */
| List<Map<String, Object>> queryLines(Integer startId, Integer endId, Integer driverId) throws Exception;
|
|
|
| /**
| * 根据站点id获取线路数据
| * @param driverId
| * @return
| * @throws Exception
| */
| List<Map<String, Object>> scanCodeQueryLines(Integer driverId) throws Exception;
|
| /**
| * 根据司机id查询当前时间之后发车的城际线路
| * @param driverId
| * @return
| * @throws Exception
| */
| List<Map<String, Object>> queryFutureLinesByDriver(Integer driverId) throws Exception;
|
| /**
| * 根据起始站点和终点站点查询第一条线路的目的地列表
| * @param startId
| * @param endId
| * @return
| * @throws Exception
| */
| List<Map<String, Object>> queryFirstLineDestinations(Integer startId, Integer endId) throws Exception;
| }
|
|