-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBalanceSvc.java
More file actions
38 lines (29 loc) · 946 Bytes
/
Copy pathBalanceSvc.java
File metadata and controls
38 lines (29 loc) · 946 Bytes
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 deep.zero.svc;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import deep.zero.bean.Balance;
/*
* 账户余额类
* 此类用以记录玩家的存取款记录,及最新的balane
* 需要实现的功能包括:
*
*
*/
public interface BalanceSvc {
// 银行到账户
public void BankToAccount(Balance balance,String accountId);
// free账户到G账户或是G账户到free账户
public void add(Balance fromBalance,Balance toBalance);
// 账户余额
public BigDecimal freeAccount(Long playerId,Long accId);
// 总余额
public BigDecimal ALLAcount(Long playerId,Long accId);
// 从账户到卡上
public void AccountToBank(Balance balance,String accountId);
//查询所有
public List<Balance> findAll();
// 查询主账户信息
public List<Balance> findFreeBalanceByAccountId(Long accountId,
Date weekStartTime, Date weekEndTime);
}