package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseSku;
import com.bailuntec.domain.example.DcBaseSkuExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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