package yxy.timer.dao.impl; import java.util.List; import yxy.timer.dao.YxyLinkInfoSaleDao; import yxy.timer.sale.YxyLinkInfo; public class YxyLinkInfoSaleDaoImpl extends SaleHibernateBaseDAOImpl<YxyLinkInfo, Long> implements YxyLinkInfoSaleDao{ /**实体插入*/ public int addPojo(YxyLinkInfo reply)throws Exception{ return super.add(reply); } /**查询指定量数据*/ public List<YxyLinkInfo> findByHqlSet(String hql,int num)throws Exception { return super.findBySet(hql, num); } /**统计条数*/ public int count(String hql)throws Exception { return super.count(hql); } /**根据sql查询*/ public List<Object> findBySql(String sql)throws Exception { return super.findBySql(sql); } /**hql更新*/ public void updateByHql(String hql)throws Exception { super.updateorDelByHql(hql); } /**实体编辑*/ public void updatePojo(YxyLinkInfo o)throws Exception{ super.update(o); } }