YxyMarketingWeekDaoImpl.java
641 字节
package com.espeed.yxy.dao.impl;
import java.util.List;
import com.espeed.yxy.dao.YxyMarketingWeekDao;
import com.espeed.yxy.pojo.YxyMarketingWeek;
public class YxyMarketingWeekDaoImpl extends HibernateBaseDAOImpl<YxyMarketingWeek, Long> implements YxyMarketingWeekDao {
/**HQL查询*/
public List<YxyMarketingWeek> findByHql(String hql)throws Exception{
return super.getAll(hql);
}
/**指定条记录*/
public List<YxyMarketingWeek> findByHqlSet(String hql,int num)throws Exception{
return super.findBySet(hql, num);
}
/**HQL更新*/
public void updateByHql(String hql) throws Exception {
super.updateorDelByHql(hql);
}
}