首页>代码>Spring+Spring MVC+Mybatis+Jersey+Fastjson整合RESTful API框架,适合学习RESTful API框架初学者>/NICO-DEMO-Api/src/main/java/com/nico/dao/AccountMapper.java
package com.nico.dao;
import java.util.List;
import com.nico.entities.Account;
import com.nico.entities.PagerEx;
// 帐号DAO
public interface AccountMapper {
// 查询所有帐号信息
public List<Account> getAccounts();
// 根据筛选条件查询帐号信息
public List<Account> getAccountsByFilter(PagerEx pagerEx);
// 根据accountID查询帐号信息
public Account getAccountByAccountID(String accountID);
// 创建帐号信息
public int createAccount(Account account);
// 根据accountID删除帐号信息
public int deleteAccountByAccountID(String accountID);
// 批量删除List<accountID>帐号信息
public int deleteAccountsBatch(List<String> list);
// 根据accountID更新帐号信息
public int updateAccountByAccountID(Account account);
}
最近下载更多

最近浏览