c5a8a029d9a85d459be300a9115be346bd70af09.svn-base 742 字节
package yxy.timer.dao.impl;

import java.util.List;

import yxy.timer.dao.YxySendMailMasterDao;
import yxy.timer.pojo.YxySendMailMaster;

/*
 * 邮件dao实现类
 */
public class YxySendMailMasterDaoImpl extends HibernateBaseDAOImpl<YxySendMailMaster, Long> implements YxySendMailMasterDao{
	//查询邮件
	public List<YxySendMailMaster> findByHql(String hql) throws Exception {		
		return super.getAll(hql);
	}
	//批量更新实体
	public void updateByMaster(List<YxySendMailMaster> o) throws Exception {
		super.addPi(o);
	}
	
	//sql查询
	public List<Object> findbysql(String sql)throws Exception{
		return super.findBySql(sql);
	}

	//sql更新
	public void updatebysql(String sql)throws Exception{
		super.updateorDelSql(sql);
	}
}