package yxy.timer.dao; import java.util.List; import yxy.timer.pojo.YxySendMailMasterBase; /*** * * @author 谢勇 * 营销邮件dao */ public interface YxySendMailMasterBaseDao { /**实体插入*/ public int addPojo(YxySendMailMasterBase o)throws Exception; /**实体编辑*/ public void updatePojo(YxySendMailMasterBase o)throws Exception; /**HQL查询*/ public List<YxySendMailMasterBase> findByHql(String hql)throws Exception; /**指定条记录*/ public List<YxySendMailMasterBase> findByHqlSet(String hql,int num)throws Exception; /**SQL查询*/ public List<Object> findBySqlQuery(String sql)throws Exception; /**HQL更新*/ public void updateByHql(String hql)throws Exception; }