xuhy
2024-05-28 5470d21a35286abe41fafc25a7deaabefd7c55da
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
package com.stylefeng.guns.modular.system.dao;
 
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.stylefeng.guns.modular.system.model.LineShiftDriver;
import org.apache.ibatis.annotations.Param;
 
import java.util.Date;
import java.util.List;
import java.util.Map;
 
public interface LineShiftDriverMapper extends BaseMapper<LineShiftDriver> {
 
    /**
     * 获取预约数据
     * @param lineShiftId
     * @param driverId
     * @param time
     * @return
     */
    List<LineShiftDriver> query(@Param("lineShiftId") Integer lineShiftId, @Param("driverId") Integer driverId,
                                @Param("time") Date time) ;
 
 
    /**
     * 获取没有预约给定日期班次的司机
     * @param lineShiftId
     * @param time
     * @return
     */
    List<Map<String, Object>> queryNotInLineShiftDriver(@Param("lineShiftId") Integer lineShiftId, @Param("time") Date time);
}