/**
 * Company Name : 中贸促信息技术有限责任公司
 * Project Name:memberManageSys
 * File Name:UserEmailDao.java
 * Package Name:ccpit.base.user
 * Date:2015年11月23日上午9:44:39
 * Copyright (c) 2015, dingwei@ccpit.org All Rights Reserved.
 *
*/

package org.ccpit.base.user;

import org.ccpit.base.dao.BaseDao;
import org.springframework.stereotype.Repository;

/**
 * ClassName:UserEmailDao <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Reason:	 TODO ADD REASON. <br/>
 * Date:     2015年11月23日 上午9:44:39 <br/>
 * @author   dingwei
 * @version  
 * @since    JDK 1.6
 * @see 	 
 */
@Repository
public class UserEmailDao extends BaseDao<UserEmail> {
	public UserEmail queryByUserId(Long userId){
		return this.findUnique("from UserEmail u where u.userId="+userId, null);
	}
	
}

