package com.espeed.dao; import java.util.List; import com.espeed.pojo.YxySendCount; import com.espeed.vo.PageBean; /** * 客户发送邮件的统计Dao * @author 陈南巧 */ public interface YxySendCountDao { /**实体插入*/ public int addPojo(YxySendCount o)throws Exception; /**实体编辑*/ public void updatePojo(YxySendCount o)throws Exception; /**HQL查询*/ public List<YxySendCount> findByHql(String hql)throws Exception; /**HQL数量查询*/ public int findByHqlCount(String hql)throws Exception; /**指定条记录*/ public List<YxySendCount> findByHqlSet(String hql,int num)throws Exception; /**HQL查询分页*/ public List<YxySendCount> 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; }