package cn.superdesk.uniorder.dao.entity.thirdpart.qchjc.accounting;

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

public class QchjcOrderGoodsEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

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

    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;
    }

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

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

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

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

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

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

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

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

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

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

        public Criteria andUnifiedIdIsNull() {
            addCriterion("unified_id is null");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdIsNotNull() {
            addCriterion("unified_id is not null");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdEqualTo(Long value) {
            addCriterion("unified_id =", value, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdNotEqualTo(Long value) {
            addCriterion("unified_id <>", value, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdGreaterThan(Long value) {
            addCriterion("unified_id >", value, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdGreaterThanOrEqualTo(Long value) {
            addCriterion("unified_id >=", value, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdLessThan(Long value) {
            addCriterion("unified_id <", value, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdLessThanOrEqualTo(Long value) {
            addCriterion("unified_id <=", value, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdIn(List<Long> values) {
            addCriterion("unified_id in", values, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdNotIn(List<Long> values) {
            addCriterion("unified_id not in", values, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdBetween(Long value1, Long value2) {
            addCriterion("unified_id between", value1, value2, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andUnifiedIdNotBetween(Long value1, Long value2) {
            addCriterion("unified_id not between", value1, value2, "unifiedId");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnIsNull() {
            addCriterion("customer_accounting_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnIsNotNull() {
            addCriterion("customer_accounting_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnEqualTo(String value) {
            addCriterion("customer_accounting_order_sn =", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnNotEqualTo(String value) {
            addCriterion("customer_accounting_order_sn <>", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnGreaterThan(String value) {
            addCriterion("customer_accounting_order_sn >", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("customer_accounting_order_sn >=", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnLessThan(String value) {
            addCriterion("customer_accounting_order_sn <", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnLessThanOrEqualTo(String value) {
            addCriterion("customer_accounting_order_sn <=", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnLike(String value) {
            addCriterion("customer_accounting_order_sn like", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnNotLike(String value) {
            addCriterion("customer_accounting_order_sn not like", value, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnIn(List<String> values) {
            addCriterion("customer_accounting_order_sn in", values, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnNotIn(List<String> values) {
            addCriterion("customer_accounting_order_sn not in", values, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnBetween(String value1, String value2) {
            addCriterion("customer_accounting_order_sn between", value1, value2, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andCustomerAccountingOrderSnNotBetween(String value1, String value2) {
            addCriterion("customer_accounting_order_sn not between", value1, value2, "customerAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnIsNull() {
            addCriterion("supplier_accounting_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnIsNotNull() {
            addCriterion("supplier_accounting_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnEqualTo(String value) {
            addCriterion("supplier_accounting_order_sn =", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnNotEqualTo(String value) {
            addCriterion("supplier_accounting_order_sn <>", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnGreaterThan(String value) {
            addCriterion("supplier_accounting_order_sn >", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("supplier_accounting_order_sn >=", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnLessThan(String value) {
            addCriterion("supplier_accounting_order_sn <", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnLessThanOrEqualTo(String value) {
            addCriterion("supplier_accounting_order_sn <=", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnLike(String value) {
            addCriterion("supplier_accounting_order_sn like", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnNotLike(String value) {
            addCriterion("supplier_accounting_order_sn not like", value, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnIn(List<String> values) {
            addCriterion("supplier_accounting_order_sn in", values, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnNotIn(List<String> values) {
            addCriterion("supplier_accounting_order_sn not in", values, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnBetween(String value1, String value2) {
            addCriterion("supplier_accounting_order_sn between", value1, value2, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andSupplierAccountingOrderSnNotBetween(String value1, String value2) {
            addCriterion("supplier_accounting_order_sn not between", value1, value2, "supplierAccountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnIsNull() {
            addCriterion("order_sn is null");
            return (Criteria) this;
        }

        public Criteria andOrderSnIsNotNull() {
            addCriterion("order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSnEqualTo(String value) {
            addCriterion("order_sn =", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotEqualTo(String value) {
            addCriterion("order_sn <>", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnGreaterThan(String value) {
            addCriterion("order_sn >", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("order_sn >=", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLessThan(String value) {
            addCriterion("order_sn <", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLessThanOrEqualTo(String value) {
            addCriterion("order_sn <=", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnLike(String value) {
            addCriterion("order_sn like", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotLike(String value) {
            addCriterion("order_sn not like", value, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnIn(List<String> values) {
            addCriterion("order_sn in", values, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotIn(List<String> values) {
            addCriterion("order_sn not in", values, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnBetween(String value1, String value2) {
            addCriterion("order_sn between", value1, value2, "orderSn");
            return (Criteria) this;
        }

        public Criteria andOrderSnNotBetween(String value1, String value2) {
            addCriterion("order_sn not between", value1, value2, "orderSn");
            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) {
            addCriterion("goods_name =", value, "goodsName");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

        public Criteria andGoodsNameIn(List<String> values) {
            addCriterion("goods_name in", values, "goodsName");
            return (Criteria) this;
        }

        public Criteria andGoodsNameNotIn(List<String> values) {
            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 andGoodsAliasIsNull() {
            addCriterion("goods_alias is null");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasIsNotNull() {
            addCriterion("goods_alias is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasEqualTo(String value) {
            addCriterion("goods_alias =", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasNotEqualTo(String value) {
            addCriterion("goods_alias <>", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasGreaterThan(String value) {
            addCriterion("goods_alias >", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasGreaterThanOrEqualTo(String value) {
            addCriterion("goods_alias >=", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasLessThan(String value) {
            addCriterion("goods_alias <", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasLessThanOrEqualTo(String value) {
            addCriterion("goods_alias <=", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasLike(String value) {
            addCriterion("goods_alias like", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasNotLike(String value) {
            addCriterion("goods_alias not like", value, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasIn(List<String> values) {
            addCriterion("goods_alias in", values, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasNotIn(List<String> values) {
            addCriterion("goods_alias not in", values, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasBetween(String value1, String value2) {
            addCriterion("goods_alias between", value1, value2, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsAliasNotBetween(String value1, String value2) {
            addCriterion("goods_alias not between", value1, value2, "goodsAlias");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(String value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(String value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(String value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(String value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLike(String value) {
            addCriterion("goods_id like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotLike(String value) {
            addCriterion("goods_id not like", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<String> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<String> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(String value1, String value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(String value1, String value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdIsNull() {
            addCriterion("out_snapshot_order_goods_id is null");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdIsNotNull() {
            addCriterion("out_snapshot_order_goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdEqualTo(String value) {
            addCriterion("out_snapshot_order_goods_id =", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdNotEqualTo(String value) {
            addCriterion("out_snapshot_order_goods_id <>", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdGreaterThan(String value) {
            addCriterion("out_snapshot_order_goods_id >", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdGreaterThanOrEqualTo(String value) {
            addCriterion("out_snapshot_order_goods_id >=", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdLessThan(String value) {
            addCriterion("out_snapshot_order_goods_id <", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdLessThanOrEqualTo(String value) {
            addCriterion("out_snapshot_order_goods_id <=", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdLike(String value) {
            addCriterion("out_snapshot_order_goods_id like", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdNotLike(String value) {
            addCriterion("out_snapshot_order_goods_id not like", value, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdIn(List<String> values) {
            addCriterion("out_snapshot_order_goods_id in", values, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdNotIn(List<String> values) {
            addCriterion("out_snapshot_order_goods_id not in", values, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdBetween(String value1, String value2) {
            addCriterion("out_snapshot_order_goods_id between", value1, value2, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andOutSnapshotOrderGoodsIdNotBetween(String value1, String value2) {
            addCriterion("out_snapshot_order_goods_id not between", value1, value2, "outSnapshotOrderGoodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNull() {
            addCriterion("goods_type is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIsNotNull() {
            addCriterion("goods_type is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeEqualTo(Integer value) {
            addCriterion("goods_type =", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotEqualTo(Integer value) {
            addCriterion("goods_type <>", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThan(Integer value) {
            addCriterion("goods_type >", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_type >=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThan(Integer value) {
            addCriterion("goods_type <", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeLessThanOrEqualTo(Integer value) {
            addCriterion("goods_type <=", value, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeIn(List<Integer> values) {
            addCriterion("goods_type in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotIn(List<Integer> values) {
            addCriterion("goods_type not in", values, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeBetween(Integer value1, Integer value2) {
            addCriterion("goods_type between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andGoodsTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_type not between", value1, value2, "goodsType");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNull() {
            addCriterion("quantity is null");
            return (Criteria) this;
        }

        public Criteria andQuantityIsNotNull() {
            addCriterion("quantity is not null");
            return (Criteria) this;
        }

        public Criteria andQuantityEqualTo(Integer value) {
            addCriterion("quantity =", value, "quantity");
            return (Criteria) this;
        }

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

        public Criteria andQuantityGreaterThan(Integer value) {
            addCriterion("quantity >", value, "quantity");
            return (Criteria) this;
        }

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

        public Criteria andQuantityLessThan(Integer value) {
            addCriterion("quantity <", value, "quantity");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotEqualTo(String value) {
            addCriterion("unit <>", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitGreaterThanOrEqualTo(String value) {
            addCriterion("unit >=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLessThanOrEqualTo(String value) {
            addCriterion("unit <=", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotLike(String value) {
            addCriterion("unit not like", value, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitIn(List<String> values) {
            addCriterion("unit in", values, "unit");
            return (Criteria) this;
        }

        public Criteria andUnitNotIn(List<String> values) {
            addCriterion("unit not in", values, "unit");
            return (Criteria) this;
        }

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

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

        public Criteria andSellingPriceIsNull() {
            addCriterion("selling_price is null");
            return (Criteria) this;
        }

        public Criteria andSellingPriceIsNotNull() {
            addCriterion("selling_price is not null");
            return (Criteria) this;
        }

        public Criteria andSellingPriceEqualTo(BigDecimal value) {
            addCriterion("selling_price =", value, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceNotEqualTo(BigDecimal value) {
            addCriterion("selling_price <>", value, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceGreaterThan(BigDecimal value) {
            addCriterion("selling_price >", value, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("selling_price >=", value, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceLessThan(BigDecimal value) {
            addCriterion("selling_price <", value, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("selling_price <=", value, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceIn(List<BigDecimal> values) {
            addCriterion("selling_price in", values, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceNotIn(List<BigDecimal> values) {
            addCriterion("selling_price not in", values, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("selling_price between", value1, value2, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andSellingPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("selling_price not between", value1, value2, "sellingPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNull() {
            addCriterion("cost_price is null");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNotNull() {
            addCriterion("cost_price is not null");
            return (Criteria) this;
        }

        public Criteria andCostPriceEqualTo(BigDecimal value) {
            addCriterion("cost_price =", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotEqualTo(BigDecimal value) {
            addCriterion("cost_price <>", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThan(BigDecimal value) {
            addCriterion("cost_price >", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price >=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThan(BigDecimal value) {
            addCriterion("cost_price <", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price <=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceIn(List<BigDecimal> values) {
            addCriterion("cost_price in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotIn(List<BigDecimal> values) {
            addCriterion("cost_price not in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price not between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeIsNull() {
            addCriterion("fiscal_code is null");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeIsNotNull() {
            addCriterion("fiscal_code is not null");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeEqualTo(String value) {
            addCriterion("fiscal_code =", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeNotEqualTo(String value) {
            addCriterion("fiscal_code <>", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeGreaterThan(String value) {
            addCriterion("fiscal_code >", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeGreaterThanOrEqualTo(String value) {
            addCriterion("fiscal_code >=", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeLessThan(String value) {
            addCriterion("fiscal_code <", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeLessThanOrEqualTo(String value) {
            addCriterion("fiscal_code <=", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeLike(String value) {
            addCriterion("fiscal_code like", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeNotLike(String value) {
            addCriterion("fiscal_code not like", value, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeIn(List<String> values) {
            addCriterion("fiscal_code in", values, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeNotIn(List<String> values) {
            addCriterion("fiscal_code not in", values, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeBetween(String value1, String value2) {
            addCriterion("fiscal_code between", value1, value2, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andFiscalCodeNotBetween(String value1, String value2) {
            addCriterion("fiscal_code not between", value1, value2, "fiscalCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIsNull() {
            addCriterion("tax_code is null");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIsNotNull() {
            addCriterion("tax_code is not null");
            return (Criteria) this;
        }

        public Criteria andTaxCodeEqualTo(String value) {
            addCriterion("tax_code =", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotEqualTo(String value) {
            addCriterion("tax_code <>", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeGreaterThan(String value) {
            addCriterion("tax_code >", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("tax_code >=", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLessThan(String value) {
            addCriterion("tax_code <", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLessThanOrEqualTo(String value) {
            addCriterion("tax_code <=", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeLike(String value) {
            addCriterion("tax_code like", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotLike(String value) {
            addCriterion("tax_code not like", value, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeIn(List<String> values) {
            addCriterion("tax_code in", values, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotIn(List<String> values) {
            addCriterion("tax_code not in", values, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeBetween(String value1, String value2) {
            addCriterion("tax_code between", value1, value2, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxCodeNotBetween(String value1, String value2) {
            addCriterion("tax_code not between", value1, value2, "taxCode");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNull() {
            addCriterion("tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andTaxRateIsNotNull() {
            addCriterion("tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andTaxRateEqualTo(BigDecimal value) {
            addCriterion("tax_rate =", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotEqualTo(BigDecimal value) {
            addCriterion("tax_rate <>", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThan(BigDecimal value) {
            addCriterion("tax_rate >", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("tax_rate >=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThan(BigDecimal value) {
            addCriterion("tax_rate <", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("tax_rate <=", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateIn(List<BigDecimal> values) {
            addCriterion("tax_rate in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotIn(List<BigDecimal> values) {
            addCriterion("tax_rate not in", values, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax_rate between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("tax_rate not between", value1, value2, "taxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdIsNull() {
            addCriterion("merch_tax_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdIsNotNull() {
            addCriterion("merch_tax_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdEqualTo(String value) {
            addCriterion("merch_tax_id =", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdNotEqualTo(String value) {
            addCriterion("merch_tax_id <>", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdGreaterThan(String value) {
            addCriterion("merch_tax_id >", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdGreaterThanOrEqualTo(String value) {
            addCriterion("merch_tax_id >=", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdLessThan(String value) {
            addCriterion("merch_tax_id <", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdLessThanOrEqualTo(String value) {
            addCriterion("merch_tax_id <=", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdLike(String value) {
            addCriterion("merch_tax_id like", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdNotLike(String value) {
            addCriterion("merch_tax_id not like", value, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdIn(List<String> values) {
            addCriterion("merch_tax_id in", values, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdNotIn(List<String> values) {
            addCriterion("merch_tax_id not in", values, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdBetween(String value1, String value2) {
            addCriterion("merch_tax_id between", value1, value2, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxIdNotBetween(String value1, String value2) {
            addCriterion("merch_tax_id not between", value1, value2, "merchTaxId");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeIsNull() {
            addCriterion("merch_tax_code is null");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeIsNotNull() {
            addCriterion("merch_tax_code is not null");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeEqualTo(String value) {
            addCriterion("merch_tax_code =", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeNotEqualTo(String value) {
            addCriterion("merch_tax_code <>", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeGreaterThan(String value) {
            addCriterion("merch_tax_code >", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("merch_tax_code >=", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeLessThan(String value) {
            addCriterion("merch_tax_code <", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeLessThanOrEqualTo(String value) {
            addCriterion("merch_tax_code <=", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeLike(String value) {
            addCriterion("merch_tax_code like", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeNotLike(String value) {
            addCriterion("merch_tax_code not like", value, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeIn(List<String> values) {
            addCriterion("merch_tax_code in", values, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeNotIn(List<String> values) {
            addCriterion("merch_tax_code not in", values, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeBetween(String value1, String value2) {
            addCriterion("merch_tax_code between", value1, value2, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxCodeNotBetween(String value1, String value2) {
            addCriterion("merch_tax_code not between", value1, value2, "merchTaxCode");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateIsNull() {
            addCriterion("merch_tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateIsNotNull() {
            addCriterion("merch_tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateEqualTo(BigDecimal value) {
            addCriterion("merch_tax_rate =", value, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateNotEqualTo(BigDecimal value) {
            addCriterion("merch_tax_rate <>", value, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateGreaterThan(BigDecimal value) {
            addCriterion("merch_tax_rate >", value, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("merch_tax_rate >=", value, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateLessThan(BigDecimal value) {
            addCriterion("merch_tax_rate <", value, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("merch_tax_rate <=", value, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateIn(List<BigDecimal> values) {
            addCriterion("merch_tax_rate in", values, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateNotIn(List<BigDecimal> values) {
            addCriterion("merch_tax_rate not in", values, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("merch_tax_rate between", value1, value2, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andMerchTaxRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("merch_tax_rate not between", value1, value2, "merchTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdIsNull() {
            addCriterion("operation_tax_id is null");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdIsNotNull() {
            addCriterion("operation_tax_id is not null");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdEqualTo(String value) {
            addCriterion("operation_tax_id =", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdNotEqualTo(String value) {
            addCriterion("operation_tax_id <>", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdGreaterThan(String value) {
            addCriterion("operation_tax_id >", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdGreaterThanOrEqualTo(String value) {
            addCriterion("operation_tax_id >=", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdLessThan(String value) {
            addCriterion("operation_tax_id <", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdLessThanOrEqualTo(String value) {
            addCriterion("operation_tax_id <=", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdLike(String value) {
            addCriterion("operation_tax_id like", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdNotLike(String value) {
            addCriterion("operation_tax_id not like", value, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdIn(List<String> values) {
            addCriterion("operation_tax_id in", values, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdNotIn(List<String> values) {
            addCriterion("operation_tax_id not in", values, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdBetween(String value1, String value2) {
            addCriterion("operation_tax_id between", value1, value2, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxIdNotBetween(String value1, String value2) {
            addCriterion("operation_tax_id not between", value1, value2, "operationTaxId");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeIsNull() {
            addCriterion("operation_tax_code is null");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeIsNotNull() {
            addCriterion("operation_tax_code is not null");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeEqualTo(String value) {
            addCriterion("operation_tax_code =", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeNotEqualTo(String value) {
            addCriterion("operation_tax_code <>", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeGreaterThan(String value) {
            addCriterion("operation_tax_code >", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeGreaterThanOrEqualTo(String value) {
            addCriterion("operation_tax_code >=", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeLessThan(String value) {
            addCriterion("operation_tax_code <", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeLessThanOrEqualTo(String value) {
            addCriterion("operation_tax_code <=", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeLike(String value) {
            addCriterion("operation_tax_code like", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeNotLike(String value) {
            addCriterion("operation_tax_code not like", value, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeIn(List<String> values) {
            addCriterion("operation_tax_code in", values, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeNotIn(List<String> values) {
            addCriterion("operation_tax_code not in", values, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeBetween(String value1, String value2) {
            addCriterion("operation_tax_code between", value1, value2, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxCodeNotBetween(String value1, String value2) {
            addCriterion("operation_tax_code not between", value1, value2, "operationTaxCode");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateIsNull() {
            addCriterion("operation_tax_rate is null");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateIsNotNull() {
            addCriterion("operation_tax_rate is not null");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateEqualTo(BigDecimal value) {
            addCriterion("operation_tax_rate =", value, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateNotEqualTo(BigDecimal value) {
            addCriterion("operation_tax_rate <>", value, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateGreaterThan(BigDecimal value) {
            addCriterion("operation_tax_rate >", value, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("operation_tax_rate >=", value, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateLessThan(BigDecimal value) {
            addCriterion("operation_tax_rate <", value, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("operation_tax_rate <=", value, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateIn(List<BigDecimal> values) {
            addCriterion("operation_tax_rate in", values, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateNotIn(List<BigDecimal> values) {
            addCriterion("operation_tax_rate not in", values, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("operation_tax_rate between", value1, value2, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andOperationTaxRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("operation_tax_rate not between", value1, value2, "operationTaxRate");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1IsNull() {
            addCriterion("cate_id_lv1 is null");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1IsNotNull() {
            addCriterion("cate_id_lv1 is not null");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1EqualTo(String value) {
            addCriterion("cate_id_lv1 =", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1NotEqualTo(String value) {
            addCriterion("cate_id_lv1 <>", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1GreaterThan(String value) {
            addCriterion("cate_id_lv1 >", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1GreaterThanOrEqualTo(String value) {
            addCriterion("cate_id_lv1 >=", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1LessThan(String value) {
            addCriterion("cate_id_lv1 <", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1LessThanOrEqualTo(String value) {
            addCriterion("cate_id_lv1 <=", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1Like(String value) {
            addCriterion("cate_id_lv1 like", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1NotLike(String value) {
            addCriterion("cate_id_lv1 not like", value, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1In(List<String> values) {
            addCriterion("cate_id_lv1 in", values, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1NotIn(List<String> values) {
            addCriterion("cate_id_lv1 not in", values, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1Between(String value1, String value2) {
            addCriterion("cate_id_lv1 between", value1, value2, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv1NotBetween(String value1, String value2) {
            addCriterion("cate_id_lv1 not between", value1, value2, "cateIdLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1IsNull() {
            addCriterion("cate_name_lv1 is null");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1IsNotNull() {
            addCriterion("cate_name_lv1 is not null");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1EqualTo(String value) {
            addCriterion("cate_name_lv1 =", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1NotEqualTo(String value) {
            addCriterion("cate_name_lv1 <>", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1GreaterThan(String value) {
            addCriterion("cate_name_lv1 >", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1GreaterThanOrEqualTo(String value) {
            addCriterion("cate_name_lv1 >=", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1LessThan(String value) {
            addCriterion("cate_name_lv1 <", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1LessThanOrEqualTo(String value) {
            addCriterion("cate_name_lv1 <=", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1Like(String value) {
            addCriterion("cate_name_lv1 like", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1NotLike(String value) {
            addCriterion("cate_name_lv1 not like", value, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1In(List<String> values) {
            addCriterion("cate_name_lv1 in", values, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1NotIn(List<String> values) {
            addCriterion("cate_name_lv1 not in", values, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1Between(String value1, String value2) {
            addCriterion("cate_name_lv1 between", value1, value2, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateNameLv1NotBetween(String value1, String value2) {
            addCriterion("cate_name_lv1 not between", value1, value2, "cateNameLv1");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2IsNull() {
            addCriterion("cate_id_lv2 is null");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2IsNotNull() {
            addCriterion("cate_id_lv2 is not null");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2EqualTo(String value) {
            addCriterion("cate_id_lv2 =", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2NotEqualTo(String value) {
            addCriterion("cate_id_lv2 <>", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2GreaterThan(String value) {
            addCriterion("cate_id_lv2 >", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2GreaterThanOrEqualTo(String value) {
            addCriterion("cate_id_lv2 >=", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2LessThan(String value) {
            addCriterion("cate_id_lv2 <", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2LessThanOrEqualTo(String value) {
            addCriterion("cate_id_lv2 <=", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2Like(String value) {
            addCriterion("cate_id_lv2 like", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2NotLike(String value) {
            addCriterion("cate_id_lv2 not like", value, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2In(List<String> values) {
            addCriterion("cate_id_lv2 in", values, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2NotIn(List<String> values) {
            addCriterion("cate_id_lv2 not in", values, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2Between(String value1, String value2) {
            addCriterion("cate_id_lv2 between", value1, value2, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv2NotBetween(String value1, String value2) {
            addCriterion("cate_id_lv2 not between", value1, value2, "cateIdLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2IsNull() {
            addCriterion("cate_name_lv2 is null");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2IsNotNull() {
            addCriterion("cate_name_lv2 is not null");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2EqualTo(String value) {
            addCriterion("cate_name_lv2 =", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2NotEqualTo(String value) {
            addCriterion("cate_name_lv2 <>", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2GreaterThan(String value) {
            addCriterion("cate_name_lv2 >", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2GreaterThanOrEqualTo(String value) {
            addCriterion("cate_name_lv2 >=", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2LessThan(String value) {
            addCriterion("cate_name_lv2 <", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2LessThanOrEqualTo(String value) {
            addCriterion("cate_name_lv2 <=", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2Like(String value) {
            addCriterion("cate_name_lv2 like", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2NotLike(String value) {
            addCriterion("cate_name_lv2 not like", value, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2In(List<String> values) {
            addCriterion("cate_name_lv2 in", values, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2NotIn(List<String> values) {
            addCriterion("cate_name_lv2 not in", values, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2Between(String value1, String value2) {
            addCriterion("cate_name_lv2 between", value1, value2, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateNameLv2NotBetween(String value1, String value2) {
            addCriterion("cate_name_lv2 not between", value1, value2, "cateNameLv2");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3IsNull() {
            addCriterion("cate_id_lv3 is null");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3IsNotNull() {
            addCriterion("cate_id_lv3 is not null");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3EqualTo(String value) {
            addCriterion("cate_id_lv3 =", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3NotEqualTo(String value) {
            addCriterion("cate_id_lv3 <>", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3GreaterThan(String value) {
            addCriterion("cate_id_lv3 >", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3GreaterThanOrEqualTo(String value) {
            addCriterion("cate_id_lv3 >=", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3LessThan(String value) {
            addCriterion("cate_id_lv3 <", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3LessThanOrEqualTo(String value) {
            addCriterion("cate_id_lv3 <=", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3Like(String value) {
            addCriterion("cate_id_lv3 like", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3NotLike(String value) {
            addCriterion("cate_id_lv3 not like", value, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3In(List<String> values) {
            addCriterion("cate_id_lv3 in", values, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3NotIn(List<String> values) {
            addCriterion("cate_id_lv3 not in", values, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3Between(String value1, String value2) {
            addCriterion("cate_id_lv3 between", value1, value2, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateIdLv3NotBetween(String value1, String value2) {
            addCriterion("cate_id_lv3 not between", value1, value2, "cateIdLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3IsNull() {
            addCriterion("cate_name_lv3 is null");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3IsNotNull() {
            addCriterion("cate_name_lv3 is not null");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3EqualTo(String value) {
            addCriterion("cate_name_lv3 =", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3NotEqualTo(String value) {
            addCriterion("cate_name_lv3 <>", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3GreaterThan(String value) {
            addCriterion("cate_name_lv3 >", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3GreaterThanOrEqualTo(String value) {
            addCriterion("cate_name_lv3 >=", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3LessThan(String value) {
            addCriterion("cate_name_lv3 <", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3LessThanOrEqualTo(String value) {
            addCriterion("cate_name_lv3 <=", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3Like(String value) {
            addCriterion("cate_name_lv3 like", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3NotLike(String value) {
            addCriterion("cate_name_lv3 not like", value, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3In(List<String> values) {
            addCriterion("cate_name_lv3 in", values, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3NotIn(List<String> values) {
            addCriterion("cate_name_lv3 not in", values, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3Between(String value1, String value2) {
            addCriterion("cate_name_lv3 between", value1, value2, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andCateNameLv3NotBetween(String value1, String value2) {
            addCriterion("cate_name_lv3 not between", value1, value2, "cateNameLv3");
            return (Criteria) this;
        }

        public Criteria andSelfOptionIsNull() {
            addCriterion("self_option is null");
            return (Criteria) this;
        }

        public Criteria andSelfOptionIsNotNull() {
            addCriterion("self_option is not null");
            return (Criteria) this;
        }

        public Criteria andSelfOptionEqualTo(String value) {
            addCriterion("self_option =", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionNotEqualTo(String value) {
            addCriterion("self_option <>", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionGreaterThan(String value) {
            addCriterion("self_option >", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionGreaterThanOrEqualTo(String value) {
            addCriterion("self_option >=", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionLessThan(String value) {
            addCriterion("self_option <", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionLessThanOrEqualTo(String value) {
            addCriterion("self_option <=", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionLike(String value) {
            addCriterion("self_option like", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionNotLike(String value) {
            addCriterion("self_option not like", value, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionIn(List<String> values) {
            addCriterion("self_option in", values, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionNotIn(List<String> values) {
            addCriterion("self_option not in", values, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionBetween(String value1, String value2) {
            addCriterion("self_option between", value1, value2, "selfOption");
            return (Criteria) this;
        }

        public Criteria andSelfOptionNotBetween(String value1, String value2) {
            addCriterion("self_option not between", value1, value2, "selfOption");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNull() {
            addCriterion("direction is null");
            return (Criteria) this;
        }

        public Criteria andDirectionIsNotNull() {
            addCriterion("direction is not null");
            return (Criteria) this;
        }

        public Criteria andDirectionEqualTo(Integer value) {
            addCriterion("direction =", value, "direction");
            return (Criteria) this;
        }

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

        public Criteria andDirectionGreaterThan(Integer value) {
            addCriterion("direction >", value, "direction");
            return (Criteria) this;
        }

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

        public Criteria andDirectionLessThan(Integer value) {
            addCriterion("direction <", value, "direction");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andGoodsLockingCustomerIsNull() {
            addCriterion("goods_locking_customer is null");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerIsNotNull() {
            addCriterion("goods_locking_customer is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerEqualTo(Integer value) {
            addCriterion("goods_locking_customer =", value, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerNotEqualTo(Integer value) {
            addCriterion("goods_locking_customer <>", value, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerGreaterThan(Integer value) {
            addCriterion("goods_locking_customer >", value, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_locking_customer >=", value, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerLessThan(Integer value) {
            addCriterion("goods_locking_customer <", value, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerLessThanOrEqualTo(Integer value) {
            addCriterion("goods_locking_customer <=", value, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerIn(List<Integer> values) {
            addCriterion("goods_locking_customer in", values, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerNotIn(List<Integer> values) {
            addCriterion("goods_locking_customer not in", values, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerBetween(Integer value1, Integer value2) {
            addCriterion("goods_locking_customer between", value1, value2, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingCustomerNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_locking_customer not between", value1, value2, "goodsLockingCustomer");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierIsNull() {
            addCriterion("goods_locking_supplier is null");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierIsNotNull() {
            addCriterion("goods_locking_supplier is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierEqualTo(Integer value) {
            addCriterion("goods_locking_supplier =", value, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierNotEqualTo(Integer value) {
            addCriterion("goods_locking_supplier <>", value, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierGreaterThan(Integer value) {
            addCriterion("goods_locking_supplier >", value, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_locking_supplier >=", value, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierLessThan(Integer value) {
            addCriterion("goods_locking_supplier <", value, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierLessThanOrEqualTo(Integer value) {
            addCriterion("goods_locking_supplier <=", value, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierIn(List<Integer> values) {
            addCriterion("goods_locking_supplier in", values, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierNotIn(List<Integer> values) {
            addCriterion("goods_locking_supplier not in", values, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierBetween(Integer value1, Integer value2) {
            addCriterion("goods_locking_supplier between", value1, value2, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andGoodsLockingSupplierNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_locking_supplier not between", value1, value2, "goodsLockingSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerIsNull() {
            addCriterion("accounting_state_customer is null");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerIsNotNull() {
            addCriterion("accounting_state_customer is not null");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerEqualTo(Integer value) {
            addCriterion("accounting_state_customer =", value, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerNotEqualTo(Integer value) {
            addCriterion("accounting_state_customer <>", value, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerGreaterThan(Integer value) {
            addCriterion("accounting_state_customer >", value, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerGreaterThanOrEqualTo(Integer value) {
            addCriterion("accounting_state_customer >=", value, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerLessThan(Integer value) {
            addCriterion("accounting_state_customer <", value, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerLessThanOrEqualTo(Integer value) {
            addCriterion("accounting_state_customer <=", value, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerIn(List<Integer> values) {
            addCriterion("accounting_state_customer in", values, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerNotIn(List<Integer> values) {
            addCriterion("accounting_state_customer not in", values, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerBetween(Integer value1, Integer value2) {
            addCriterion("accounting_state_customer between", value1, value2, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateCustomerNotBetween(Integer value1, Integer value2) {
            addCriterion("accounting_state_customer not between", value1, value2, "accountingStateCustomer");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierIsNull() {
            addCriterion("accounting_state_supplier is null");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierIsNotNull() {
            addCriterion("accounting_state_supplier is not null");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierEqualTo(Integer value) {
            addCriterion("accounting_state_supplier =", value, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierNotEqualTo(Integer value) {
            addCriterion("accounting_state_supplier <>", value, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierGreaterThan(Integer value) {
            addCriterion("accounting_state_supplier >", value, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierGreaterThanOrEqualTo(Integer value) {
            addCriterion("accounting_state_supplier >=", value, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierLessThan(Integer value) {
            addCriterion("accounting_state_supplier <", value, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierLessThanOrEqualTo(Integer value) {
            addCriterion("accounting_state_supplier <=", value, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierIn(List<Integer> values) {
            addCriterion("accounting_state_supplier in", values, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierNotIn(List<Integer> values) {
            addCriterion("accounting_state_supplier not in", values, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierBetween(Integer value1, Integer value2) {
            addCriterion("accounting_state_supplier between", value1, value2, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andAccountingStateSupplierNotBetween(Integer value1, Integer value2) {
            addCriterion("accounting_state_supplier not between", value1, value2, "accountingStateSupplier");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusIsNull() {
            addCriterion("back_account_status is null");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusIsNotNull() {
            addCriterion("back_account_status is not null");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusEqualTo(Integer value) {
            addCriterion("back_account_status =", value, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusNotEqualTo(Integer value) {
            addCriterion("back_account_status <>", value, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusGreaterThan(Integer value) {
            addCriterion("back_account_status >", value, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("back_account_status >=", value, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusLessThan(Integer value) {
            addCriterion("back_account_status <", value, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusLessThanOrEqualTo(Integer value) {
            addCriterion("back_account_status <=", value, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusIn(List<Integer> values) {
            addCriterion("back_account_status in", values, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusNotIn(List<Integer> values) {
            addCriterion("back_account_status not in", values, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusBetween(Integer value1, Integer value2) {
            addCriterion("back_account_status between", value1, value2, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andBackAccountStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("back_account_status not between", value1, value2, "backAccountStatus");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnIsNull() {
            addCriterion("refund_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnIsNotNull() {
            addCriterion("refund_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnEqualTo(String value) {
            addCriterion("refund_order_sn =", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnNotEqualTo(String value) {
            addCriterion("refund_order_sn <>", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnGreaterThan(String value) {
            addCriterion("refund_order_sn >", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("refund_order_sn >=", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnLessThan(String value) {
            addCriterion("refund_order_sn <", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnLessThanOrEqualTo(String value) {
            addCriterion("refund_order_sn <=", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnLike(String value) {
            addCriterion("refund_order_sn like", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnNotLike(String value) {
            addCriterion("refund_order_sn not like", value, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnIn(List<String> values) {
            addCriterion("refund_order_sn in", values, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnNotIn(List<String> values) {
            addCriterion("refund_order_sn not in", values, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnBetween(String value1, String value2) {
            addCriterion("refund_order_sn between", value1, value2, "refundOrderSn");
            return (Criteria) this;
        }

        public Criteria andRefundOrderSnNotBetween(String value1, String value2) {
            addCriterion("refund_order_sn not between", value1, value2, "refundOrderSn");
            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) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

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

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

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

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

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

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

        public Criteria andCreateTimeNotIn(List<Date> values) {
            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;
        }

        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) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

        public Criteria andCreateUserIdIn(List<String> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<String> values) {
            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 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) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

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

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

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

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

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

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

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            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 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) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

        public Criteria andUpdateUserIdIn(List<String> values) {
            addCriterion("update_user_id in", values, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdNotIn(List<String> values) {
            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 andGoodsParamsIsNull() {
            addCriterion("goods_params is null");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsIsNotNull() {
            addCriterion("goods_params is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsEqualTo(String value) {
            addCriterion("goods_params =", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsNotEqualTo(String value) {
            addCriterion("goods_params <>", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsGreaterThan(String value) {
            addCriterion("goods_params >", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsGreaterThanOrEqualTo(String value) {
            addCriterion("goods_params >=", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsLessThan(String value) {
            addCriterion("goods_params <", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsLessThanOrEqualTo(String value) {
            addCriterion("goods_params <=", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsLike(String value) {
            addCriterion("goods_params like", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsNotLike(String value) {
            addCriterion("goods_params not like", value, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsIn(List<String> values) {
            addCriterion("goods_params in", values, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsNotIn(List<String> values) {
            addCriterion("goods_params not in", values, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsBetween(String value1, String value2) {
            addCriterion("goods_params between", value1, value2, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andGoodsParamsNotBetween(String value1, String value2) {
            addCriterion("goods_params not between", value1, value2, "goodsParams");
            return (Criteria) this;
        }

        public Criteria andSyncTimeIsNull() {
            addCriterion("sync_time is null");
            return (Criteria) this;
        }

        public Criteria andSyncTimeIsNotNull() {
            addCriterion("sync_time is not null");
            return (Criteria) this;
        }

        public Criteria andSyncTimeEqualTo(Date value) {
            addCriterion("sync_time =", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotEqualTo(Date value) {
            addCriterion("sync_time <>", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeGreaterThan(Date value) {
            addCriterion("sync_time >", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("sync_time >=", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeLessThan(Date value) {
            addCriterion("sync_time <", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeLessThanOrEqualTo(Date value) {
            addCriterion("sync_time <=", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeIn(List<Date> values) {
            addCriterion("sync_time in", values, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotIn(List<Date> values) {
            addCriterion("sync_time not in", values, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeBetween(Date value1, Date value2) {
            addCriterion("sync_time between", value1, value2, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotBetween(Date value1, Date value2) {
            addCriterion("sync_time not between", value1, value2, "syncTime");
            return (Criteria) this;
        }

        public Criteria andStorageStatusIsNull() {
            addCriterion("storage_status is null");
            return (Criteria) this;
        }

        public Criteria andStorageStatusIsNotNull() {
            addCriterion("storage_status is not null");
            return (Criteria) this;
        }

        public Criteria andStorageStatusEqualTo(Integer value) {
            addCriterion("storage_status =", value, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusNotEqualTo(Integer value) {
            addCriterion("storage_status <>", value, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusGreaterThan(Integer value) {
            addCriterion("storage_status >", value, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("storage_status >=", value, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusLessThan(Integer value) {
            addCriterion("storage_status <", value, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusLessThanOrEqualTo(Integer value) {
            addCriterion("storage_status <=", value, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusIn(List<Integer> values) {
            addCriterion("storage_status in", values, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusNotIn(List<Integer> values) {
            addCriterion("storage_status not in", values, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusBetween(Integer value1, Integer value2) {
            addCriterion("storage_status between", value1, value2, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("storage_status not between", value1, value2, "storageStatus");
            return (Criteria) this;
        }

        public Criteria andStorageTimeIsNull() {
            addCriterion("storage_time is null");
            return (Criteria) this;
        }

        public Criteria andStorageTimeIsNotNull() {
            addCriterion("storage_time is not null");
            return (Criteria) this;
        }

        public Criteria andStorageTimeEqualTo(Date value) {
            addCriterion("storage_time =", value, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeNotEqualTo(Date value) {
            addCriterion("storage_time <>", value, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeGreaterThan(Date value) {
            addCriterion("storage_time >", value, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("storage_time >=", value, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeLessThan(Date value) {
            addCriterion("storage_time <", value, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeLessThanOrEqualTo(Date value) {
            addCriterion("storage_time <=", value, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeIn(List<Date> values) {
            addCriterion("storage_time in", values, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeNotIn(List<Date> values) {
            addCriterion("storage_time not in", values, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeBetween(Date value1, Date value2) {
            addCriterion("storage_time between", value1, value2, "storageTime");
            return (Criteria) this;
        }

        public Criteria andStorageTimeNotBetween(Date value1, Date value2) {
            addCriterion("storage_time not between", value1, value2, "storageTime");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdIsNull() {
            addCriterion("unified_credit_id is null");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdIsNotNull() {
            addCriterion("unified_credit_id is not null");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdEqualTo(Long value) {
            addCriterion("unified_credit_id =", value, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdNotEqualTo(Long value) {
            addCriterion("unified_credit_id <>", value, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdGreaterThan(Long value) {
            addCriterion("unified_credit_id >", value, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdGreaterThanOrEqualTo(Long value) {
            addCriterion("unified_credit_id >=", value, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdLessThan(Long value) {
            addCriterion("unified_credit_id <", value, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdLessThanOrEqualTo(Long value) {
            addCriterion("unified_credit_id <=", value, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdIn(List<Long> values) {
            addCriterion("unified_credit_id in", values, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdNotIn(List<Long> values) {
            addCriterion("unified_credit_id not in", values, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdBetween(Long value1, Long value2) {
            addCriterion("unified_credit_id between", value1, value2, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedCreditIdNotBetween(Long value1, Long value2) {
            addCriterion("unified_credit_id not between", value1, value2, "unifiedCreditId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdIsNull() {
            addCriterion("unified_order_id is null");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdIsNotNull() {
            addCriterion("unified_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdEqualTo(Long value) {
            addCriterion("unified_order_id =", value, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdNotEqualTo(Long value) {
            addCriterion("unified_order_id <>", value, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdGreaterThan(Long value) {
            addCriterion("unified_order_id >", value, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("unified_order_id >=", value, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdLessThan(Long value) {
            addCriterion("unified_order_id <", value, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("unified_order_id <=", value, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdIn(List<Long> values) {
            addCriterion("unified_order_id in", values, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdNotIn(List<Long> values) {
            addCriterion("unified_order_id not in", values, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdBetween(Long value1, Long value2) {
            addCriterion("unified_order_id between", value1, value2, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andUnifiedOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("unified_order_id not between", value1, value2, "unifiedOrderId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdIsNull() {
            addCriterion("qch_customer_invoice_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdIsNotNull() {
            addCriterion("qch_customer_invoice_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdEqualTo(Long value) {
            addCriterion("qch_customer_invoice_apply_id =", value, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdNotEqualTo(Long value) {
            addCriterion("qch_customer_invoice_apply_id <>", value, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdGreaterThan(Long value) {
            addCriterion("qch_customer_invoice_apply_id >", value, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("qch_customer_invoice_apply_id >=", value, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdLessThan(Long value) {
            addCriterion("qch_customer_invoice_apply_id <", value, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdLessThanOrEqualTo(Long value) {
            addCriterion("qch_customer_invoice_apply_id <=", value, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdIn(List<Long> values) {
            addCriterion("qch_customer_invoice_apply_id in", values, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdNotIn(List<Long> values) {
            addCriterion("qch_customer_invoice_apply_id not in", values, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdBetween(Long value1, Long value2) {
            addCriterion("qch_customer_invoice_apply_id between", value1, value2, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchCustomerInvoiceApplyIdNotBetween(Long value1, Long value2) {
            addCriterion("qch_customer_invoice_apply_id not between", value1, value2, "qchCustomerInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdIsNull() {
            addCriterion("qch_supplier_invoice_apply_id is null");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdIsNotNull() {
            addCriterion("qch_supplier_invoice_apply_id is not null");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdEqualTo(Long value) {
            addCriterion("qch_supplier_invoice_apply_id =", value, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdNotEqualTo(Long value) {
            addCriterion("qch_supplier_invoice_apply_id <>", value, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdGreaterThan(Long value) {
            addCriterion("qch_supplier_invoice_apply_id >", value, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("qch_supplier_invoice_apply_id >=", value, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdLessThan(Long value) {
            addCriterion("qch_supplier_invoice_apply_id <", value, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdLessThanOrEqualTo(Long value) {
            addCriterion("qch_supplier_invoice_apply_id <=", value, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdIn(List<Long> values) {
            addCriterion("qch_supplier_invoice_apply_id in", values, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdNotIn(List<Long> values) {
            addCriterion("qch_supplier_invoice_apply_id not in", values, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdBetween(Long value1, Long value2) {
            addCriterion("qch_supplier_invoice_apply_id between", value1, value2, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }

        public Criteria andQchSupplierInvoiceApplyIdNotBetween(Long value1, Long value2) {
            addCriterion("qch_supplier_invoice_apply_id not between", value1, value2, "qchSupplierInvoiceApplyId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    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);
        }
    }
}