Exemple #1
0
 public PageBean getPageBean(int pageNum, int pageSize, QueryHelper queryHelper) {
   return consumerDao.getPageBean(pageNum, pageSize, queryHelper);
 }
Exemple #2
0
 public void update(Consumer consumer) {
   consumerDao.update(consumer);
 }
Exemple #3
0
 public Consumer getById(Long id) {
   return consumerDao.getById(id);
 }
Exemple #4
0
 public void save(Consumer consumer) {
   consumerDao.save(consumer);
 }
Exemple #5
0
 public void delete(Long id) {
   consumerDao.delete(id);
 }
Exemple #6
0
 public List<Consumer> findAll() {
   return consumerDao.findAll();
 }