Pu Zhibing
6 天以前 4c99ee7028c3fe58a2cd4b8273b22c75c45574fc
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
package com.stylefeng.guns.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.system.model.Withdrawal;
import com.stylefeng.guns.modular.system.util.ResultUtil;
 
import java.util.List;
import java.util.Map;
 
public interface IWithdrawalService extends IService<Withdrawal> {
 
 
    /**
     * 提现操作
     * @param money
     * @param uid
     * @throws Exception
     */
    ResultUtil withdrawal(Double money, Integer uid, Integer type, String remark, Integer language) throws Exception;
 
 
    /**
     * 获取历史提交数据
     * @param uid
     * @return
     * @throws Exception
     */
    List<Map<String, Object>> queryWithdrawal(Integer language, Integer uid, Integer type, Integer state, Integer pageNum, Integer size) throws Exception;
 
 
    /**
     * 提交审核处理
     * @param id
     * @param state
     * @return
     * @throws Exception
     */
    ResultUtil withdrawalAudit(Integer id, Integer state, Integer language) throws Exception;
    
    
    /**
     * 获提现总额
     * @param uid
     * @return
     * @throws Exception
     */
    Double queryWithdrawalSum(Integer uid, Integer type) throws Exception;
}