edcaab353ce8bff77916b608aa812fa98b12f482.svn-base 1.2 KB
package yxy.timer.dao.impl;

import java.util.List;
import yxy.timer.dao.YxyReadingDayInfoDao;
import yxy.timer.pojo.YxyReadingDayInfo;

/**
 * 
 * @author 谢勇
 * 今日点读信息dao
 */
public class YxyReadingDayInfoDaoImpl extends HibernateBaseDAOImpl<YxyReadingDayInfo, Long> implements YxyReadingDayInfoDao {

	/**实体插入*/
	public int addPojo(YxyReadingDayInfo o)throws Exception{
		return super.add(o);
	}
	/**实体插入*/
	public void addPojoPi(List<YxyReadingDayInfo> list)throws Exception{
		super.addPi(list);
	}
	/**实体编辑*/
	public void updatePojo(YxyReadingDayInfo o)throws Exception{
		super.update(o);
	}
	/**HQL查询*/
	public List<YxyReadingDayInfo> findByHql(String hql)throws Exception{
		return super.getAll(hql);
	}
	/**SQL查询*/
	public List<Object> findBySqlQuery(String sql)throws Exception{
		return super.findBySql(sql);
	}
	/**SQL更新*/
	public void updateBySql(String sql)throws Exception{
		super.updateorDelSql(sql);
	}
	/**指定条记录*/
	public List<YxyReadingDayInfo> findByHqlSet(String hql,int num)throws Exception{
		return super.findBySet(hql, num);
	}
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception{
		super.updateorDelByHql(hql);
	}
}