package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseEbaySkuMapping;
import com.bailuntec.domain.example.DcBaseEbaySkuMappingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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