From 0dc953b5cb037762fb3eeed15ecca0b925ebe148 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期四, 23 三月 2023 00:13:27 +0800 Subject: [PATCH] 新增加司机端接口 --- driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IOrderService.java | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 47 insertions(+), 0 deletions(-) diff --git a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IOrderService.java b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IOrderService.java index a205622..77e1a5a 100644 --- a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IOrderService.java +++ b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IOrderService.java @@ -1,9 +1,13 @@ package com.supersavedriving.driver.modular.system.service; import com.baomidou.mybatisplus.service.IService; +import com.supersavedriving.driver.modular.system.warpper.*; import com.supersavedriving.driver.modular.system.model.Order; import com.supersavedriving.driver.modular.system.util.ResultUtil; import com.supersavedriving.driver.modular.system.warpper.*; +import com.supersavedriving.driver.modular.system.warpper.AddOrderWarpper; +import com.supersavedriving.driver.modular.system.warpper.HallOrderList; +import com.supersavedriving.driver.modular.system.warpper.OrderInfoWarpper; import java.util.List; @@ -149,4 +153,47 @@ * @throws Exception */ ResultUtil setOrderStatus(Integer uid, Long orderId, Integer state) throws Exception; + + + /** + * 获取司机的订单列表 + * @param driverId + * @param state + * @param pageNum + * @param pageSize + * @return + * @throws Exception + */ + List<DriverOrderListWarpper> queryDriverOrderList(Integer driverId, Integer state, Integer pageNum, Integer pageSize) throws Exception; + + + /** + * 司机邀请列表 + * @param driverId + * @param time + * @param pageNum + * @param pageSize + * @return + * @throws Exception + */ + List<InviteListWarpper> queryInviteList(Integer driverId, String time, Integer pageNum, Integer pageSize) throws Exception; + + + /** + * 获取业绩汇总数据 + * @param driverId + * @return + * @throws Exception + */ + PerformanceSummaryWarpper queryPerformanceSummary(Integer driverId, Integer type, String time, Integer dayType) throws Exception; + + + /** + * 获取我的业绩 + * @param driverId + * @param time + * @return + * @throws Exception + */ + List<MyAchievementWarpper> queryMyAchievement(Integer driverId, String time) throws Exception; } -- Gitblit v1.7.1