package com.platform.yijia.dao;

import com.platform.yijia.pojo.StationOilPrice;
import com.platform.yijia.pojo.StationOilPriceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StationOilPriceMapper {

    //查询油站油品价格
    StationOilPrice getStationOilPrice(StationOilPrice stationOilPrice);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    long countByExample(StationOilPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int deleteByExample(StationOilPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer oilPriceId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int insert(StationOilPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int insertSelective(StationOilPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    List<StationOilPrice> selectByExample(StationOilPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    StationOilPrice selectByPrimaryKey(Integer oilPriceId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") StationOilPrice record, @Param("example") StationOilPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") StationOilPrice record, @Param("example") StationOilPriceExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(StationOilPrice record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_price
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(StationOilPrice record);
}
