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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
package com.stylefeng.guns.modular.crossCity.server;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.crossCity.model.LineSite;
import com.stylefeng.guns.modular.crossCity.warpper.SiteWarpper;
 
import java.util.List;
import java.util.Map;
 
public interface ILineSiteService extends IService<LineSite> {
 
 
    /**
     * 根据线路获取排班数据
     * @param lineId
     * @param day
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryDriver(Integer lineId, String day, Integer driverId) throws Exception;
 
 
    /**
     * 根据司机排班数据id获取数据(剩余座位号和总座位数)
     * @param id
     * @return
     * @throws Exception
     */
    Map<String, Object> querySeat(Integer id) throws Exception;
 
 
    /**
     * 获取线路班次及司机预约情况
     * @param lineId
     * @param time
     * @param driverId
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryLineShiftInfo(Integer lineId, String time, Integer driverId) throws Exception;
 
 
 
    /**
     * 获取所有站点
     * @return
     * @throws Exception
     */
    List<SiteWarpper> querySite(Integer startSiteId) throws Exception;
 
 
 
    /**
     * 根据站点获取地点区域数据
     * @param siteId
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryLocation(Integer siteId) throws Exception;
 
 
    /**
     * 判断坐标点是否在站点范围内
     * @param siteId
     * @param code
     * @param lonLat
     * @return
     * @throws Exception
     */
    boolean areaMonitoring(Integer siteId, String code, String lonLat) throws Exception;
}