package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoConfigSkuWarehouse;
import com.bailuntec.domain.example.DcAutoConfigSkuWarehouseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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