package com.goafanti.common.dao;

import com.goafanti.common.model.PatentNewLog;
import com.goafanti.common.model.PatentNewLogExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatentNewLogMapper {

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	long countByExample(PatentNewLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int deleteByExample(PatentNewLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int insert(PatentNewLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int insertSelective(PatentNewLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	List<PatentNewLog> selectByExample(PatentNewLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	PatentNewLog selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int updateByExampleSelective(@Param("record") PatentNewLog record, @Param("example") PatentNewLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int updateByExample(@Param("record") PatentNewLog record, @Param("example") PatentNewLogExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int updateByPrimaryKeySelective(PatentNewLog record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table patent_new_log
	 * @mbg.generated  Wed Apr 24 13:38:43 CST 2019
	 */
	int updateByPrimaryKey(PatentNewLog record);

	void insertLogBatch(List<PatentNewLog> list);

	List<PatentNewLog> selectPatentNewLog(Integer id);
}