package com.goafanti.common.dao;

import com.goafanti.common.model.ScMessage;
import com.goafanti.common.model.ScMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ScMessageMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	long countByExample(ScMessageExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int deleteByExample(ScMessageExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int insert(ScMessage record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int insertSelective(ScMessage record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	List<ScMessage> selectByExample(ScMessageExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	ScMessage selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int updateByExampleSelective(@Param("record") ScMessage record, @Param("example") ScMessageExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int updateByExample(@Param("record") ScMessage record, @Param("example") ScMessageExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int updateByPrimaryKeySelective(ScMessage record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sc_message
	 * @mbg.generated  Tue Jun 26 18:28:15 CST 2018
	 */
	int updateByPrimaryKey(ScMessage record);
}