Interface AccountService
public interface AccountService
-
Method Summary
Modifier and TypeMethodDescriptionvoidinsertBeanAccount(Account account) selectBeanAccountById(int no)
-
Method Details
-
selectBeanAccountById
@Select("select ACC_ID as id, ACC_FIRST_NAME as firstName, ACC_LAST_NAME as lastName, ACC_EMAIL as emailAddress from ACCOUNT where ACC_ID = #{id}") Account selectBeanAccountById(@Param("id") int no) -
selectBeanAllAccounts
-
insertBeanAccount
@Insert("insert into ACCOUNT (ACC_ID,ACC_FIRST_NAME,ACC_LAST_NAME,ACC_EMAIL) values (#{id}, #{firstName}, #{lastName}, #{emailAddress})") void insertBeanAccount(Account account)
-