package com.goafanti.common.dao;

import com.goafanti.common.model.JpushEasemobAccount;
import com.goafanti.common.model.JpushEasemobAccountExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JpushEasemobAccountMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	long countByExample(JpushEasemobAccountExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int deleteByExample(JpushEasemobAccountExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int insert(JpushEasemobAccount record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int insertSelective(JpushEasemobAccount record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	List<JpushEasemobAccount> selectByExample(JpushEasemobAccountExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	JpushEasemobAccount selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int updateByExampleSelective(@Param("record") JpushEasemobAccount record,
			@Param("example") JpushEasemobAccountExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int updateByExample(@Param("record") JpushEasemobAccount record,
			@Param("example") JpushEasemobAccountExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int updateByPrimaryKeySelective(JpushEasemobAccount record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jpush_easemob_account
	 * @mbg.generated  Mon Dec 25 14:46:37 CST 2017
	 */
	int updateByPrimaryKey(JpushEasemobAccount record);

	/**
	 * 根据用户查询
	 * @param uid
	 * @return
	 */
	JpushEasemobAccount selectSynAccByUid(String uid);
}