YxyReadingInfoDao.java 2.2 KB
package com.espeed.dao;

import java.util.List;
import com.espeed.pojo.YxyReadingInfo;
import com.espeed.vo.PageBean;

/**
 * 程序名称:    	EspeedMail_时速邮箱
 * 程序版本:    	V1.0
 * 作    者:    	深圳市科飞时速网络技术有限公司(0755-88843776)
 * 版权所有:    	深圳市科飞时速网络技术有限公司
 * 技术支持:    	Tech@21gmail.com
 * 单元名称:     点读实体(营销游)
 * 开始时间:    	2013.12.09
 * 程 序 员:    	谢勇
 * 最后修改:    
 * 备    注:		如需修改请通知程序员    
 */
public interface YxyReadingInfoDao {

//	/**批量插入点读信息*/
//	public void insertReadPi(List<YxyReadingInfo> o)throws Exception;
//	/**查询点读详细*/
//	public List<YxyReadingInfo> findReadInfo(String loginid,String doamin,String mailUID)throws Exception;	
//	/**查询该用户的所有点读信息*/
//	public List<YxyReadingInfo> findRedingByUser(String loginid, String domain,PageBean pb)throws Exception;		
//	/**查询统计数据根据用户与时间*/
//	public List findCountByDate(String logindid,String domain,String date)throws Exception;
//	/**查询所有点读信息*/
//	public List<YxyReadingInfo> findReadAll(String nowdate) throws Exception;	
//	/**hql查询*/
//	public List<YxyReadingInfo> findByHql(String hql)throws Exception;	
//	/**sql查询*/
//	public List findBysql(String sql)throws Exception;
//	/**HQL更新*/
//	public void updateByHql(String hql)throws Exception;
//	/**HQL分页查询*/
//	public List<YxyReadingInfo> findByHqlPage(String hql,String hqlcount,PageBean pb)throws Exception;
	
	
	/**实体插入*/
	public int addPojo(YxyReadingInfo o)throws Exception;
	/**实体编辑*/
	public void updatePojo(YxyReadingInfo o)throws Exception;
	/**HQL查询*/
	public List<YxyReadingInfo> findByHql(String hql)throws Exception;
	/**指定条记录*/
	public List<YxyReadingInfo> findByHqlSet(String hql,int num)throws Exception;
	/**HQL查询分页*/
	public List<YxyReadingInfo> findByHqlPage(String hql,String hqlcount,PageBean pb)throws Exception;
	/**SQL查询*/
	public List<Object> findBySqlQuery(String sql)throws Exception;
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception;
	/**hql查询量*/
	public int findCountHql(String hql)throws Exception;
}