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
package com.stylefeng.guns.modular.account.service;
 
import com.baomidou.mybatisplus.service.IService;
import com.stylefeng.guns.modular.cloudPayment.req.AllocationReq;
import com.stylefeng.guns.modular.cloudPayment.req.WithdrawalReq;
import com.stylefeng.guns.modular.system.model.UserWithdrawal;
import com.unionpay.upyzt.resp.CusApplicationResp;
 
public interface UserWithdrawalService extends IService<UserWithdrawal> {
 
    /**
     * 封装司机进件返回的数据
     * @param cusApplicationResp
     */
    void cusApplicationRespToUserWithdrawal(UserWithdrawal userWithdrawal,CusApplicationResp cusApplicationResp);
 
    /**
     * 封装分账实体
     * @param balanceAcctId 收款方电子账簿
     * @param companyBalanceAcctId 付款方电子账簿
     * @param amount 金额
     * @return
     */
    AllocationReq createAllocationReq(String balanceAcctId, String companyBalanceAcctId, Integer amount,String password);
 
    /**
     * 封装提现实体
     * @param balanceAcctId 体现账户电子账簿
     * @param amount 金额
     * @param password 密码
     * @param code 银行账号
     * @return
     */
    WithdrawalReq createWithdrawalReq(String balanceAcctId, Integer amount, String password, String code);
 
    /**
     * 司机提现
     * @param amount
     * @param bankAcctNo
     * @param withdrawPassword
     */
    Boolean withdrawDeposit(Integer amount, String bankAcctNo, String withdrawPassword);
 
}