YxyMarketingPlanDao.java
786 字节
package com.espeed.dao;
import java.util.List;
import com.espeed.pojo.YxyMarketingPlan;
import com.espeed.vo.PageBean;
public interface YxyMarketingPlanDao {
/**实体插入*/
public int addPojo(YxyMarketingPlan o)throws Exception;
/**实体编辑*/
public void updatePojo(YxyMarketingPlan o)throws Exception;
/**HQL查询*/
public List<YxyMarketingPlan> findByHql(String hql)throws Exception;
/**指定条记录*/
public List<YxyMarketingPlan> findByHqlSet(String hql,int num)throws Exception;
/**HQL查询分页*/
public List<YxyMarketingPlan> 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;
}