package com.weichat.service;

import java.util.List;

import com.weichat.model.User;

/**
 * ÓÃ»§ÒµÎñ½Ó¿Ú
 * 
 * 
 * ÏîÄ¿Ãû³Æ£ºWeiChat ÀàÃû³Æ£ºBaseDaoImpl.java ÀàÃèÊö£ºTODO ´´½¨ÈË£ºÍõ¾§ ´´½¨Ê±¼ä£º2016-6-20 ÉÏÎç11:30:04
 * ÐÞ¸ÄÈË£ºÍõ¾§ ÐÞ¸ÄÊ±¼ä£º2016-6-20 ÉÏÎç11:30:04 ÐÞ¸Ä±¸×¢£º
 * 
 * FreeHuman Soft Team
 * 
 * @version 1.0 Beta
 */
public interface UserService extends BaseService<User, Double> {
	List<User> findAllService();

	Boolean addUser(User user);

	User findUserByOpenId(String openId);

	/**
	 * ¸ù¾Ý¶à¸ö¸ú½øÈË±àºÅ²éÑ¯¶à¸ö¸ú½øÈËÐÅÏ¢.
	 * 
	 * @param genJinRenIds
	 * @return
	 */
	List<User> findUsersByIdsService(String[] genJinRenIds);

	/**
	 * ¸ù¾Ý²Ù×÷ÈË±àºÅ²éÕÒÓÃ»§ÐÅÏ¢.
	 * 
	 * @param operateCode
	 * @return
	 */
	User findUserByOperateCodeService(Double operateCode);
}