package com.platform.yijia.dao;

import com.platform.yijia.pojo.StationInfo;
import com.platform.yijia.pojo.StationInfoExample;
import java.util.List;
import java.util.Map;

import com.platform.yijia.pojo.StationPic;
import org.apache.ibatis.annotations.Param;

public interface StationInfoMapper {

    //获取油站信息
    StationInfo selectStationInfo(StationInfo stationInfo);
    //获取油站的打印机
    List<Map<String, Object>> getStationPrinterList(Integer stationId);

    //获取油站轮播图片
    List<StationPic> getStationPicList (StationPic stationPic);

    //获取油站公告
    Map<String, Object> getStationNoticeInfo(Integer stationId);

    //获取该油站的优惠方式
    String getStationDiscountWay(String stationId);

    //获取小程序APPID和APPSECRET
    Map<String, String> getStationAppIdAndAppSecret(Integer stationId);

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_info
     *
     * @mbg.generated
     */
    List<StationInfo> selectByExampleWithBLOBs(StationInfoExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_info
     *
     * @mbg.generated
     */
    StationInfo selectByPrimaryKey(Integer stationId);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_info
     *
     * @mbg.generated
     */
    int updateByExampleWithBLOBs(@Param("record") StationInfo record, @Param("example") StationInfoExample example);

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table station_info
     *
     * @mbg.generated
     */
    int updateByPrimaryKeyWithBLOBs(StationInfo record);

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