| | |
| | | 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; |
| | | |
| | |
| | | * @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); |
| | | } |