5b592d6d9635f2d6801139a8dc1645169793868e.svn-base 741 字节
package yxy.timer.dao;

import java.util.List;

import yxy.timer.pojo.YxyReadingInfo;

/*
 * 点读DAO
 */
public interface YxyReadDao 
{
	/**HQL查询*/
	public List<YxyReadingInfo> findByHql(String hql)throws Exception;
	/**插入*/
	public int insertRead(YxyReadingInfo o)throws Exception;
	/**批量插入*/
	public void insertReadPi(List<YxyReadingInfo> o)throws Exception;
	/**HQL查询指定条数据*/
	public List findByHqlNum(String hql)throws Exception;
	
	public int findByHqlCount(String hql)throws Exception;
	/**sql查询*/
	public List<Object> findBySql(String sql) throws Exception;
	/**sql更新*/
	public void updateSql(String sql) throws Exception;
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception;
}