package com.goafanti.common.dao;

import com.goafanti.common.model.MessageFromBusiness;
import com.goafanti.common.model.MessageFromBusinessExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MessageFromBusinessMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	long countByExample(MessageFromBusinessExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int deleteByExample(MessageFromBusinessExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int insert(MessageFromBusiness record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int insertSelective(MessageFromBusiness record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	List<MessageFromBusiness> selectByExample(MessageFromBusinessExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	MessageFromBusiness selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByExampleSelective(@Param("record") MessageFromBusiness record,
			@Param("example") MessageFromBusinessExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByExample(@Param("record") MessageFromBusiness record,
			@Param("example") MessageFromBusinessExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByPrimaryKeySelective(MessageFromBusiness record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table message_from_business
	 * @mbg.generated  Mon Dec 25 18:55:04 CST 2017
	 */
	int updateByPrimaryKey(MessageFromBusiness record);
}