package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseSkuMapping;
import com.bailuntec.domain.example.DcBaseSkuMappingExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    String selectShortSiteEn(String site);
}
