package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseSkuSimpleCategory;
import com.bailuntec.domain.example.DcBaseSkuSimpleCategoryExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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