package com.goafanti.common.dao;

import com.goafanti.common.model.OfficialFeePrice;
import com.goafanti.common.model.OfficialFeePriceExample;
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  Thu Sep 10 11:49:00 CST 2020
	 */
	long countByExample(OfficialFeePriceExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int deleteByExample(OfficialFeePriceExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int deleteByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int insert(OfficialFeePrice record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int insertSelective(OfficialFeePrice record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	List<OfficialFeePrice> selectByExample(OfficialFeePriceExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	OfficialFeePrice selectByPrimaryKey(Integer id);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int updateByExampleSelective(@Param("record") OfficialFeePrice record,
			@Param("example") OfficialFeePriceExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int updateByExample(@Param("record") OfficialFeePrice record, @Param("example") OfficialFeePriceExample example);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int updateByPrimaryKeySelective(OfficialFeePrice record);

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table official_fee_price
	 * @mbg.generated  Thu Sep 10 11:49:00 CST 2020
	 */
	int updateByPrimaryKey(OfficialFeePrice record);

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


	OfficialFeePrice selectBytype(Integer type);
}