package com.bailuntec.domain.example;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class DcBaseStockExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer offset;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer rows;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public DcBaseStockExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        DcBaseStockExample example = new DcBaseStockExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getOffset() {
        return this.offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setRows(Integer rows) {
        this.rows = rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getRows() {
        return this.rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseStockExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBailunSkuIsNull() {
            addCriterion("bailun_sku is null");
            return (Criteria) this;
        }

        public Criteria andBailunSkuIsNotNull() {
            addCriterion("bailun_sku is not null");
            return (Criteria) this;
        }

        public Criteria andBailunSkuEqualTo(String value) {
            addCriterion("bailun_sku =", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotEqualTo(String value) {
            addCriterion("bailun_sku <>", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuGreaterThan(String value) {
            addCriterion("bailun_sku >", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuGreaterThanOrEqualTo(String value) {
            addCriterion("bailun_sku >=", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuLessThan(String value) {
            addCriterion("bailun_sku <", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuLessThanOrEqualTo(String value) {
            addCriterion("bailun_sku <=", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuLike(String value) {
            addCriterion("bailun_sku like", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotLike(String value) {
            addCriterion("bailun_sku not like", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuIn(List<String> values) {
            addCriterion("bailun_sku in", values, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotIn(List<String> values) {
            addCriterion("bailun_sku not in", values, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuBetween(String value1, String value2) {
            addCriterion("bailun_sku between", value1, value2, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotBetween(String value1, String value2) {
            addCriterion("bailun_sku not between", value1, value2, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeIsNull() {
            addCriterion("warehouse_code is null");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeIsNotNull() {
            addCriterion("warehouse_code is not null");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeEqualTo(String value) {
            addCriterion("warehouse_code =", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeNotEqualTo(String value) {
            addCriterion("warehouse_code <>", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeGreaterThan(String value) {
            addCriterion("warehouse_code >", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeGreaterThanOrEqualTo(String value) {
            addCriterion("warehouse_code >=", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeLessThan(String value) {
            addCriterion("warehouse_code <", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeLessThanOrEqualTo(String value) {
            addCriterion("warehouse_code <=", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeLike(String value) {
            addCriterion("warehouse_code like", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeNotLike(String value) {
            addCriterion("warehouse_code not like", value, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeIn(List<String> values) {
            addCriterion("warehouse_code in", values, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeNotIn(List<String> values) {
            addCriterion("warehouse_code not in", values, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeBetween(String value1, String value2) {
            addCriterion("warehouse_code between", value1, value2, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andWarehouseCodeNotBetween(String value1, String value2) {
            addCriterion("warehouse_code not between", value1, value2, "warehouseCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeIsNull() {
            addCriterion("owner_code is null");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeIsNotNull() {
            addCriterion("owner_code is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeEqualTo(String value) {
            addCriterion("owner_code =", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeNotEqualTo(String value) {
            addCriterion("owner_code <>", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeGreaterThan(String value) {
            addCriterion("owner_code >", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("owner_code >=", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeLessThan(String value) {
            addCriterion("owner_code <", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeLessThanOrEqualTo(String value) {
            addCriterion("owner_code <=", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeLike(String value) {
            addCriterion("owner_code like", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeNotLike(String value) {
            addCriterion("owner_code not like", value, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeIn(List<String> values) {
            addCriterion("owner_code in", values, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeNotIn(List<String> values) {
            addCriterion("owner_code not in", values, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeBetween(String value1, String value2) {
            addCriterion("owner_code between", value1, value2, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andOwnerCodeNotBetween(String value1, String value2) {
            addCriterion("owner_code not between", value1, value2, "ownerCode");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationIsNull() {
            addCriterion("quantity_reservation is null");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationIsNotNull() {
            addCriterion("quantity_reservation is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationEqualTo(Integer value) {
            addCriterion("quantity_reservation =", value, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationNotEqualTo(Integer value) {
            addCriterion("quantity_reservation <>", value, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationGreaterThan(Integer value) {
            addCriterion("quantity_reservation >", value, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_reservation >=", value, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationLessThan(Integer value) {
            addCriterion("quantity_reservation <", value, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_reservation <=", value, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationIn(List<Integer> values) {
            addCriterion("quantity_reservation in", values, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationNotIn(List<Integer> values) {
            addCriterion("quantity_reservation not in", values, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationBetween(Integer value1, Integer value2) {
            addCriterion("quantity_reservation between", value1, value2, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityReservationNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_reservation not between", value1, value2, "quantityReservation");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportIsNull() {
            addCriterion("quantity_transport is null");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportIsNotNull() {
            addCriterion("quantity_transport is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportEqualTo(Integer value) {
            addCriterion("quantity_transport =", value, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportNotEqualTo(Integer value) {
            addCriterion("quantity_transport <>", value, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportGreaterThan(Integer value) {
            addCriterion("quantity_transport >", value, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_transport >=", value, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportLessThan(Integer value) {
            addCriterion("quantity_transport <", value, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_transport <=", value, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportIn(List<Integer> values) {
            addCriterion("quantity_transport in", values, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportNotIn(List<Integer> values) {
            addCriterion("quantity_transport not in", values, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportBetween(Integer value1, Integer value2) {
            addCriterion("quantity_transport between", value1, value2, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransportNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_transport not between", value1, value2, "quantityTransport");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferIsNull() {
            addCriterion("quantity_transfer is null");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferIsNotNull() {
            addCriterion("quantity_transfer is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferEqualTo(Integer value) {
            addCriterion("quantity_transfer =", value, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferNotEqualTo(Integer value) {
            addCriterion("quantity_transfer <>", value, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferGreaterThan(Integer value) {
            addCriterion("quantity_transfer >", value, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_transfer >=", value, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferLessThan(Integer value) {
            addCriterion("quantity_transfer <", value, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_transfer <=", value, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferIn(List<Integer> values) {
            addCriterion("quantity_transfer in", values, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferNotIn(List<Integer> values) {
            addCriterion("quantity_transfer not in", values, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferBetween(Integer value1, Integer value2) {
            addCriterion("quantity_transfer between", value1, value2, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityTransferNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_transfer not between", value1, value2, "quantityTransfer");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeIsNull() {
            addCriterion("quantity_freeze is null");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeIsNotNull() {
            addCriterion("quantity_freeze is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeEqualTo(Integer value) {
            addCriterion("quantity_freeze =", value, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeNotEqualTo(Integer value) {
            addCriterion("quantity_freeze <>", value, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeGreaterThan(Integer value) {
            addCriterion("quantity_freeze >", value, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_freeze >=", value, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeLessThan(Integer value) {
            addCriterion("quantity_freeze <", value, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_freeze <=", value, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeIn(List<Integer> values) {
            addCriterion("quantity_freeze in", values, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeNotIn(List<Integer> values) {
            addCriterion("quantity_freeze not in", values, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeBetween(Integer value1, Integer value2) {
            addCriterion("quantity_freeze between", value1, value2, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantityFreezeNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_freeze not between", value1, value2, "quantityFreeze");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierIsNull() {
            addCriterion("quantity_supplier is null");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierIsNotNull() {
            addCriterion("quantity_supplier is not null");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierEqualTo(Integer value) {
            addCriterion("quantity_supplier =", value, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierNotEqualTo(Integer value) {
            addCriterion("quantity_supplier <>", value, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierGreaterThan(Integer value) {
            addCriterion("quantity_supplier >", value, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_supplier >=", value, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierLessThan(Integer value) {
            addCriterion("quantity_supplier <", value, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_supplier <=", value, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierIn(List<Integer> values) {
            addCriterion("quantity_supplier in", values, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierNotIn(List<Integer> values) {
            addCriterion("quantity_supplier not in", values, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierBetween(Integer value1, Integer value2) {
            addCriterion("quantity_supplier between", value1, value2, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantitySupplierNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_supplier not between", value1, value2, "quantitySupplier");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellIsNull() {
            addCriterion("quantity_presell is null");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellIsNotNull() {
            addCriterion("quantity_presell is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellEqualTo(Integer value) {
            addCriterion("quantity_presell =", value, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellNotEqualTo(Integer value) {
            addCriterion("quantity_presell <>", value, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellGreaterThan(Integer value) {
            addCriterion("quantity_presell >", value, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_presell >=", value, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellLessThan(Integer value) {
            addCriterion("quantity_presell <", value, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_presell <=", value, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellIn(List<Integer> values) {
            addCriterion("quantity_presell in", values, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellNotIn(List<Integer> values) {
            addCriterion("quantity_presell not in", values, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellBetween(Integer value1, Integer value2) {
            addCriterion("quantity_presell between", value1, value2, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityPresellNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_presell not between", value1, value2, "quantityPresell");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveIsNull() {
            addCriterion("quantity_defective is null");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveIsNotNull() {
            addCriterion("quantity_defective is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveEqualTo(Integer value) {
            addCriterion("quantity_defective =", value, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveNotEqualTo(Integer value) {
            addCriterion("quantity_defective <>", value, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveGreaterThan(Integer value) {
            addCriterion("quantity_defective >", value, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_defective >=", value, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveLessThan(Integer value) {
            addCriterion("quantity_defective <", value, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_defective <=", value, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveIn(List<Integer> values) {
            addCriterion("quantity_defective in", values, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveNotIn(List<Integer> values) {
            addCriterion("quantity_defective not in", values, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveBetween(Integer value1, Integer value2) {
            addCriterion("quantity_defective between", value1, value2, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityDefectiveNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_defective not between", value1, value2, "quantityDefective");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitIsNull() {
            addCriterion("quantity_transit is null");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitIsNotNull() {
            addCriterion("quantity_transit is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitEqualTo(Integer value) {
            addCriterion("quantity_transit =", value, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitNotEqualTo(Integer value) {
            addCriterion("quantity_transit <>", value, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitGreaterThan(Integer value) {
            addCriterion("quantity_transit >", value, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitGreaterThanOrEqualTo(Integer value) {
            addCriterion("quantity_transit >=", value, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitLessThan(Integer value) {
            addCriterion("quantity_transit <", value, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitLessThanOrEqualTo(Integer value) {
            addCriterion("quantity_transit <=", value, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitIn(List<Integer> values) {
            addCriterion("quantity_transit in", values, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitNotIn(List<Integer> values) {
            addCriterion("quantity_transit not in", values, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitBetween(Integer value1, Integer value2) {
            addCriterion("quantity_transit between", value1, value2, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andQuantityTransitNotBetween(Integer value1, Integer value2) {
            addCriterion("quantity_transit not between", value1, value2, "quantityTransit");
            return (Criteria) this;
        }

        public Criteria andWaitCheckIsNull() {
            addCriterion("wait_check is null");
            return (Criteria) this;
        }

        public Criteria andWaitCheckIsNotNull() {
            addCriterion("wait_check is not null");
            return (Criteria) this;
        }

        public Criteria andWaitCheckEqualTo(Integer value) {
            addCriterion("wait_check =", value, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckNotEqualTo(Integer value) {
            addCriterion("wait_check <>", value, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckGreaterThan(Integer value) {
            addCriterion("wait_check >", value, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckGreaterThanOrEqualTo(Integer value) {
            addCriterion("wait_check >=", value, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckLessThan(Integer value) {
            addCriterion("wait_check <", value, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckLessThanOrEqualTo(Integer value) {
            addCriterion("wait_check <=", value, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckIn(List<Integer> values) {
            addCriterion("wait_check in", values, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckNotIn(List<Integer> values) {
            addCriterion("wait_check not in", values, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckBetween(Integer value1, Integer value2) {
            addCriterion("wait_check between", value1, value2, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitCheckNotBetween(Integer value1, Integer value2) {
            addCriterion("wait_check not between", value1, value2, "waitCheck");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayIsNull() {
            addCriterion("wait_putaway is null");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayIsNotNull() {
            addCriterion("wait_putaway is not null");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayEqualTo(Integer value) {
            addCriterion("wait_putaway =", value, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayNotEqualTo(Integer value) {
            addCriterion("wait_putaway <>", value, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayGreaterThan(Integer value) {
            addCriterion("wait_putaway >", value, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayGreaterThanOrEqualTo(Integer value) {
            addCriterion("wait_putaway >=", value, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayLessThan(Integer value) {
            addCriterion("wait_putaway <", value, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayLessThanOrEqualTo(Integer value) {
            addCriterion("wait_putaway <=", value, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayIn(List<Integer> values) {
            addCriterion("wait_putaway in", values, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayNotIn(List<Integer> values) {
            addCriterion("wait_putaway not in", values, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayBetween(Integer value1, Integer value2) {
            addCriterion("wait_putaway between", value1, value2, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andWaitPutawayNotBetween(Integer value1, Integer value2) {
            addCriterion("wait_putaway not between", value1, value2, "waitPutaway");
            return (Criteria) this;
        }

        public Criteria andUsableStockIsNull() {
            addCriterion("usable_stock is null");
            return (Criteria) this;
        }

        public Criteria andUsableStockIsNotNull() {
            addCriterion("usable_stock is not null");
            return (Criteria) this;
        }

        public Criteria andUsableStockEqualTo(Integer value) {
            addCriterion("usable_stock =", value, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockNotEqualTo(Integer value) {
            addCriterion("usable_stock <>", value, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockGreaterThan(Integer value) {
            addCriterion("usable_stock >", value, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("usable_stock >=", value, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockLessThan(Integer value) {
            addCriterion("usable_stock <", value, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockLessThanOrEqualTo(Integer value) {
            addCriterion("usable_stock <=", value, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockIn(List<Integer> values) {
            addCriterion("usable_stock in", values, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockNotIn(List<Integer> values) {
            addCriterion("usable_stock not in", values, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockBetween(Integer value1, Integer value2) {
            addCriterion("usable_stock between", value1, value2, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableStockNotBetween(Integer value1, Integer value2) {
            addCriterion("usable_stock not between", value1, value2, "usableStock");
            return (Criteria) this;
        }

        public Criteria andUsableSalesIsNull() {
            addCriterion("usable_sales is null");
            return (Criteria) this;
        }

        public Criteria andUsableSalesIsNotNull() {
            addCriterion("usable_sales is not null");
            return (Criteria) this;
        }

        public Criteria andUsableSalesEqualTo(Integer value) {
            addCriterion("usable_sales =", value, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesNotEqualTo(Integer value) {
            addCriterion("usable_sales <>", value, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesGreaterThan(Integer value) {
            addCriterion("usable_sales >", value, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("usable_sales >=", value, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesLessThan(Integer value) {
            addCriterion("usable_sales <", value, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesLessThanOrEqualTo(Integer value) {
            addCriterion("usable_sales <=", value, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesIn(List<Integer> values) {
            addCriterion("usable_sales in", values, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesNotIn(List<Integer> values) {
            addCriterion("usable_sales not in", values, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesBetween(Integer value1, Integer value2) {
            addCriterion("usable_sales between", value1, value2, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("usable_sales not between", value1, value2, "usableSales");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateIsNull() {
            addCriterion("usable_sales_private is null");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateIsNotNull() {
            addCriterion("usable_sales_private is not null");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateEqualTo(Integer value) {
            addCriterion("usable_sales_private =", value, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateNotEqualTo(Integer value) {
            addCriterion("usable_sales_private <>", value, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateGreaterThan(Integer value) {
            addCriterion("usable_sales_private >", value, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateGreaterThanOrEqualTo(Integer value) {
            addCriterion("usable_sales_private >=", value, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateLessThan(Integer value) {
            addCriterion("usable_sales_private <", value, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateLessThanOrEqualTo(Integer value) {
            addCriterion("usable_sales_private <=", value, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateIn(List<Integer> values) {
            addCriterion("usable_sales_private in", values, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateNotIn(List<Integer> values) {
            addCriterion("usable_sales_private not in", values, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateBetween(Integer value1, Integer value2) {
            addCriterion("usable_sales_private between", value1, value2, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesPrivateNotBetween(Integer value1, Integer value2) {
            addCriterion("usable_sales_private not between", value1, value2, "usableSalesPrivate");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareIsNull() {
            addCriterion("usable_sales_share is null");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareIsNotNull() {
            addCriterion("usable_sales_share is not null");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareEqualTo(Integer value) {
            addCriterion("usable_sales_share =", value, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareNotEqualTo(Integer value) {
            addCriterion("usable_sales_share <>", value, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareGreaterThan(Integer value) {
            addCriterion("usable_sales_share >", value, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareGreaterThanOrEqualTo(Integer value) {
            addCriterion("usable_sales_share >=", value, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareLessThan(Integer value) {
            addCriterion("usable_sales_share <", value, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareLessThanOrEqualTo(Integer value) {
            addCriterion("usable_sales_share <=", value, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareIn(List<Integer> values) {
            addCriterion("usable_sales_share in", values, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareNotIn(List<Integer> values) {
            addCriterion("usable_sales_share not in", values, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareBetween(Integer value1, Integer value2) {
            addCriterion("usable_sales_share between", value1, value2, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andUsableSalesShareNotBetween(Integer value1, Integer value2) {
            addCriterion("usable_sales_share not between", value1, value2, "usableSalesShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareIsNull() {
            addCriterion("in_warehouse_share is null");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareIsNotNull() {
            addCriterion("in_warehouse_share is not null");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareEqualTo(Integer value) {
            addCriterion("in_warehouse_share =", value, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareNotEqualTo(Integer value) {
            addCriterion("in_warehouse_share <>", value, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareGreaterThan(Integer value) {
            addCriterion("in_warehouse_share >", value, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareGreaterThanOrEqualTo(Integer value) {
            addCriterion("in_warehouse_share >=", value, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareLessThan(Integer value) {
            addCriterion("in_warehouse_share <", value, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareLessThanOrEqualTo(Integer value) {
            addCriterion("in_warehouse_share <=", value, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareIn(List<Integer> values) {
            addCriterion("in_warehouse_share in", values, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareNotIn(List<Integer> values) {
            addCriterion("in_warehouse_share not in", values, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareBetween(Integer value1, Integer value2) {
            addCriterion("in_warehouse_share between", value1, value2, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehouseShareNotBetween(Integer value1, Integer value2) {
            addCriterion("in_warehouse_share not between", value1, value2, "inWarehouseShare");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateIsNull() {
            addCriterion("in_warehouse_private is null");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateIsNotNull() {
            addCriterion("in_warehouse_private is not null");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateEqualTo(Integer value) {
            addCriterion("in_warehouse_private =", value, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateNotEqualTo(Integer value) {
            addCriterion("in_warehouse_private <>", value, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateGreaterThan(Integer value) {
            addCriterion("in_warehouse_private >", value, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateGreaterThanOrEqualTo(Integer value) {
            addCriterion("in_warehouse_private >=", value, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateLessThan(Integer value) {
            addCriterion("in_warehouse_private <", value, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateLessThanOrEqualTo(Integer value) {
            addCriterion("in_warehouse_private <=", value, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateIn(List<Integer> values) {
            addCriterion("in_warehouse_private in", values, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateNotIn(List<Integer> values) {
            addCriterion("in_warehouse_private not in", values, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateBetween(Integer value1, Integer value2) {
            addCriterion("in_warehouse_private between", value1, value2, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehousePrivateNotBetween(Integer value1, Integer value2) {
            addCriterion("in_warehouse_private not between", value1, value2, "inWarehousePrivate");
            return (Criteria) this;
        }

        public Criteria andInWarehouseIsNull() {
            addCriterion("in_warehouse is null");
            return (Criteria) this;
        }

        public Criteria andInWarehouseIsNotNull() {
            addCriterion("in_warehouse is not null");
            return (Criteria) this;
        }

        public Criteria andInWarehouseEqualTo(Integer value) {
            addCriterion("in_warehouse =", value, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseNotEqualTo(Integer value) {
            addCriterion("in_warehouse <>", value, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseGreaterThan(Integer value) {
            addCriterion("in_warehouse >", value, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseGreaterThanOrEqualTo(Integer value) {
            addCriterion("in_warehouse >=", value, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseLessThan(Integer value) {
            addCriterion("in_warehouse <", value, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseLessThanOrEqualTo(Integer value) {
            addCriterion("in_warehouse <=", value, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseIn(List<Integer> values) {
            addCriterion("in_warehouse in", values, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseNotIn(List<Integer> values) {
            addCriterion("in_warehouse not in", values, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseBetween(Integer value1, Integer value2) {
            addCriterion("in_warehouse between", value1, value2, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andInWarehouseNotBetween(Integer value1, Integer value2) {
            addCriterion("in_warehouse not between", value1, value2, "inWarehouse");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareIsNull() {
            addCriterion("occupy_stock_share is null");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareIsNotNull() {
            addCriterion("occupy_stock_share is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareEqualTo(Integer value) {
            addCriterion("occupy_stock_share =", value, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareNotEqualTo(Integer value) {
            addCriterion("occupy_stock_share <>", value, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareGreaterThan(Integer value) {
            addCriterion("occupy_stock_share >", value, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_stock_share >=", value, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareLessThan(Integer value) {
            addCriterion("occupy_stock_share <", value, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_stock_share <=", value, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareIn(List<Integer> values) {
            addCriterion("occupy_stock_share in", values, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareNotIn(List<Integer> values) {
            addCriterion("occupy_stock_share not in", values, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareBetween(Integer value1, Integer value2) {
            addCriterion("occupy_stock_share between", value1, value2, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockShareNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_stock_share not between", value1, value2, "occupyStockShare");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateIsNull() {
            addCriterion("occupy_stock_private is null");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateIsNotNull() {
            addCriterion("occupy_stock_private is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateEqualTo(Integer value) {
            addCriterion("occupy_stock_private =", value, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateNotEqualTo(Integer value) {
            addCriterion("occupy_stock_private <>", value, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateGreaterThan(Integer value) {
            addCriterion("occupy_stock_private >", value, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_stock_private >=", value, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateLessThan(Integer value) {
            addCriterion("occupy_stock_private <", value, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_stock_private <=", value, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateIn(List<Integer> values) {
            addCriterion("occupy_stock_private in", values, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateNotIn(List<Integer> values) {
            addCriterion("occupy_stock_private not in", values, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateBetween(Integer value1, Integer value2) {
            addCriterion("occupy_stock_private between", value1, value2, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockPrivateNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_stock_private not between", value1, value2, "occupyStockPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyStockIsNull() {
            addCriterion("occupy_stock is null");
            return (Criteria) this;
        }

        public Criteria andOccupyStockIsNotNull() {
            addCriterion("occupy_stock is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyStockEqualTo(Integer value) {
            addCriterion("occupy_stock =", value, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockNotEqualTo(Integer value) {
            addCriterion("occupy_stock <>", value, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockGreaterThan(Integer value) {
            addCriterion("occupy_stock >", value, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_stock >=", value, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockLessThan(Integer value) {
            addCriterion("occupy_stock <", value, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_stock <=", value, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockIn(List<Integer> values) {
            addCriterion("occupy_stock in", values, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockNotIn(List<Integer> values) {
            addCriterion("occupy_stock not in", values, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockBetween(Integer value1, Integer value2) {
            addCriterion("occupy_stock between", value1, value2, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyStockNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_stock not between", value1, value2, "occupyStock");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityIsNull() {
            addCriterion("occupy_activity is null");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityIsNotNull() {
            addCriterion("occupy_activity is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityEqualTo(Integer value) {
            addCriterion("occupy_activity =", value, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityNotEqualTo(Integer value) {
            addCriterion("occupy_activity <>", value, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityGreaterThan(Integer value) {
            addCriterion("occupy_activity >", value, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_activity >=", value, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityLessThan(Integer value) {
            addCriterion("occupy_activity <", value, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_activity <=", value, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityIn(List<Integer> values) {
            addCriterion("occupy_activity in", values, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityNotIn(List<Integer> values) {
            addCriterion("occupy_activity not in", values, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityBetween(Integer value1, Integer value2) {
            addCriterion("occupy_activity between", value1, value2, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyActivityNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_activity not between", value1, value2, "occupyActivity");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateIsNull() {
            addCriterion("occupy_order_private is null");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateIsNotNull() {
            addCriterion("occupy_order_private is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateEqualTo(Integer value) {
            addCriterion("occupy_order_private =", value, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateNotEqualTo(Integer value) {
            addCriterion("occupy_order_private <>", value, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateGreaterThan(Integer value) {
            addCriterion("occupy_order_private >", value, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_order_private >=", value, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateLessThan(Integer value) {
            addCriterion("occupy_order_private <", value, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_order_private <=", value, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateIn(List<Integer> values) {
            addCriterion("occupy_order_private in", values, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateNotIn(List<Integer> values) {
            addCriterion("occupy_order_private not in", values, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateBetween(Integer value1, Integer value2) {
            addCriterion("occupy_order_private between", value1, value2, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderPrivateNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_order_private not between", value1, value2, "occupyOrderPrivate");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareIsNull() {
            addCriterion("occupy_order_share is null");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareIsNotNull() {
            addCriterion("occupy_order_share is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareEqualTo(Integer value) {
            addCriterion("occupy_order_share =", value, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareNotEqualTo(Integer value) {
            addCriterion("occupy_order_share <>", value, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareGreaterThan(Integer value) {
            addCriterion("occupy_order_share >", value, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_order_share >=", value, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareLessThan(Integer value) {
            addCriterion("occupy_order_share <", value, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_order_share <=", value, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareIn(List<Integer> values) {
            addCriterion("occupy_order_share in", values, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareNotIn(List<Integer> values) {
            addCriterion("occupy_order_share not in", values, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareBetween(Integer value1, Integer value2) {
            addCriterion("occupy_order_share between", value1, value2, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderShareNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_order_share not between", value1, value2, "occupyOrderShare");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderIsNull() {
            addCriterion("occupy_order is null");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderIsNotNull() {
            addCriterion("occupy_order is not null");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderEqualTo(Integer value) {
            addCriterion("occupy_order =", value, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderNotEqualTo(Integer value) {
            addCriterion("occupy_order <>", value, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderGreaterThan(Integer value) {
            addCriterion("occupy_order >", value, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderGreaterThanOrEqualTo(Integer value) {
            addCriterion("occupy_order >=", value, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderLessThan(Integer value) {
            addCriterion("occupy_order <", value, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderLessThanOrEqualTo(Integer value) {
            addCriterion("occupy_order <=", value, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderIn(List<Integer> values) {
            addCriterion("occupy_order in", values, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderNotIn(List<Integer> values) {
            addCriterion("occupy_order not in", values, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderBetween(Integer value1, Integer value2) {
            addCriterion("occupy_order between", value1, value2, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andOccupyOrderNotBetween(Integer value1, Integer value2) {
            addCriterion("occupy_order not between", value1, value2, "occupyOrder");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(LocalDateTime value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(LocalDateTime value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(LocalDateTime value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<LocalDateTime> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(LocalDateTime value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(LocalDateTime value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<LocalDateTime> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(LocalDateTime value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andShippedStockIsNull() {
            addCriterion("shipped_stock is null");
            return (Criteria) this;
        }

        public Criteria andShippedStockIsNotNull() {
            addCriterion("shipped_stock is not null");
            return (Criteria) this;
        }

        public Criteria andShippedStockEqualTo(Integer value) {
            addCriterion("shipped_stock =", value, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockNotEqualTo(Integer value) {
            addCriterion("shipped_stock <>", value, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockGreaterThan(Integer value) {
            addCriterion("shipped_stock >", value, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockGreaterThanOrEqualTo(Integer value) {
            addCriterion("shipped_stock >=", value, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockLessThan(Integer value) {
            addCriterion("shipped_stock <", value, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockLessThanOrEqualTo(Integer value) {
            addCriterion("shipped_stock <=", value, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockIn(List<Integer> values) {
            addCriterion("shipped_stock in", values, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockNotIn(List<Integer> values) {
            addCriterion("shipped_stock not in", values, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockBetween(Integer value1, Integer value2) {
            addCriterion("shipped_stock between", value1, value2, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andShippedStockNotBetween(Integer value1, Integer value2) {
            addCriterion("shipped_stock not between", value1, value2, "shippedStock");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnIsNull() {
            addCriterion("sku_title_cn is null");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnIsNotNull() {
            addCriterion("sku_title_cn is not null");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnEqualTo(String value) {
            addCriterion("sku_title_cn =", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnNotEqualTo(String value) {
            addCriterion("sku_title_cn <>", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnGreaterThan(String value) {
            addCriterion("sku_title_cn >", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnGreaterThanOrEqualTo(String value) {
            addCriterion("sku_title_cn >=", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnLessThan(String value) {
            addCriterion("sku_title_cn <", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnLessThanOrEqualTo(String value) {
            addCriterion("sku_title_cn <=", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnLike(String value) {
            addCriterion("sku_title_cn like", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnNotLike(String value) {
            addCriterion("sku_title_cn not like", value, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnIn(List<String> values) {
            addCriterion("sku_title_cn in", values, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnNotIn(List<String> values) {
            addCriterion("sku_title_cn not in", values, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnBetween(String value1, String value2) {
            addCriterion("sku_title_cn between", value1, value2, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andSkuTitleCnNotBetween(String value1, String value2) {
            addCriterion("sku_title_cn not between", value1, value2, "skuTitleCn");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeIsNull() {
            addCriterion("product_inner_code is null");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeIsNotNull() {
            addCriterion("product_inner_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeEqualTo(String value) {
            addCriterion("product_inner_code =", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeNotEqualTo(String value) {
            addCriterion("product_inner_code <>", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeGreaterThan(String value) {
            addCriterion("product_inner_code >", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_inner_code >=", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeLessThan(String value) {
            addCriterion("product_inner_code <", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeLessThanOrEqualTo(String value) {
            addCriterion("product_inner_code <=", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeLike(String value) {
            addCriterion("product_inner_code like", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeNotLike(String value) {
            addCriterion("product_inner_code not like", value, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeIn(List<String> values) {
            addCriterion("product_inner_code in", values, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeNotIn(List<String> values) {
            addCriterion("product_inner_code not in", values, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeBetween(String value1, String value2) {
            addCriterion("product_inner_code between", value1, value2, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andProductInnerCodeNotBetween(String value1, String value2) {
            addCriterion("product_inner_code not between", value1, value2, "productInnerCode");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameIsNull() {
            addCriterion("suppliers_name is null");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameIsNotNull() {
            addCriterion("suppliers_name is not null");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameEqualTo(String value) {
            addCriterion("suppliers_name =", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameNotEqualTo(String value) {
            addCriterion("suppliers_name <>", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameGreaterThan(String value) {
            addCriterion("suppliers_name >", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameGreaterThanOrEqualTo(String value) {
            addCriterion("suppliers_name >=", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameLessThan(String value) {
            addCriterion("suppliers_name <", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameLessThanOrEqualTo(String value) {
            addCriterion("suppliers_name <=", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameLike(String value) {
            addCriterion("suppliers_name like", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameNotLike(String value) {
            addCriterion("suppliers_name not like", value, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameIn(List<String> values) {
            addCriterion("suppliers_name in", values, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameNotIn(List<String> values) {
            addCriterion("suppliers_name not in", values, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameBetween(String value1, String value2) {
            addCriterion("suppliers_name between", value1, value2, "suppliersName");
            return (Criteria) this;
        }

        public Criteria andSuppliersNameNotBetween(String value1, String value2) {
            addCriterion("suppliers_name not between", value1, value2, "suppliersName");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_stock
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private DcBaseStockExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        protected Criteria(DcBaseStockExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public DcBaseStockExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        /**
         * This interface was generated by MyBatis Generator.
         * This interface corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table dc_base_stock
             *
             * @mbg.generated
             * @project https://github.com/itfsw/mybatis-generator-plugin
             */
            Criteria add(Criteria add);
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void criteria(Criteria criteria);
    }

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_stock
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_stock
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void example(DcBaseStockExample example);
    }
}