package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseOmsPlatformSku;
import com.bailuntec.domain.example.DcBaseOmsPlatformSkuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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