Class AccountService

java.lang.Object
org.mybatis.jpetstore.service.AccountService

@Service public class AccountService extends Object
The Class AccountService.
Author:
Eduardo Macarron
  • Constructor Details

    • AccountService

      public AccountService(AccountMapper accountMapper)
  • Method Details

    • getAccount

      public Account getAccount(String username)
    • getAccount

      public Account getAccount(String username, String password)
    • insertAccount

      @Transactional public void insertAccount(Account account)
      Insert account.
      Parameters:
      account - the account
    • updateAccount

      @Transactional public void updateAccount(Account account)
      Update account.
      Parameters:
      account - the account