package com.stylefeng.guns.modular.system.service; import com.baomidou.mybatisplus.plugins.Page; import com.stylefeng.guns.modular.system.model.TPubWithdrawal; import com.baomidou.mybatisplus.service.IService; import org.apache.ibatis.annotations.Param; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import java.util.List; import java.util.Map; /** *

* 提现记录表(司机/用户) 服务类 *

* * @author 吕雪 * @since 2020-06-09 */ public interface ITPubWithdrawalService extends IService { /** * 根据条件查询提现列表 * @return */ List> getWithdrawalList(@Param("page") Page> page, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("name") String name, @Param("withdrawalType") Integer withdrawalType); /** * 提现列表-报表 * @param page * @param beginTime * @param endTime * @param userId * @return */ List> getReportWithdrawalList(@Param("page") Page> page, @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("userId") String userId); List> getReportWithdrawalListEx( @Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("userId") String userId); /** * 统计 * @param beginTime * @param endTime * @param userId * @return */ Map getSumMoney(@Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("userId") String userId); /** * 获取司机提现明细 * @param driverName * @param driverPhone * @param createTime * @param offset * @param limit * @return * @throws Exception */ Map orderWithdrawalDetailsList(String driverName, String driverPhone, String createTime, Integer offset, Integer limit) throws Exception; /** * 导出司机提现明细 * @param driverName * @param driverPhone * @param createTime * @return * @throws Exception */ HSSFWorkbook exportOrderWithdrawalDetails(String driverName, String driverPhone, String createTime) throws Exception; /** * 司机奖励提现明细 * @param driverName * @param driverPhone * @param createTime * @param offset * @param limit * @return * @throws Exception */ Map rewardWithdrawalDetailsList(String driverName, String driverPhone, String createTime, Integer offset, Integer limit) throws Exception; /** * 导出司机奖励提现明细 * @param driverName * @param driverPhone * @param createTime * @return * @throws Exception */ HSSFWorkbook exportRewardWithdrawalDetails(String driverName, String driverPhone, String createTime) throws Exception; Double getPoundage(Integer objectId); }