| | |
| | | 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; |
| | | |
| | |
| | | com.doumee.dao.vo.DriverCenterVO getDriverCenterInfo(Integer memberId); |
| | | |
| | | /** |
| | | * 司机累计统计(累计佣金、待结算佣金、订单总数、钱包余额) |
| | | */ |
| | | com.doumee.dao.vo.DriverStatsVO getDriverStats(Integer memberId); |
| | | |
| | | /** |
| | | * 司机抢单大厅 - 分页查询可抢订单 |
| | | * |
| | | * @param memberId 当前登录会员主键 |
| | |
| | | */ |
| | | void confirmDeliver(Integer driverId, DriverDeliverDTO dto); |
| | | |
| | | /** |
| | | * 司机修改密码 |
| | | * |
| | | * @param driverId 司机主键 |
| | | * @param newPassword 新密码 |
| | | * @param token 当前token(修改成功后清除) |
| | | */ |
| | | void changePassword(Integer driverId, String newPassword, String token); |
| | | |
| | | /** |
| | | * 获取司机进行中订单数量 |
| | | * |
| | | * @param driverId 司机主键 |
| | | * @return 进行中订单数量 |
| | | */ |
| | | 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); |
| | | |
| | | } |