package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseWarehouse;
import com.bailuntec.domain.example.DcBaseWarehouseExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    List<String> listWmsStockWarehouse();
}