public PageBean getPageBean(int pageNum, int pageSize, QueryHelper queryHelper) { return consumerDao.getPageBean(pageNum, pageSize, queryHelper); }
public void update(Consumer consumer) { consumerDao.update(consumer); }
public Consumer getById(Long id) { return consumerDao.getById(id); }
public void save(Consumer consumer) { consumerDao.save(consumer); }
public void delete(Long id) { consumerDao.delete(id); }
public List<Consumer> findAll() { return consumerDao.findAll(); }