puzhibing
2023-06-03 92e00dafd06ec748b51f565c7a4c98986a618de9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package com.supersavedriving.driver.modular.system.service;
 
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;
 
public interface IRevenueService extends IService<Revenue> {
 
 
    /**
     * 获取司机佣金记录
     * @param driverId
     * @param time
     * @param pageNum
     * @param pageSize
     * @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);
}