package com.goafanti.common.dao;

import com.goafanti.common.model.UserFollow;
import com.goafanti.common.model.UserFollowExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserFollowMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	long countByExample(UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int deleteByExample(UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int insert(UserFollow record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int insertSelective(UserFollow record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	List<UserFollow> selectByExample(UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	UserFollow selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int updateByExampleSelective(@Param("record") UserFollow record, @Param("example") UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int updateByExample(@Param("record") UserFollow record, @Param("example") UserFollowExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int updateByPrimaryKeySelective(UserFollow record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table user_follow
	 * @mbg.generated  Sat Oct 10 10:18:15 CST 2020
	 */
	int updateByPrimaryKey(UserFollow record);


	int pushUserGuidance(@Param("id")String id, @Param("guidance")Integer guidance);

	
}