puzhibing
2023-06-03 92e00dafd06ec748b51f565c7a4c98986a618de9
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
package com.supersavedriving.driver.modular.system.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.supersavedriving.driver.modular.system.model.CashWithdrawal;
import com.supersavedriving.driver.modular.system.util.MallBook.model.InterfaceResponse;
import com.supersavedriving.driver.modular.system.util.ResultUtil;
 
 
/**
 * @author zhibing.pu
 * @date 2023/3/18 17:03
 */
public interface ICashWithdrawalService extends IService<CashWithdrawal> {
 
 
    /**
     * 司机提现申请
     * @param bankId
     * @param money
     * @return
     * @throws Exception
     */
    ResultUtil withdrawCash(Integer driverId, Integer type, Integer bankId, Double money) throws Exception;
 
 
    /**
     * 提现异步回调
     * @param interfaceResponse
     */
    void withdrawCashFZCallback(InterfaceResponse interfaceResponse);
 
 
    /**
     * 提现确认收货后的结算回调
     * @param interfaceResponse
     */
    void withdrawCashCallback(InterfaceResponse interfaceResponse);
}