024db5aabd41274e22fcfc47dfa0f4a24ca7a772.svn-base
1.0 KB
package yxy.timer.dao.impl;
import java.util.List;
import yxy.timer.dao.YxyUnsubscribeInfoSaleDao;
import yxy.timer.sale.YxyUnsubscribeInfo;
public class YxyUnsubscribeInfoSaleDaoImpl extends SaleHibernateBaseDAOImpl<YxyUnsubscribeInfo, Long> implements YxyUnsubscribeInfoSaleDao{
/**HQL查询*/
public List<YxyUnsubscribeInfo> findByHql(String hql) throws Exception {
return super.getAll(hql);
}
/**查询指定量数据*/
public List<YxyUnsubscribeInfo> findByHqlSet(String hql,int num)throws Exception{
return super.findBySet(hql, num);
}
/**批量插入退订信息*/
public void insertUnPi(List<YxyUnsubscribeInfo> o) throws Exception {
super.addPi(o);
}
/**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 int insertUn(YxyUnsubscribeInfo o)throws Exception{
return super.add(o);
}
public int findByHqlCount(String hql)throws Exception{
return super.count(hql);
}
}