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.AddSelfTripWarpper; 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; import java.util.Map; public interface ILineShiftDriverService extends IService { /** * 预约班次操作 * @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 queryMyDriverShiftList(Integer driverId, String date, Integer pageNum, Integer size) throws Exception; /** * 【202604】根据司机排班id查询同班次其他司机信息 * @param driverShiftId 司机排班id * @return 其他司机列表 * @throws Exception */ List queryOtherDriverShiftListWithShiftId(Long driverShiftId) throws Exception; /** * 【202604】新增司机自主行程 * @param driverId 司机id * @param warpper 参数 * @return lineShiftDriverId、customerId * @throws Exception */ ResultUtil> addSelfTrip(Integer driverId, AddSelfTripWarpper warpper) throws Exception; /** * 【202601】查询班次详情 * @param lineShiftDriverId 班次id * @return * @throws Exception */ ResultUtil getDetail(Integer lineShiftDriverId); }