package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseEbaySkuRatio;
import com.bailuntec.domain.example.DcBaseEbaySkuRatioExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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