package com.goafanti.common.dao;

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

public interface OfficialFeePriceMapper {
    /**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Fri Jul 16 11:30:10 CST 2021
	 */
	int deleteByPrimaryKey(Integer id);


	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Fri Jul 16 11:30:10 CST 2021
	 */
	int insert(OfficialFeePrice record);


	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Fri Jul 16 11:30:10 CST 2021
	 */
	int insertSelective(OfficialFeePrice record);


	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Fri Jul 16 11:30:10 CST 2021
	 */
	OfficialFeePrice selectByPrimaryKey(Integer id);


	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Fri Jul 16 11:30:10 CST 2021
	 */
	int updateByPrimaryKeySelective(OfficialFeePrice record);


	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Fri Jul 16 11:30:10 CST 2021
	 */
	int updateByPrimaryKey(OfficialFeePrice record);


	List<OfficialFeePrice> selectListByname(@Param("name")String name);


	OfficialFeePrice selectBytype(@Param("type")Integer type,@Param("patentType")Integer patentType);


	OfficialFeePrice countOfficialFeePrice(OfficialFeePrice o);
}