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;
|
|
/**
|
* <p>
|
* 提现记录表(司机/用户) 服务类
|
* </p>
|
*
|
* @author 吕雪
|
* @since 2020-06-09
|
*/
|
public interface ITPubWithdrawalService extends IService<TPubWithdrawal> {
|
|
/**
|
* 根据条件查询提现列表
|
* @return
|
*/
|
List<Map<String,Object>> getWithdrawalList(@Param("page") Page<Map<String, Object>> 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<Map<String,Object>> getReportWithdrawalList(@Param("page") Page<Map<String, Object>> page,
|
@Param("beginTime") String beginTime,
|
@Param("endTime") String endTime,
|
@Param("userId") String userId);
|
List<Map<String,Object>> getReportWithdrawalListEx(
|
@Param("beginTime") String beginTime,
|
@Param("endTime") String endTime,
|
@Param("userId") String userId);
|
|
/**
|
* 统计
|
* @param beginTime
|
* @param endTime
|
* @param userId
|
* @return
|
*/
|
Map<String,Object> 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<String, Object> 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<String, Object> 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);
|
|
}
|