package com.dcit.danger.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EnterpriseGoodsInfoExample {
    /**
     * 序列化 ID
     */
    protected String orderByClause;

    /**
     * 序列化 ID
     */
    protected boolean distinct;

    /**
     * 序列化 ID
     */
    protected List<Criteria> oredCriteria;

    public EnterpriseGoodsInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table enterprise_goods_info
     *
     * @mbg.generated Thu Jul 16 10:11:53 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

        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(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

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

        public Criteria andIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

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

        public Criteria andIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

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

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

        public Criteria andEnterpriseIdIsNull() {
            addCriterion("enterprise_id is null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIsNotNull() {
            addCriterion("enterprise_id is not null");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id =", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <>", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id >", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id >=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id <=", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id not like", value, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("enterprise_id not in", values, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdBetween(String value1, String value2) {
            addCriterion("enterprise_id between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andEnterpriseIdNotBetween(String value1, String value2) {
            addCriterion("enterprise_id not between", value1, value2, "enterpriseId");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNull() {
            addCriterion("data_type is null");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNotNull() {
            addCriterion("data_type is not null");
            return (Criteria) this;
        }

        public Criteria andDataTypeEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type =", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type <>", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type >", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type >=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type <", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type <=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("data_type not like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("data_type in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("data_type not in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeBetween(String value1, String value2) {
            addCriterion("data_type between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotBetween(String value1, String value2) {
            addCriterion("data_type not between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNull() {
            addCriterion("goods_name is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIsNotNull() {
            addCriterion("goods_name is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNameEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name <>", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name >", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name >=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name <", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name <=", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_name not like", value, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("goods_name not in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameBetween(String value1, String value2) {
            addCriterion("goods_name between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotBetween(String value1, String value2) {
            addCriterion("goods_name not between", value1, value2, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoIsNull() {
            addCriterion("goods_info is null");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoIsNotNull() {
            addCriterion("goods_info is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info =", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info <>", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info >", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info >=", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info <", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info <=", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info like", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("goods_info not like", value, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("goods_info in", values, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("goods_info not in", values, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoBetween(String value1, String value2) {
            addCriterion("goods_info between", value1, value2, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andGoodsInfoNotBetween(String value1, String value2) {
            addCriterion("goods_info not between", value1, value2, "goodsInfo");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNull() {
            addCriterion("category is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNotNull() {
            addCriterion("category is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category =", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category <>", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category >", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category >=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category <", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category <=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("category not like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("category in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("category not in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryBetween(String value1, String value2) {
            addCriterion("category between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotBetween(String value1, String value2) {
            addCriterion("category not between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerIsNull() {
            addCriterion("is_big_danger is null");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerIsNotNull() {
            addCriterion("is_big_danger is not null");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger =", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger <>", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger >", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger >=", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger <", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger <=", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger like", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger not like", value, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger in", values, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("is_big_danger not in", values, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerBetween(String value1, String value2) {
            addCriterion("is_big_danger between", value1, value2, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andIsBigDangerNotBetween(String value1, String value2) {
            addCriterion("is_big_danger not between", value1, value2, "isBigDanger");
            return (Criteria) this;
        }

        public Criteria andContactsIsNull() {
            addCriterion("contacts is null");
            return (Criteria) this;
        }

        public Criteria andContactsIsNotNull() {
            addCriterion("contacts is not null");
            return (Criteria) this;
        }

        public Criteria andContactsEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts =", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts <>", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts >", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts >=", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts <", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts <=", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts like", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("contacts not like", value, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("contacts in", values, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("contacts not in", values, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsBetween(String value1, String value2) {
            addCriterion("contacts between", value1, value2, "contacts");
            return (Criteria) this;
        }

        public Criteria andContactsNotBetween(String value1, String value2) {
            addCriterion("contacts not between", value1, value2, "contacts");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStockNumIsNull() {
            addCriterion("stock_num is null");
            return (Criteria) this;
        }

        public Criteria andStockNumIsNotNull() {
            addCriterion("stock_num is not null");
            return (Criteria) this;
        }

        public Criteria andStockNumEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num =", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num <>", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num >", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num >=", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num <", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num <=", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num like", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("stock_num not like", value, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("stock_num in", values, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("stock_num not in", values, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumBetween(String value1, String value2) {
            addCriterion("stock_num between", value1, value2, "stockNum");
            return (Criteria) this;
        }

        public Criteria andStockNumNotBetween(String value1, String value2) {
            addCriterion("stock_num not between", value1, value2, "stockNum");
            return (Criteria) this;
        }

        public Criteria andDangerGradeIsNull() {
            addCriterion("danger_grade is null");
            return (Criteria) this;
        }

        public Criteria andDangerGradeIsNotNull() {
            addCriterion("danger_grade is not null");
            return (Criteria) this;
        }

        public Criteria andDangerGradeEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade =", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade <>", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade >", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade >=", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade <", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade <=", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade like", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("danger_grade not like", value, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("danger_grade in", values, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("danger_grade not in", values, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeBetween(String value1, String value2) {
            addCriterion("danger_grade between", value1, value2, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andDangerGradeNotBetween(String value1, String value2) {
            addCriterion("danger_grade not between", value1, value2, "dangerGrade");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationIsNull() {
            addCriterion("factory_location is null");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationIsNotNull() {
            addCriterion("factory_location is not null");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location =", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location <>", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location >", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location >=", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location <", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location <=", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location like", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("factory_location not like", value, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("factory_location in", values, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("factory_location not in", values, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationBetween(String value1, String value2) {
            addCriterion("factory_location between", value1, value2, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andFactoryLocationNotBetween(String value1, String value2) {
            addCriterion("factory_location not between", value1, value2, "factoryLocation");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("longitude is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("longitude is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("longitude <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<BigDecimal> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("longitude in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<BigDecimal> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("longitude not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("longitude not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("latitude is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("latitude is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(BigDecimal value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("latitude <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<BigDecimal> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("latitude in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<BigDecimal> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("latitude not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("latitude not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumIsNull() {
            addCriterion("warehouse_num is null");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumIsNotNull() {
            addCriterion("warehouse_num is not null");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num =", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num <>", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num >", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num >=", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num <", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num <=", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num like", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num not like", value, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num in", values, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("warehouse_num not in", values, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumBetween(String value1, String value2) {
            addCriterion("warehouse_num between", value1, value2, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andWarehouseNumNotBetween(String value1, String value2) {
            addCriterion("warehouse_num not between", value1, value2, "warehouseNum");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(Date value1, Date value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(Date value1, Date value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeIsNull() {
            addCriterion("out_time is null");
            return (Criteria) this;
        }

        public Criteria andOutTimeIsNotNull() {
            addCriterion("out_time is not null");
            return (Criteria) this;
        }

        public Criteria andOutTimeEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("out_time =", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("out_time <>", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("out_time >", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeGreaterThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("out_time >=", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("out_time <", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeLessThanOrEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("out_time <=", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("out_time in", values, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("out_time not in", values, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeBetween(Date value1, Date value2) {
            addCriterion("out_time between", value1, value2, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeNotBetween(Date value1, Date value2) {
            addCriterion("out_time not between", value1, value2, "outTime");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del like", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("is_del not like", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(String value1, String value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(String value1, String value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_user_id not like", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(String value1, String value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(String value1, String value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id <>", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id >", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdGreaterThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id >=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThan(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id <", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLessThanOrEqualTo(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id <=", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotLike(String value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_user_id not like", value, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<String> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdBetween(String value1, String value2) {
            addCriterion("update_user_id between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotBetween(String value1, String value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            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(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            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(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeLessThan(Date value) {
            if (value == null) {
                return (Criteria) this;
            }
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            if (values == null || values.isEmpty()) {
                return (Criteria) this;
            }
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

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

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table enterprise_goods_info
     *
     * @mbg.generated do_not_delete_during_merge Thu Jul 16 10:11:53 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table enterprise_goods_info
     *
     * @mbg.generated Thu Jul 16 10:11:53 CST 2020
     */
    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);
        }
    }
}