0b46ffc435d93d65818bf10be8a59cd49f3b3a08.svn-base 1.4 KB
package com.espeed.dao;

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

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

	/**实体插入*/
	public int addPojo(YxySendFilter o)throws Exception;
	/**实体编辑*/
	public void updatePojo(YxySendFilter o)throws Exception;
	/**HQL查询*/
	public List<YxySendFilter> findByHql(String hql)throws Exception;
	/**HQL查询数量*/
	public int findByHqlCount(String hql)throws Exception;
	/**HQL查询分页*/
	public List<YxySendFilter> 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;
	
//	/**查询发送过滤分组所有类别*/
//	public List<YxySendFilter> findFilterAll(String loginid,String domain)throws Exception;
//	/**添加*/
//	public void addFilter(YxySendFilter o)throws Exception;	
//	/**hql编辑*/
//	public void updateByHql(String hql)throws Exception;
	
}