| | |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.dto.DriverActiveOrderDTO; |
| | | import com.doumee.dao.dto.DriverGrabOrderDTO; |
| | | import com.doumee.dao.dto.DriverOrderPageDTO; |
| | | import com.doumee.dao.business.model.DriverInfo; |
| | | import com.doumee.dao.dto.DriverLoginRequest; |
| | | import com.doumee.dao.dto.DriverDeliverDTO; |
| | |
| | | import com.doumee.dao.dto.DriverRegisterRequest; |
| | | import com.doumee.dao.dto.DriverVerifyRequest; |
| | | import com.doumee.dao.vo.AccountResponse; |
| | | import com.doumee.dao.vo.DriverActiveOrderCountVO; |
| | | import com.doumee.dao.vo.DriverGrabOrderVO; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 司机注册信息Service定义 |
| | |
| | | * 获取司机进行中订单数量 |
| | | * |
| | | * @param driverId 司机主键 |
| | | * @return [已抢单数量, 派送中数量] |
| | | * @return 进行中订单数量 |
| | | */ |
| | | Map<String, Integer> getActiveOrderCount(Integer driverId); |
| | | DriverActiveOrderCountVO getActiveOrderCount(Integer driverId); |
| | | |
| | | /** |
| | | * 司机订单分页查询 |
| | | * |
| | | * @param driverId 司机主键 |
| | | * @param pageWrap 分页参数(model.status: null=全部, 3=待取件, 4=配送中, 7=已完成) |
| | | * @return 分页结果 |
| | | */ |
| | | PageData<DriverGrabOrderVO> driverOrderPage(Integer driverId, PageWrap<DriverOrderPageDTO> pageWrap); |
| | | |
| | | /** |
| | | * 查询司机今日可取消次数 |
| | | * |
| | | * @param driverId 司机主键 |
| | | * @return DriverCancelLimitVO |
| | | */ |
| | | com.doumee.dao.vo.DriverCancelLimitVO getTodayCancelLimit(Integer driverId); |
| | | |
| | | } |