package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcExchangeRate;
import com.bailuntec.domain.example.DcExchangeRateExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_exchange_rate
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    DcExchangeRate selectOneByExample(DcExchangeRateExample example);

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_exchange_rate
     *
     * @mbg.generated
     */
    DcExchangeRate selectByPrimaryKey(Integer id);

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_exchange_rate
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsert(DcExchangeRate record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_exchange_rate
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    int upsertSelective(DcExchangeRate record);
}