package com.goafanti.common.dao;

import com.goafanti.common.model.PatentPrice;
import com.goafanti.common.model.PatentPriceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PatentPriceMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    long countByExample(PatentPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int deleteByExample(PatentPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int insert(PatentPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int insertSelective(PatentPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    List<PatentPrice> selectByExample(PatentPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    PatentPrice selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int updateByExampleSelective(@Param("record") PatentPrice record, @Param("example") PatentPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int updateByExample(@Param("record") PatentPrice record, @Param("example") PatentPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int updateByPrimaryKeySelective(PatentPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table patent_price
     *
     * @mbg.generated Thu Sep 10 14:32:54 CST 2020
     */
    int updateByPrimaryKey(PatentPrice record);

	List<PatentPrice> selectlist(String name);

	PatentPrice selectBycid(Integer cid);
}