package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcBaseStockOut;
import com.bailuntec.domain.example.DcBaseStockOutExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    int selectCount(@Param("bailunSku")String bailunSku, @Param("warehouseCode") String warehouseCode);
}