package com.platform.yijia.dao;

import com.platform.yijia.pojo.StationOilGun;
import com.platform.yijia.pojo.StationOilGunExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface StationOilGunMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_gun
     *
     * @mbg.generated
     */
    long countByExample(StationOilGunExample example);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_oil_gun
     *
     * @mbg.generated
     */
    StationOilGun selectByPrimaryKey(Integer oilGunId);

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

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

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

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


    //根据油站Id油枪号获取打印机编号
    Map<String, Object> getPrinterSnByStationIdAndOilGunNo(Map<String, Object> params);

}