zj
2025-05-28 bcd36411feb0351347289476eb7ee9e5dd1c3b9d
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
package project.monitor.withdraw;
 
import java.util.List;
 
public interface AutoMonitorWithdrawService {
 
    /**
     * 更新
     * 
     * @param withdraw
     */
    public void update(AutoMonitorWithdraw withdraw);
 
 
    /**
     * 查找订单 order_no 订单号
     * 
     * @return
     */
    public AutoMonitorWithdraw findByOrderNo(String order_no);
 
    /**
     * 后台管理员通过提现
     */
 
    public boolean saveSucceeded(AutoMonitorWithdraw withdraw);
 
    /**
     * 
     * @param 驳回申请
     */
    public boolean saveReject(AutoMonitorWithdraw withdraw);
 
    /**
     * 当日提现订单
     */
    public List<AutoMonitorWithdraw> findAllByDate(String partyId);
 
    /**
     * 获取其他通道的手续费
     * 
     * @param volume 提现数量
     * @return
     */
    public double getOtherChannelWithdrawFee(double volume);
 
    /**
     * 当周已使用额度
     * 
     * @param partyId
     * @param withdrawVolumn
     * @return
     */
    public double weekWithdraw(String partyId);
 
    public List<AutoMonitorWithdraw> findAllByStateAndPartyId(int state, String partyId);
 
    /**
     * 转换申请
     * 
     * @param withdraw
     */
    public void saveExchangeApply(AutoMonitorWithdraw withdraw);
    
    /**
     * 手续费计算
     * @param partyId
     * @param volume
     * @param close
     * @return
     */
    public double feeOfExchange(String partyId,double volume,double close);
 
}