private AccountMapper accountMapper;
@Override
public PaginationResult<Account> accountList(Integer page, Integer pageSize) {
// 设置分页信息
final PaginationCriteria criteria = new PaginationCriteria();
criteria.setStart((page - 1) * pageSize);
criteria.setNumber(pageSize);
// 返回请求页的信息列表
return accountMapper.pageAccounts(criteria);
}