11bc36c94564eceae7d68f906b0baf07b128abbe.svn-base 859 字节
package yxy.timer.dao.impl;

import java.util.List;

import yxy.timer.dao.YxyReplyInfoDao;
import yxy.timer.pojo.YxyReplyInfo;

/**
 * 
 * 回复dao实现类
 *
 */
public class YxyReplyInfoDaoImpl extends HibernateBaseDAOImpl<YxyReplyInfo, Long> implements YxyReplyInfoDao{
	/**实体插入*/
	public int addPojo(YxyReplyInfo reply)throws Exception{
		return super.add(reply);
	}
	
	/**查询指定量数据*/
	public List<YxyReplyInfo> 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);
	}
}