66114fc536996faffbc49ef23e31ff1421583a14.svn-base 704 字节
package com.espeed.dao;

import java.util.List;

import com.espeed.centre.pojo.CentreLogin;

/***
 * 
 * @author 谢勇
 * 登录dao接口
 */
public interface CentreLoginDao {
	/**实体插入*/
	public int addPojo(CentreLogin o)throws Exception;
	/**实体编辑*/
	public void updatePojo(CentreLogin o)throws Exception;
	/**HQL查询*/
	public List<CentreLogin> findByHql(String hql)throws Exception;
	/**SQL查询*/
	public List<Object> findBySqlFind(String sql)throws Exception;
	/**HQL更新*/
	public void updateByHql(String hql)throws Exception;
	/**sql更新*/
	public void updateBySql(String sql)throws Exception;
	/**HQL查询数量*/
	public int findByHqlCount(String hql)throws Exception;
}