@SuppressWarnings("unchecked") @Override public List<TShopImage> findAll(Class<?> clazz) { return (List<TShopImage>) shopImageDao.findAll(clazz); }
@Override public void deleteByEncryption(String id) { TShopImage shopImage = shopImageDao.findByEncryption(id); shopImageDao.delete(shopImage); }
@Override public int findAllCount(Class<?> clazz, PagerParam param) { return shopImageDao.findAllCount(clazz, param); }
@Override public List<TFileInfo> findFileByShopId(Integer shopId) { return shopImageDao.findFileByShopId(shopId); }
@Override public Object findById(String id) { return shopImageDao.findById(TShopImage.class, id); }
@Override public void update(Object object) { shopImageDao.update(object); }
@Override public void delete(String id) { shopImageDao.delete(shopImageDao.findById(TShopImage.class, id)); }
@Override public void save(Object object) { shopImageDao.save(object); }
@Override public List<?> findAll(Class<?> clazz, PagerParam param) { return shopImageDao.findAll(clazz, param); }