YxyLinkInfoDaoImpl.java 904 字节
package com.espeed.dao.impl;
 
import java.util.List;
import com.espeed.dao.YxyLinkInfoDao;
import com.espeed.pojo.YxyLinkInfo;

public class YxyLinkInfoDaoImpl extends HibernateBaseDAOImpl<YxyLinkInfo, Long> implements YxyLinkInfoDao{
	/**实体插入*/
	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> findBySqlQuery(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);
	}
}