YxySendCountDao.java
752 字节
package com.espeed.yxy.dao;
import java.util.List;
import com.espeed.yxy.pojo.YxySendCount;
/**
* 客户发送邮件的统计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;
/**SQL查询*/
public List<Object> findBySqlQuery(String sql)throws Exception;
/**HQL更新*/
public void updateByHql(String hql)throws Exception;
}