| | |
| | | import com.supersavedriving.driver.modular.system.service.IOrderService; |
| | | import com.supersavedriving.driver.modular.system.service.IRevenueService; |
| | | import com.supersavedriving.driver.modular.system.warpper.CommissionListWarpper; |
| | | import com.supersavedriving.driver.modular.system.warpper.PerformanceRankingWarpper; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | } |
| | | return list; |
| | | } |
| | | |
| | | /** |
| | | * 获取司机总收入 |
| | | * @param driverId |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @Override |
| | | public Double queryTotalAmount(Integer driverId) throws Exception { |
| | | return this.baseMapper.queryTotalAmount(driverId); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 获取司机佣金收入排行 |
| | | * @param time |
| | | * @param dayType |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<PerformanceRankingWarpper> queryDriverRank(Integer type, String time, Integer dayType) { |
| | | return this.baseMapper.queryDriverRank(type, time, dayType); |
| | | } |
| | | } |