package com.bailuntec.mapper;

import com.bailuntec.domain.entity.DcAutoStockUpRange;
import com.bailuntec.domain.example.DcAutoStockUpRangeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

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

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

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

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

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

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

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

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

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

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

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

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

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