Class CoinAccountServiceImpl

java.lang.Object
io.github.seenings.coin.service.impl.CoinAccountServiceImpl
All Implemented Interfaces:
io.github.seenings.account.service.CoinAccountService

@Repository public class CoinAccountServiceImpl extends Object implements io.github.seenings.account.service.CoinAccountService
币账户
  • Constructor Details

    • CoinAccountServiceImpl

      public CoinAccountServiceImpl()
  • Method Details

    • accountTypeToAccountId

      public Map<Integer, List<Long>> accountTypeToAccountId(Set<Integer> accountTypeIds)
      Specified by:
      accountTypeToAccountId in interface io.github.seenings.account.service.CoinAccountService
    • accountIdToAccountType

      public Map<Long, io.github.seenings.coin.enumeration.AccountType> accountIdToAccountType(Set<Long> accountIds)
      根据账户ID获取账户类型
      Specified by:
      accountIdToAccountType in interface io.github.seenings.account.service.CoinAccountService
      Parameters:
      accountIds - 账户ID
      Returns:
      账户ID对应账户类型
    • createAccount

      public Long createAccount(io.github.seenings.coin.enumeration.AccountType accountType)
      生成账户
      Specified by:
      createAccount in interface io.github.seenings.account.service.CoinAccountService
      Parameters:
      accountType - 账户类型
      Returns:
      账户ID