package com.stylefeng.guns.modular.crossCity.server;
|
|
import com.baomidou.mybatisplus.service.IService;
|
import com.stylefeng.guns.modular.crossCity.model.LineShiftDriver;
|
import com.stylefeng.guns.modular.crossCity.warpper.DriverShiftListWarpper;
|
import com.stylefeng.guns.modular.crossCity.warpper.LineShiftItemWarpper;
|
import com.stylefeng.guns.modular.crossCity.warpper.OtherDriverShiftWarpper;
|
import com.stylefeng.guns.modular.crossCity.warpper.ScanOrderDetailWarpper;
|
import com.stylefeng.guns.modular.system.util.ResultUtil;
|
|
import java.util.List;
|
|
public interface ILineShiftDriverService extends IService<LineShiftDriver> {
|
|
|
/**
|
* 预约班次操作
|
* @param lineShiftId
|
* @param time
|
* @param driverId
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil reservation(Integer type, Integer lineShiftId, String time, Integer driverId) throws Exception;
|
|
/**
|
* 【202601】查询司机排班列表
|
* @param driverId 司机id
|
* @param date 日期(yyyy-MM-dd),为空则默认当天
|
* @return
|
* @throws Exception
|
*/
|
DriverShiftListWarpper queryDriverShiftList(Integer driverId, String date) throws Exception;
|
|
/**
|
* 【202604】查询司机本人已领取/被分配的排班列表(今天及之后)
|
* @param driverId 司机id
|
* @param date 日期(yyyy-MM-dd),为空查今天及之后,不为空查当天
|
* @param pageNum 页码(首页1)
|
* @param size 每页条数
|
* @return 排班列表
|
* @throws Exception
|
*/
|
List<LineShiftItemWarpper> queryMyDriverShiftList(Integer driverId, String date, Integer pageNum, Integer size) throws Exception;
|
|
/**
|
* 【202604】根据司机排班id查询同班次其他司机信息
|
* @param driverShiftId 司机排班id
|
* @return 其他司机列表
|
* @throws Exception
|
*/
|
List<OtherDriverShiftWarpper> queryOtherDriverShiftListWithShiftId(Long driverShiftId) throws Exception;
|
/**
|
* 【202601】查询班次详情
|
* @param lineShiftDriverId 班次id
|
* @return
|
* @throws Exception
|
*/
|
ResultUtil<ScanOrderDetailWarpper> getDetail(Integer lineShiftDriverId);
|
}
|