From 03a4584d7d58fc073649a3ef821e1b2ebc0ed6cb Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期日, 30 七月 2023 05:04:49 +0800 Subject: [PATCH] 更新管理页面 --- driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IRevenueService.java | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IRevenueService.java b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IRevenueService.java index eae1d09..4a83721 100644 --- a/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IRevenueService.java +++ b/driver/guns-admin/src/main/java/com/supersavedriving/driver/modular/system/service/IRevenueService.java @@ -3,6 +3,8 @@ import com.baomidou.mybatisplus.service.IService; import com.supersavedriving.driver.modular.system.model.Revenue; import com.supersavedriving.driver.modular.system.warpper.CommissionListWarpper; +import com.supersavedriving.driver.modular.system.warpper.PerformanceRankingWarpper; +import org.apache.ibatis.annotations.Param; import java.util.List; @@ -18,4 +20,39 @@ * @return */ List<CommissionListWarpper> queryCommissionList(Integer driverId, String time, Integer pageNum, Integer pageSize) throws Exception; + + + /** + * 获取司机总收入 + * @param driverId + * @return + * @throws Exception + */ + Double queryTotalAmount(Integer driverId) throws Exception; + + + + /** + * 获取司机佣金收入排行 + * @param time + * @param dayType + * @return + */ + List<PerformanceRankingWarpper> queryDriverRank(Integer type, String time, Integer dayType); + + + /** + * 获取代理商账户余额 + * @param companyId + * @return + */ + Double queryAgentBalance(Integer companyId); + + + + /** + * 获取平台账户余额 + * @return + */ + Double queryCompanyBalance(); } -- Gitblit v1.7.1