package com.goafanti.common.dao;

import com.goafanti.common.model.JtMessageProducer;
import com.goafanti.common.model.JtMessageProducerExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface JtMessageProducerMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int countByExample(JtMessageProducerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int deleteByExample(JtMessageProducerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int deleteByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int insert(JtMessageProducer record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int insertSelective(JtMessageProducer record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	List<JtMessageProducer> selectByExample(JtMessageProducerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	JtMessageProducer selectByPrimaryKey(String id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int updateByExampleSelective(@Param("record") JtMessageProducer record,
			@Param("example") JtMessageProducerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int updateByExample(@Param("record") JtMessageProducer record,
			@Param("example") JtMessageProducerExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int updateByPrimaryKeySelective(JtMessageProducer record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table jt_message_producer
	 * @mbggenerated  Wed Aug 29 09:46:33 CST 2018
	 */
	int updateByPrimaryKey(JtMessageProducer record);

	int addBatch(List<JtMessageProducer> list);
	
	List<JtMessageProducer> getMyMessageList(String create);
}