xuhy
2025-01-09 712f70b2936079a131ecb1e63c6d337171618cad
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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);
 
}