d6e9a88ee6775d3ae88096d714e3c8c26cc6c3e7.svn-base
819 字节
package com.espeed.dao;
import java.util.List;
import com.espeed.pojo.YxyMailStencil;
import com.espeed.vo.PageBean;
/***
*
* @author 谢勇
* 邮件模版
*/
public interface YxyMailStencilDao {
/**实体插入*/
public int addPojo(YxyMailStencil o)throws Exception;
/**实体编辑*/
public void updatePojo(YxyMailStencil o)throws Exception;
/**HQL查询*/
public List<YxyMailStencil> findByHql(String hql)throws Exception;
/**指定条记录*/
public List<YxyMailStencil> findByHqlSet(String hql,int num)throws Exception;
/**HQL查询分页*/
public List<YxyMailStencil> 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;
}