admin
2019-03-21 0e8e5917dfc650ed6731f9b5d9b068484a365f83
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
package com.yeshi.fanli.dao.mybatis;
 
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.entity.bus.user.Extract;
 
public interface ExtractMapper {
    int deleteByPrimaryKey(Long configId);
 
    int insert(Extract record);
 
    int insertSelective(Extract record);
 
    Extract selectByPrimaryKey(Long configId);
 
    Extract selectByPrimaryKeyForUpdate(Long configId);
 
    int updateByPrimaryKeySelective(Extract record);
 
    int updateByPrimaryKey(Extract record);
 
    List<Integer> checkExtract(String uid);
 
    Map<String, Object> getTodayCount();
 
    /**
     * 统计今日提现成功金额
     */
    BigDecimal getTodayTotalSuccessMoney();
 
    /**
     * 统计成功的次数、总金额
     * 
     * @return
     */
    Map<String, Object> countTotalSuccess();
 
    /**
     * 查询当前客服待处理
     * 
     * @param start
     * @param count
     * @param title
     * @param state
     * @return
     */
    Extract getMyTaskInfo(@Param("adminId") Long adminId);
 
    /**
     * 查询当前客服新处理任务
     * 
     * @param start
     * @param count
     * @param title
     * @param state
     * @return
     */
    Extract getNewTaskInfo();
 
    /**
     * 查询当前客服待处理
     * 
     * @param start
     * @param count
     * @param title
     * @param state
     * @return
     */
    Map<String, Object> countRecordsByUid(@Param("uid") Long uid);
 
    double countSuccessMoneysByUid(@Param("uid") Long uid);
 
    long countSuccessByUid(@Param("uid") Long uid);
 
    List<Map<String, Object>> getFinishRecord(@Param("start") long start, @Param("count") int count,
            @Param("key") String key, @Param("startTime") String startTime, @Param("endTime") String endTime);
 
    /**
     * 统计今日提现申请次数
     * 
     * @return
     */
    int countTodayApply();
 
    /**
     * 统计今日已处理提现数量
     * 
     * @return
     */
    int countTodayComplete();
 
    double countTodayMoney(@Param("uid") Long uid);
 
    /**
     * 获取补偿金额
     * 
     * @param uid
     * @return
     */
    BigDecimal computeCompensateByUid(Long uid);
}