longz
2026-06-04 da780b14b8db78043d2c0f27d3bfd73111e6d550
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
package com.stylefeng.guns.modular.crossCity.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.crossCity.model.LineSite;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
public interface LineSiteMapper extends BaseMapper<LineSite> {
 
 
    /**
     * 获取线路排班数据
     * @param lineId
     * @param day
     * @return
     */
    List<Map<String, Object>> queryDriver(@Param("lineId") Integer lineId, @Param("day") Date day,
                                          @Param("driverId") Integer driverId);
 
    /**
     * 根据司机自建行程id获取司机排班展示数据
     * @param selfTripId
     * @param day
     * @param driverId
     * @return
     */
    List<Map<String, Object>> queryDriverBySelfTripId(@Param("selfTripId") Integer selfTripId, @Param("day") Date day,
                                                       @Param("driverId") Integer driverId);
 
    /**
     * 根据司机id查询企业是否开启选座(1=是,2=否)
     * @param driverId 司机id
     * @return 开关值
     */
    Integer queryChooseSeatByDriverId(@Param("driverId") Integer driverId);
}