b0f50ba442a7d7074c326fcc4534e0f54858c934.svn-base 1.4 KB
package com.espeed.yxy.dao.impl;

import java.util.List;

import com.espeed.yxy.dao.YxySmtpSuffixSetDao;
import com.espeed.yxy.pojo.YxySendMailDetail;
import com.espeed.yxy.pojo.YxySmtpSuffixSet;
/**
 * 程序名称:    	EspeedMail_时速邮箱
 * 程序版本:    	V1.0
 * 作    者:    	深圳市科飞时速网络技术有限公司(0755-88843776)
 * 版权所有:    	深圳市科飞时速网络技术有限公司
 * 技术支持:    	Tech@21gmail.com
 * 单元名称:     SMTP 后缀设置信息Dao实现类(营销游)
 * 开始时间:    	2013.12.09
 * 程 序 员:    	谢勇
 * 最后修改:    
 * 备    注:		如需修改请通知程序员    
 */
public class YxySmtpSuffixSetDaoImpl extends HibernateBaseDAOImpl<YxySmtpSuffixSet,Long> implements YxySmtpSuffixSetDao{

	/**批量插入*/
	public void addPiPojo(List<YxySmtpSuffixSet> o)throws Exception{
		super.addPi(o);
	}
	
	/**实体添加*/
	public int addPojo(YxySmtpSuffixSet o)throws Exception{
		return super.add(o);
	}
	
	/**HQL查询*/
	public List<YxySmtpSuffixSet> findByHql(String hql)throws Exception{
		return super.getAll(hql);
	}

	/**SQL查询*/
	public List<Object> findbysql(String sql)throws Exception{
		return super.findBySql(sql);
	}
	
	/**SQL更新*/
	public void updateBySql(String sql)throws Exception{
		super.updateorDelBySql(sql);
	}
	
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception{
		super.updateorDelByHql(hql);
	}
}