2c40595f770469aa8aeeb74e0a3a26d571e245ed.svn-base 933 字节
package yxy.timer.dao.impl;

import java.util.List;

import yxy.timer.dao.YxyMailNumCountDao;
import yxy.timer.pojo.YxyMailNumCount;

public class YxyMailNumCountDaoImpl extends HibernateBaseDAOImpl<YxyMailNumCount, Long> implements YxyMailNumCountDao{
	/**实体插入*/
	public int addPojo(YxyMailNumCount o)throws Exception{
		return super.add(o);
	}
	/**实体编辑*/
	public void updatePojo(YxyMailNumCount o)throws Exception{
		super.update(o);
	}
	/**HQL查询*/
	public List<YxyMailNumCount> findByHql(String hql)throws Exception{
		return super.getAll(hql);
	}
	/**指定条记录*/
	public List<YxyMailNumCount> findByHqlSet(String hql,int num)throws Exception{
		return super.findBySet(hql, num);
	}
	/**SQL查询*/
	public List<Object> findBySqlQuery(String sql)throws Exception{
		return super.findBySql(sql);
	}
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception{
		super.updateorDelByHql(hql);
	}
}