Class CoinAccountServiceImpl
java.lang.Object
io.github.seenings.coin.service.impl.CoinAccountServiceImpl
- All Implemented Interfaces:
CoinAccountService
币账户
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccountIdToAccountType(Set<Long> accountIds) 根据账户ID获取账户类型accountTypeToAccountId(Set<Integer> accountTypeIds) createAccount(AccountType accountType) 生成账户
-
Constructor Details
-
CoinAccountServiceImpl
public CoinAccountServiceImpl()
-
-
Method Details
-
accountTypeToAccountId
- Specified by:
accountTypeToAccountIdin interfaceCoinAccountService
-
accountIdToAccountType
根据账户ID获取账户类型- Specified by:
accountIdToAccountTypein interfaceCoinAccountService- Parameters:
accountIds- 账户ID- Returns:
- 账户ID对应账户类型
-
createAccount
生成账户- Specified by:
createAccountin interfaceCoinAccountService- Parameters:
accountType- 账户类型- Returns:
- 账户ID
-