package cn.superdesk.uniorder.dao.entity.invoice.customer;

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

public class InvoiceApplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

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

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

    public String getOrderByClause() {
        return orderByClause;
    }

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

    public boolean isDistinct() {
        return distinct;
    }

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

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

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

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

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

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

    /**
    invoice_apply
     *
     * @mbg.generated Fri May 13 14:03:15 CST 2022
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

        public Criteria andIdEqualTo(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 andAccountingOrderTypeIsNull() {
            addCriterion("accounting_order_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeIsNotNull() {
            addCriterion("accounting_order_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeEqualTo(Integer value) {
            addCriterion("accounting_order_type =", value, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeNotEqualTo(Integer value) {
            addCriterion("accounting_order_type <>", value, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeGreaterThan(Integer value) {
            addCriterion("accounting_order_type >", value, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("accounting_order_type >=", value, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeLessThan(Integer value) {
            addCriterion("accounting_order_type <", value, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeLessThanOrEqualTo(Integer value) {
            addCriterion("accounting_order_type <=", value, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeIn(List<Integer> values) {
            addCriterion("accounting_order_type in", values, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeNotIn(List<Integer> values) {
            addCriterion("accounting_order_type not in", values, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeBetween(Integer value1, Integer value2) {
            addCriterion("accounting_order_type between", value1, value2, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("accounting_order_type not between", value1, value2, "accountingOrderType");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdIsNull() {
            addCriterion("accounting_order_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdIsNotNull() {
            addCriterion("accounting_order_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdEqualTo(Long value) {
            addCriterion("accounting_order_id =", value, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdNotEqualTo(Long value) {
            addCriterion("accounting_order_id <>", value, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdGreaterThan(Long value) {
            addCriterion("accounting_order_id >", value, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdGreaterThanOrEqualTo(Long value) {
            addCriterion("accounting_order_id >=", value, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdLessThan(Long value) {
            addCriterion("accounting_order_id <", value, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdLessThanOrEqualTo(Long value) {
            addCriterion("accounting_order_id <=", value, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdIn(List<Long> values) {
            addCriterion("accounting_order_id in", values, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdNotIn(List<Long> values) {
            addCriterion("accounting_order_id not in", values, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdBetween(Long value1, Long value2) {
            addCriterion("accounting_order_id between", value1, value2, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderIdNotBetween(Long value1, Long value2) {
            addCriterion("accounting_order_id not between", value1, value2, "accountingOrderId");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnIsNull() {
            addCriterion("accounting_order_sn is null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnIsNotNull() {
            addCriterion("accounting_order_sn is not null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnEqualTo(String value) {
            addCriterion("accounting_order_sn =", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnNotEqualTo(String value) {
            addCriterion("accounting_order_sn <>", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnGreaterThan(String value) {
            addCriterion("accounting_order_sn >", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnGreaterThanOrEqualTo(String value) {
            addCriterion("accounting_order_sn >=", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnLessThan(String value) {
            addCriterion("accounting_order_sn <", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnLessThanOrEqualTo(String value) {
            addCriterion("accounting_order_sn <=", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnLike(String value) {
            addCriterion("accounting_order_sn like", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnNotLike(String value) {
            addCriterion("accounting_order_sn not like", value, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnIn(List<String> values) {
            addCriterion("accounting_order_sn in", values, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnNotIn(List<String> values) {
            addCriterion("accounting_order_sn not in", values, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnBetween(String value1, String value2) {
            addCriterion("accounting_order_sn between", value1, value2, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderSnNotBetween(String value1, String value2) {
            addCriterion("accounting_order_sn not between", value1, value2, "accountingOrderSn");
            return (Criteria) this;
        }

        public Criteria andDimCreateByIsNull() {
            addCriterion("dim_create_by is null");
            return (Criteria) this;
        }

        public Criteria andDimCreateByIsNotNull() {
            addCriterion("dim_create_by is not null");
            return (Criteria) this;
        }

        public Criteria andDimCreateByEqualTo(Integer value) {
            addCriterion("dim_create_by =", value, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByNotEqualTo(Integer value) {
            addCriterion("dim_create_by <>", value, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByGreaterThan(Integer value) {
            addCriterion("dim_create_by >", value, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByGreaterThanOrEqualTo(Integer value) {
            addCriterion("dim_create_by >=", value, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByLessThan(Integer value) {
            addCriterion("dim_create_by <", value, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByLessThanOrEqualTo(Integer value) {
            addCriterion("dim_create_by <=", value, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByIn(List<Integer> values) {
            addCriterion("dim_create_by in", values, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByNotIn(List<Integer> values) {
            addCriterion("dim_create_by not in", values, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByBetween(Integer value1, Integer value2) {
            addCriterion("dim_create_by between", value1, value2, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andDimCreateByNotBetween(Integer value1, Integer value2) {
            addCriterion("dim_create_by not between", value1, value2, "dimCreateBy");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnIsNull() {
            addCriterion("invoice_apply_sn is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnIsNotNull() {
            addCriterion("invoice_apply_sn is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnEqualTo(String value) {
            addCriterion("invoice_apply_sn =", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnNotEqualTo(String value) {
            addCriterion("invoice_apply_sn <>", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnGreaterThan(String value) {
            addCriterion("invoice_apply_sn >", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_apply_sn >=", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnLessThan(String value) {
            addCriterion("invoice_apply_sn <", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnLessThanOrEqualTo(String value) {
            addCriterion("invoice_apply_sn <=", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnLike(String value) {
            addCriterion("invoice_apply_sn like", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnNotLike(String value) {
            addCriterion("invoice_apply_sn not like", value, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnIn(List<String> values) {
            addCriterion("invoice_apply_sn in", values, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnNotIn(List<String> values) {
            addCriterion("invoice_apply_sn not in", values, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnBetween(String value1, String value2) {
            addCriterion("invoice_apply_sn between", value1, value2, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplySnNotBetween(String value1, String value2) {
            addCriterion("invoice_apply_sn not between", value1, value2, "invoiceApplySn");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountIsNull() {
            addCriterion("invoice_apply_amount is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountIsNotNull() {
            addCriterion("invoice_apply_amount is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountEqualTo(BigDecimal value) {
            addCriterion("invoice_apply_amount =", value, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountNotEqualTo(BigDecimal value) {
            addCriterion("invoice_apply_amount <>", value, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountGreaterThan(BigDecimal value) {
            addCriterion("invoice_apply_amount >", value, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("invoice_apply_amount >=", value, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountLessThan(BigDecimal value) {
            addCriterion("invoice_apply_amount <", value, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("invoice_apply_amount <=", value, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountIn(List<BigDecimal> values) {
            addCriterion("invoice_apply_amount in", values, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountNotIn(List<BigDecimal> values) {
            addCriterion("invoice_apply_amount not in", values, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("invoice_apply_amount between", value1, value2, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andInvoiceApplyAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("invoice_apply_amount not between", value1, value2, "invoiceApplyAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountIsNull() {
            addCriterion("free_amount is null");
            return (Criteria) this;
        }

        public Criteria andFreeAmountIsNotNull() {
            addCriterion("free_amount is not null");
            return (Criteria) this;
        }

        public Criteria andFreeAmountEqualTo(BigDecimal value) {
            addCriterion("free_amount =", value, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountNotEqualTo(BigDecimal value) {
            addCriterion("free_amount <>", value, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountGreaterThan(BigDecimal value) {
            addCriterion("free_amount >", value, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("free_amount >=", value, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountLessThan(BigDecimal value) {
            addCriterion("free_amount <", value, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("free_amount <=", value, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountIn(List<BigDecimal> values) {
            addCriterion("free_amount in", values, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountNotIn(List<BigDecimal> values) {
            addCriterion("free_amount not in", values, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("free_amount between", value1, value2, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andFreeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("free_amount not between", value1, value2, "freeAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountIsNull() {
            addCriterion("un_accounting_amount is null");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountIsNotNull() {
            addCriterion("un_accounting_amount is not null");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountEqualTo(BigDecimal value) {
            addCriterion("un_accounting_amount =", value, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountNotEqualTo(BigDecimal value) {
            addCriterion("un_accounting_amount <>", value, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountGreaterThan(BigDecimal value) {
            addCriterion("un_accounting_amount >", value, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("un_accounting_amount >=", value, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountLessThan(BigDecimal value) {
            addCriterion("un_accounting_amount <", value, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("un_accounting_amount <=", value, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountIn(List<BigDecimal> values) {
            addCriterion("un_accounting_amount in", values, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountNotIn(List<BigDecimal> values) {
            addCriterion("un_accounting_amount not in", values, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("un_accounting_amount between", value1, value2, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andUnAccountingAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("un_accounting_amount not between", value1, value2, "unAccountingAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountIsNull() {
            addCriterion("real_amount is null");
            return (Criteria) this;
        }

        public Criteria andRealAmountIsNotNull() {
            addCriterion("real_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRealAmountEqualTo(BigDecimal value) {
            addCriterion("real_amount =", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountNotEqualTo(BigDecimal value) {
            addCriterion("real_amount <>", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountGreaterThan(BigDecimal value) {
            addCriterion("real_amount >", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("real_amount >=", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountLessThan(BigDecimal value) {
            addCriterion("real_amount <", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("real_amount <=", value, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountIn(List<BigDecimal> values) {
            addCriterion("real_amount in", values, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountNotIn(List<BigDecimal> values) {
            addCriterion("real_amount not in", values, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("real_amount between", value1, value2, "realAmount");
            return (Criteria) this;
        }

        public Criteria andRealAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("real_amount not between", value1, value2, "realAmount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountIsNull() {
            addCriterion("no_check_count is null");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountIsNotNull() {
            addCriterion("no_check_count is not null");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountEqualTo(BigDecimal value) {
            addCriterion("no_check_count =", value, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountNotEqualTo(BigDecimal value) {
            addCriterion("no_check_count <>", value, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountGreaterThan(BigDecimal value) {
            addCriterion("no_check_count >", value, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("no_check_count >=", value, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountLessThan(BigDecimal value) {
            addCriterion("no_check_count <", value, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("no_check_count <=", value, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountIn(List<BigDecimal> values) {
            addCriterion("no_check_count in", values, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountNotIn(List<BigDecimal> values) {
            addCriterion("no_check_count not in", values, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("no_check_count between", value1, value2, "noCheckCount");
            return (Criteria) this;
        }

        public Criteria andNoCheckCountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("no_check_count not between", value1, value2, "noCheckCount");
            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(String value) {
            addCriterion("tax_rate =", value, "taxRate");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andTaxRateLike(String value) {
            addCriterion("tax_rate like", value, "taxRate");
            return (Criteria) this;
        }

        public Criteria andTaxRateNotLike(String value) {
            addCriterion("tax_rate not like", value, "taxRate");
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andInvoiceTitleIsNull() {
            addCriterion("invoice_title is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleIsNotNull() {
            addCriterion("invoice_title is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleEqualTo(String value) {
            addCriterion("invoice_title =", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotEqualTo(String value) {
            addCriterion("invoice_title <>", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleGreaterThan(String value) {
            addCriterion("invoice_title >", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_title >=", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleLessThan(String value) {
            addCriterion("invoice_title <", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleLessThanOrEqualTo(String value) {
            addCriterion("invoice_title <=", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleLike(String value) {
            addCriterion("invoice_title like", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotLike(String value) {
            addCriterion("invoice_title not like", value, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleIn(List<String> values) {
            addCriterion("invoice_title in", values, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotIn(List<String> values) {
            addCriterion("invoice_title not in", values, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleBetween(String value1, String value2) {
            addCriterion("invoice_title between", value1, value2, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceTitleNotBetween(String value1, String value2) {
            addCriterion("invoice_title not between", value1, value2, "invoiceTitle");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdIsNull() {
            addCriterion("sys_enterprise_ext_invoice_id is null");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdIsNotNull() {
            addCriterion("sys_enterprise_ext_invoice_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdEqualTo(Long value) {
            addCriterion("sys_enterprise_ext_invoice_id =", value, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdNotEqualTo(Long value) {
            addCriterion("sys_enterprise_ext_invoice_id <>", value, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdGreaterThan(Long value) {
            addCriterion("sys_enterprise_ext_invoice_id >", value, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sys_enterprise_ext_invoice_id >=", value, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdLessThan(Long value) {
            addCriterion("sys_enterprise_ext_invoice_id <", value, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdLessThanOrEqualTo(Long value) {
            addCriterion("sys_enterprise_ext_invoice_id <=", value, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdIn(List<Long> values) {
            addCriterion("sys_enterprise_ext_invoice_id in", values, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdNotIn(List<Long> values) {
            addCriterion("sys_enterprise_ext_invoice_id not in", values, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdBetween(Long value1, Long value2) {
            addCriterion("sys_enterprise_ext_invoice_id between", value1, value2, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysEnterpriseExtInvoiceIdNotBetween(Long value1, Long value2) {
            addCriterion("sys_enterprise_ext_invoice_id not between", value1, value2, "sysEnterpriseExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNull() {
            addCriterion("invoice_type is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNotNull() {
            addCriterion("invoice_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeEqualTo(Long value) {
            addCriterion("invoice_type =", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotEqualTo(Long value) {
            addCriterion("invoice_type <>", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThan(Long value) {
            addCriterion("invoice_type >", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThanOrEqualTo(Long value) {
            addCriterion("invoice_type >=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThan(Long value) {
            addCriterion("invoice_type <", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThanOrEqualTo(Long value) {
            addCriterion("invoice_type <=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIn(List<Long> values) {
            addCriterion("invoice_type in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotIn(List<Long> values) {
            addCriterion("invoice_type not in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeBetween(Long value1, Long value2) {
            addCriterion("invoice_type between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotBetween(Long value1, Long value2) {
            addCriterion("invoice_type not between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeIsNull() {
            addCriterion("invoice_mode is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeIsNotNull() {
            addCriterion("invoice_mode is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeEqualTo(String value) {
            addCriterion("invoice_mode =", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeNotEqualTo(String value) {
            addCriterion("invoice_mode <>", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeGreaterThan(String value) {
            addCriterion("invoice_mode >", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_mode >=", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeLessThan(String value) {
            addCriterion("invoice_mode <", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeLessThanOrEqualTo(String value) {
            addCriterion("invoice_mode <=", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeLike(String value) {
            addCriterion("invoice_mode like", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeNotLike(String value) {
            addCriterion("invoice_mode not like", value, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeIn(List<String> values) {
            addCriterion("invoice_mode in", values, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeNotIn(List<String> values) {
            addCriterion("invoice_mode not in", values, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeBetween(String value1, String value2) {
            addCriterion("invoice_mode between", value1, value2, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andInvoiceModeNotBetween(String value1, String value2) {
            addCriterion("invoice_mode not between", value1, value2, "invoiceMode");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdIsNull() {
            addCriterion("apply_user_id is null");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdIsNotNull() {
            addCriterion("apply_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdEqualTo(Long value) {
            addCriterion("apply_user_id =", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotEqualTo(Long value) {
            addCriterion("apply_user_id <>", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdGreaterThan(Long value) {
            addCriterion("apply_user_id >", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("apply_user_id >=", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdLessThan(Long value) {
            addCriterion("apply_user_id <", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdLessThanOrEqualTo(Long value) {
            addCriterion("apply_user_id <=", value, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdIn(List<Long> values) {
            addCriterion("apply_user_id in", values, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotIn(List<Long> values) {
            addCriterion("apply_user_id not in", values, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdBetween(Long value1, Long value2) {
            addCriterion("apply_user_id between", value1, value2, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyUserIdNotBetween(Long value1, Long value2) {
            addCriterion("apply_user_id not between", value1, value2, "applyUserId");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNull() {
            addCriterion("apply_time is null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIsNotNull() {
            addCriterion("apply_time is not null");
            return (Criteria) this;
        }

        public Criteria andApplyTimeEqualTo(Date value) {
            addCriterion("apply_time =", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotEqualTo(Date value) {
            addCriterion("apply_time <>", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThan(Date value) {
            addCriterion("apply_time >", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("apply_time >=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThan(Date value) {
            addCriterion("apply_time <", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeLessThanOrEqualTo(Date value) {
            addCriterion("apply_time <=", value, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeIn(List<Date> values) {
            addCriterion("apply_time in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotIn(List<Date> values) {
            addCriterion("apply_time not in", values, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeBetween(Date value1, Date value2) {
            addCriterion("apply_time between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andApplyTimeNotBetween(Date value1, Date value2) {
            addCriterion("apply_time not between", value1, value2, "applyTime");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIsNull() {
            addCriterion("audit_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIsNotNull() {
            addCriterion("audit_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdEqualTo(Long value) {
            addCriterion("audit_user_id =", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotEqualTo(Long value) {
            addCriterion("audit_user_id <>", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThan(Long value) {
            addCriterion("audit_user_id >", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("audit_user_id >=", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThan(Long value) {
            addCriterion("audit_user_id <", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdLessThanOrEqualTo(Long value) {
            addCriterion("audit_user_id <=", value, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdIn(List<Long> values) {
            addCriterion("audit_user_id in", values, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotIn(List<Long> values) {
            addCriterion("audit_user_id not in", values, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdBetween(Long value1, Long value2) {
            addCriterion("audit_user_id between", value1, value2, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditUserIdNotBetween(Long value1, Long value2) {
            addCriterion("audit_user_id not between", value1, value2, "auditUserId");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNull() {
            addCriterion("audit_status is null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIsNotNull() {
            addCriterion("audit_status is not null");
            return (Criteria) this;
        }

        public Criteria andAuditStatusEqualTo(Integer value) {
            addCriterion("audit_status =", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotEqualTo(Integer value) {
            addCriterion("audit_status <>", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThan(Integer value) {
            addCriterion("audit_status >", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("audit_status >=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThan(Integer value) {
            addCriterion("audit_status <", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusLessThanOrEqualTo(Integer value) {
            addCriterion("audit_status <=", value, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusIn(List<Integer> values) {
            addCriterion("audit_status in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotIn(List<Integer> values) {
            addCriterion("audit_status not in", values, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusBetween(Integer value1, Integer value2) {
            addCriterion("audit_status between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("audit_status not between", value1, value2, "auditStatus");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNull() {
            addCriterion("audit_time is null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIsNotNull() {
            addCriterion("audit_time is not null");
            return (Criteria) this;
        }

        public Criteria andAuditTimeEqualTo(Date value) {
            addCriterion("audit_time =", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotEqualTo(Date value) {
            addCriterion("audit_time <>", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThan(Date value) {
            addCriterion("audit_time >", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("audit_time >=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThan(Date value) {
            addCriterion("audit_time <", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeLessThanOrEqualTo(Date value) {
            addCriterion("audit_time <=", value, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeIn(List<Date> values) {
            addCriterion("audit_time in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotIn(List<Date> values) {
            addCriterion("audit_time not in", values, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeBetween(Date value1, Date value2) {
            addCriterion("audit_time between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andAuditTimeNotBetween(Date value1, Date value2) {
            addCriterion("audit_time not between", value1, value2, "auditTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusIsNull() {
            addCriterion("invoice_status is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusIsNotNull() {
            addCriterion("invoice_status is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusEqualTo(Integer value) {
            addCriterion("invoice_status =", value, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusNotEqualTo(Integer value) {
            addCriterion("invoice_status <>", value, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusGreaterThan(Integer value) {
            addCriterion("invoice_status >", value, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("invoice_status >=", value, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusLessThan(Integer value) {
            addCriterion("invoice_status <", value, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusLessThanOrEqualTo(Integer value) {
            addCriterion("invoice_status <=", value, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusIn(List<Integer> values) {
            addCriterion("invoice_status in", values, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusNotIn(List<Integer> values) {
            addCriterion("invoice_status not in", values, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusBetween(Integer value1, Integer value2) {
            addCriterion("invoice_status between", value1, value2, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("invoice_status not between", value1, value2, "invoiceStatus");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdIsNull() {
            addCriterion("invoice_progressing_user_id is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdIsNotNull() {
            addCriterion("invoice_progressing_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdEqualTo(Long value) {
            addCriterion("invoice_progressing_user_id =", value, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdNotEqualTo(Long value) {
            addCriterion("invoice_progressing_user_id <>", value, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdGreaterThan(Long value) {
            addCriterion("invoice_progressing_user_id >", value, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invoice_progressing_user_id >=", value, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdLessThan(Long value) {
            addCriterion("invoice_progressing_user_id <", value, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdLessThanOrEqualTo(Long value) {
            addCriterion("invoice_progressing_user_id <=", value, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdIn(List<Long> values) {
            addCriterion("invoice_progressing_user_id in", values, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdNotIn(List<Long> values) {
            addCriterion("invoice_progressing_user_id not in", values, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdBetween(Long value1, Long value2) {
            addCriterion("invoice_progressing_user_id between", value1, value2, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingUserIdNotBetween(Long value1, Long value2) {
            addCriterion("invoice_progressing_user_id not between", value1, value2, "invoiceProgressingUserId");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeIsNull() {
            addCriterion("invoice_progressing_time is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeIsNotNull() {
            addCriterion("invoice_progressing_time is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeEqualTo(Date value) {
            addCriterion("invoice_progressing_time =", value, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeNotEqualTo(Date value) {
            addCriterion("invoice_progressing_time <>", value, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeGreaterThan(Date value) {
            addCriterion("invoice_progressing_time >", value, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("invoice_progressing_time >=", value, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeLessThan(Date value) {
            addCriterion("invoice_progressing_time <", value, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeLessThanOrEqualTo(Date value) {
            addCriterion("invoice_progressing_time <=", value, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeIn(List<Date> values) {
            addCriterion("invoice_progressing_time in", values, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeNotIn(List<Date> values) {
            addCriterion("invoice_progressing_time not in", values, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeBetween(Date value1, Date value2) {
            addCriterion("invoice_progressing_time between", value1, value2, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceProgressingTimeNotBetween(Date value1, Date value2) {
            addCriterion("invoice_progressing_time not between", value1, value2, "invoiceProgressingTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdIsNull() {
            addCriterion("make_invoice_user_id is null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdIsNotNull() {
            addCriterion("make_invoice_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdEqualTo(Long value) {
            addCriterion("make_invoice_user_id =", value, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdNotEqualTo(Long value) {
            addCriterion("make_invoice_user_id <>", value, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdGreaterThan(Long value) {
            addCriterion("make_invoice_user_id >", value, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("make_invoice_user_id >=", value, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdLessThan(Long value) {
            addCriterion("make_invoice_user_id <", value, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdLessThanOrEqualTo(Long value) {
            addCriterion("make_invoice_user_id <=", value, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdIn(List<Long> values) {
            addCriterion("make_invoice_user_id in", values, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdNotIn(List<Long> values) {
            addCriterion("make_invoice_user_id not in", values, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdBetween(Long value1, Long value2) {
            addCriterion("make_invoice_user_id between", value1, value2, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserIdNotBetween(Long value1, Long value2) {
            addCriterion("make_invoice_user_id not between", value1, value2, "makeInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusIsNull() {
            addCriterion("make_invoice_status is null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusIsNotNull() {
            addCriterion("make_invoice_status is not null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusEqualTo(Integer value) {
            addCriterion("make_invoice_status =", value, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusNotEqualTo(Integer value) {
            addCriterion("make_invoice_status <>", value, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusGreaterThan(Integer value) {
            addCriterion("make_invoice_status >", value, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("make_invoice_status >=", value, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusLessThan(Integer value) {
            addCriterion("make_invoice_status <", value, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusLessThanOrEqualTo(Integer value) {
            addCriterion("make_invoice_status <=", value, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusIn(List<Integer> values) {
            addCriterion("make_invoice_status in", values, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusNotIn(List<Integer> values) {
            addCriterion("make_invoice_status not in", values, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusBetween(Integer value1, Integer value2) {
            addCriterion("make_invoice_status between", value1, value2, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("make_invoice_status not between", value1, value2, "makeInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeIsNull() {
            addCriterion("make_invoice_time is null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeIsNotNull() {
            addCriterion("make_invoice_time is not null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeEqualTo(Date value) {
            addCriterion("make_invoice_time =", value, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeNotEqualTo(Date value) {
            addCriterion("make_invoice_time <>", value, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeGreaterThan(Date value) {
            addCriterion("make_invoice_time >", value, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("make_invoice_time >=", value, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeLessThan(Date value) {
            addCriterion("make_invoice_time <", value, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeLessThanOrEqualTo(Date value) {
            addCriterion("make_invoice_time <=", value, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeIn(List<Date> values) {
            addCriterion("make_invoice_time in", values, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeNotIn(List<Date> values) {
            addCriterion("make_invoice_time not in", values, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeBetween(Date value1, Date value2) {
            addCriterion("make_invoice_time between", value1, value2, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceTimeNotBetween(Date value1, Date value2) {
            addCriterion("make_invoice_time not between", value1, value2, "makeInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusIsNull() {
            addCriterion("receive_invoice_status is null");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusIsNotNull() {
            addCriterion("receive_invoice_status is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusEqualTo(Integer value) {
            addCriterion("receive_invoice_status =", value, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusNotEqualTo(Integer value) {
            addCriterion("receive_invoice_status <>", value, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusGreaterThan(Integer value) {
            addCriterion("receive_invoice_status >", value, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("receive_invoice_status >=", value, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusLessThan(Integer value) {
            addCriterion("receive_invoice_status <", value, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusLessThanOrEqualTo(Integer value) {
            addCriterion("receive_invoice_status <=", value, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusIn(List<Integer> values) {
            addCriterion("receive_invoice_status in", values, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusNotIn(List<Integer> values) {
            addCriterion("receive_invoice_status not in", values, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusBetween(Integer value1, Integer value2) {
            addCriterion("receive_invoice_status between", value1, value2, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("receive_invoice_status not between", value1, value2, "receiveInvoiceStatus");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdIsNull() {
            addCriterion("receive_invoice_user_id is null");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdIsNotNull() {
            addCriterion("receive_invoice_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdEqualTo(Long value) {
            addCriterion("receive_invoice_user_id =", value, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdNotEqualTo(Long value) {
            addCriterion("receive_invoice_user_id <>", value, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdGreaterThan(Long value) {
            addCriterion("receive_invoice_user_id >", value, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("receive_invoice_user_id >=", value, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdLessThan(Long value) {
            addCriterion("receive_invoice_user_id <", value, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdLessThanOrEqualTo(Long value) {
            addCriterion("receive_invoice_user_id <=", value, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdIn(List<Long> values) {
            addCriterion("receive_invoice_user_id in", values, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdNotIn(List<Long> values) {
            addCriterion("receive_invoice_user_id not in", values, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdBetween(Long value1, Long value2) {
            addCriterion("receive_invoice_user_id between", value1, value2, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceUserIdNotBetween(Long value1, Long value2) {
            addCriterion("receive_invoice_user_id not between", value1, value2, "receiveInvoiceUserId");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeIsNull() {
            addCriterion("receive_invoice_time is null");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeIsNotNull() {
            addCriterion("receive_invoice_time is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeEqualTo(Date value) {
            addCriterion("receive_invoice_time =", value, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeNotEqualTo(Date value) {
            addCriterion("receive_invoice_time <>", value, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeGreaterThan(Date value) {
            addCriterion("receive_invoice_time >", value, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("receive_invoice_time >=", value, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeLessThan(Date value) {
            addCriterion("receive_invoice_time <", value, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeLessThanOrEqualTo(Date value) {
            addCriterion("receive_invoice_time <=", value, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeIn(List<Date> values) {
            addCriterion("receive_invoice_time in", values, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeNotIn(List<Date> values) {
            addCriterion("receive_invoice_time not in", values, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeBetween(Date value1, Date value2) {
            addCriterion("receive_invoice_time between", value1, value2, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andReceiveInvoiceTimeNotBetween(Date value1, Date value2) {
            addCriterion("receive_invoice_time not between", value1, value2, "receiveInvoiceTime");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberIsNull() {
            addCriterion("invoice_number is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberIsNotNull() {
            addCriterion("invoice_number is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberEqualTo(String value) {
            addCriterion("invoice_number =", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberNotEqualTo(String value) {
            addCriterion("invoice_number <>", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberGreaterThan(String value) {
            addCriterion("invoice_number >", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_number >=", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberLessThan(String value) {
            addCriterion("invoice_number <", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberLessThanOrEqualTo(String value) {
            addCriterion("invoice_number <=", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberLike(String value) {
            addCriterion("invoice_number like", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberNotLike(String value) {
            addCriterion("invoice_number not like", value, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberIn(List<String> values) {
            addCriterion("invoice_number in", values, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberNotIn(List<String> values) {
            addCriterion("invoice_number not in", values, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberBetween(String value1, String value2) {
            addCriterion("invoice_number between", value1, value2, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andInvoiceNumberNotBetween(String value1, String value2) {
            addCriterion("invoice_number not between", value1, value2, "invoiceNumber");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdIsNull() {
            addCriterion("mail_tick_user_id is null");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdIsNotNull() {
            addCriterion("mail_tick_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdEqualTo(Long value) {
            addCriterion("mail_tick_user_id =", value, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdNotEqualTo(Long value) {
            addCriterion("mail_tick_user_id <>", value, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdGreaterThan(Long value) {
            addCriterion("mail_tick_user_id >", value, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("mail_tick_user_id >=", value, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdLessThan(Long value) {
            addCriterion("mail_tick_user_id <", value, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdLessThanOrEqualTo(Long value) {
            addCriterion("mail_tick_user_id <=", value, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdIn(List<Long> values) {
            addCriterion("mail_tick_user_id in", values, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdNotIn(List<Long> values) {
            addCriterion("mail_tick_user_id not in", values, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdBetween(Long value1, Long value2) {
            addCriterion("mail_tick_user_id between", value1, value2, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickUserIdNotBetween(Long value1, Long value2) {
            addCriterion("mail_tick_user_id not between", value1, value2, "mailTickUserId");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusIsNull() {
            addCriterion("mail_tick_status is null");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusIsNotNull() {
            addCriterion("mail_tick_status is not null");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusEqualTo(Integer value) {
            addCriterion("mail_tick_status =", value, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusNotEqualTo(Integer value) {
            addCriterion("mail_tick_status <>", value, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusGreaterThan(Integer value) {
            addCriterion("mail_tick_status >", value, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("mail_tick_status >=", value, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusLessThan(Integer value) {
            addCriterion("mail_tick_status <", value, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusLessThanOrEqualTo(Integer value) {
            addCriterion("mail_tick_status <=", value, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusIn(List<Integer> values) {
            addCriterion("mail_tick_status in", values, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusNotIn(List<Integer> values) {
            addCriterion("mail_tick_status not in", values, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusBetween(Integer value1, Integer value2) {
            addCriterion("mail_tick_status between", value1, value2, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("mail_tick_status not between", value1, value2, "mailTickStatus");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeIsNull() {
            addCriterion("mail_tick_time is null");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeIsNotNull() {
            addCriterion("mail_tick_time is not null");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeEqualTo(Date value) {
            addCriterion("mail_tick_time =", value, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeNotEqualTo(Date value) {
            addCriterion("mail_tick_time <>", value, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeGreaterThan(Date value) {
            addCriterion("mail_tick_time >", value, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("mail_tick_time >=", value, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeLessThan(Date value) {
            addCriterion("mail_tick_time <", value, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeLessThanOrEqualTo(Date value) {
            addCriterion("mail_tick_time <=", value, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeIn(List<Date> values) {
            addCriterion("mail_tick_time in", values, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeNotIn(List<Date> values) {
            addCriterion("mail_tick_time not in", values, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeBetween(Date value1, Date value2) {
            addCriterion("mail_tick_time between", value1, value2, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andMailTickTimeNotBetween(Date value1, Date value2) {
            addCriterion("mail_tick_time not between", value1, value2, "mailTickTime");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdIsNull() {
            addCriterion("express_company_id is null");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdIsNotNull() {
            addCriterion("express_company_id is not null");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdEqualTo(Long value) {
            addCriterion("express_company_id =", value, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdNotEqualTo(Long value) {
            addCriterion("express_company_id <>", value, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdGreaterThan(Long value) {
            addCriterion("express_company_id >", value, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("express_company_id >=", value, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdLessThan(Long value) {
            addCriterion("express_company_id <", value, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdLessThanOrEqualTo(Long value) {
            addCriterion("express_company_id <=", value, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdIn(List<Long> values) {
            addCriterion("express_company_id in", values, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdNotIn(List<Long> values) {
            addCriterion("express_company_id not in", values, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdBetween(Long value1, Long value2) {
            addCriterion("express_company_id between", value1, value2, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressCompanyIdNotBetween(Long value1, Long value2) {
            addCriterion("express_company_id not between", value1, value2, "expressCompanyId");
            return (Criteria) this;
        }

        public Criteria andExpressNoIsNull() {
            addCriterion("express_no is null");
            return (Criteria) this;
        }

        public Criteria andExpressNoIsNotNull() {
            addCriterion("express_no is not null");
            return (Criteria) this;
        }

        public Criteria andExpressNoEqualTo(String value) {
            addCriterion("express_no =", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotEqualTo(String value) {
            addCriterion("express_no <>", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoGreaterThan(String value) {
            addCriterion("express_no >", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoGreaterThanOrEqualTo(String value) {
            addCriterion("express_no >=", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoLessThan(String value) {
            addCriterion("express_no <", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoLessThanOrEqualTo(String value) {
            addCriterion("express_no <=", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoLike(String value) {
            addCriterion("express_no like", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotLike(String value) {
            addCriterion("express_no not like", value, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoIn(List<String> values) {
            addCriterion("express_no in", values, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotIn(List<String> values) {
            addCriterion("express_no not in", values, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoBetween(String value1, String value2) {
            addCriterion("express_no between", value1, value2, "expressNo");
            return (Criteria) this;
        }

        public Criteria andExpressNoNotBetween(String value1, String value2) {
            addCriterion("express_no not between", value1, value2, "expressNo");
            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 andBackAccountModeRecordIsNull() {
            addCriterion("back_account_mode_record is null");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordIsNotNull() {
            addCriterion("back_account_mode_record is not null");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordEqualTo(Integer value) {
            addCriterion("back_account_mode_record =", value, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordNotEqualTo(Integer value) {
            addCriterion("back_account_mode_record <>", value, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordGreaterThan(Integer value) {
            addCriterion("back_account_mode_record >", value, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordGreaterThanOrEqualTo(Integer value) {
            addCriterion("back_account_mode_record >=", value, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordLessThan(Integer value) {
            addCriterion("back_account_mode_record <", value, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordLessThanOrEqualTo(Integer value) {
            addCriterion("back_account_mode_record <=", value, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordIn(List<Integer> values) {
            addCriterion("back_account_mode_record in", values, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordNotIn(List<Integer> values) {
            addCriterion("back_account_mode_record not in", values, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordBetween(Integer value1, Integer value2) {
            addCriterion("back_account_mode_record between", value1, value2, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountModeRecordNotBetween(Integer value1, Integer value2) {
            addCriterion("back_account_mode_record not between", value1, value2, "backAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdIsNull() {
            addCriterion("back_account_user_id is null");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdIsNotNull() {
            addCriterion("back_account_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdEqualTo(Long value) {
            addCriterion("back_account_user_id =", value, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdNotEqualTo(Long value) {
            addCriterion("back_account_user_id <>", value, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdGreaterThan(Long value) {
            addCriterion("back_account_user_id >", value, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("back_account_user_id >=", value, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdLessThan(Long value) {
            addCriterion("back_account_user_id <", value, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdLessThanOrEqualTo(Long value) {
            addCriterion("back_account_user_id <=", value, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdIn(List<Long> values) {
            addCriterion("back_account_user_id in", values, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdNotIn(List<Long> values) {
            addCriterion("back_account_user_id not in", values, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdBetween(Long value1, Long value2) {
            addCriterion("back_account_user_id between", value1, value2, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountUserIdNotBetween(Long value1, Long value2) {
            addCriterion("back_account_user_id not between", value1, value2, "backAccountUserId");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeIsNull() {
            addCriterion("back_account_time is null");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeIsNotNull() {
            addCriterion("back_account_time is not null");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeEqualTo(Date value) {
            addCriterion("back_account_time =", value, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeNotEqualTo(Date value) {
            addCriterion("back_account_time <>", value, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeGreaterThan(Date value) {
            addCriterion("back_account_time >", value, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("back_account_time >=", value, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeLessThan(Date value) {
            addCriterion("back_account_time <", value, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeLessThanOrEqualTo(Date value) {
            addCriterion("back_account_time <=", value, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeIn(List<Date> values) {
            addCriterion("back_account_time in", values, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeNotIn(List<Date> values) {
            addCriterion("back_account_time not in", values, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeBetween(Date value1, Date value2) {
            addCriterion("back_account_time between", value1, value2, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andBackAccountTimeNotBetween(Date value1, Date value2) {
            addCriterion("back_account_time not between", value1, value2, "backAccountTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

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

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

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

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

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

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andRemark2IsNull() {
            addCriterion("remark2 is null");
            return (Criteria) this;
        }

        public Criteria andRemark2IsNotNull() {
            addCriterion("remark2 is not null");
            return (Criteria) this;
        }

        public Criteria andRemark2EqualTo(String value) {
            addCriterion("remark2 =", value, "remark2");
            return (Criteria) this;
        }

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

        public Criteria andRemark2GreaterThan(String value) {
            addCriterion("remark2 >", value, "remark2");
            return (Criteria) this;
        }

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

        public Criteria andRemark2LessThan(String value) {
            addCriterion("remark2 <", value, "remark2");
            return (Criteria) this;
        }

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

        public Criteria andRemark2Like(String value) {
            addCriterion("remark2 like", value, "remark2");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andAttachmentUploadFilesUidsIsNull() {
            addCriterion("attachment_upload_files_uids is null");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsIsNotNull() {
            addCriterion("attachment_upload_files_uids is not null");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsEqualTo(String value) {
            addCriterion("attachment_upload_files_uids =", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsNotEqualTo(String value) {
            addCriterion("attachment_upload_files_uids <>", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsGreaterThan(String value) {
            addCriterion("attachment_upload_files_uids >", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsGreaterThanOrEqualTo(String value) {
            addCriterion("attachment_upload_files_uids >=", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsLessThan(String value) {
            addCriterion("attachment_upload_files_uids <", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsLessThanOrEqualTo(String value) {
            addCriterion("attachment_upload_files_uids <=", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsLike(String value) {
            addCriterion("attachment_upload_files_uids like", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsNotLike(String value) {
            addCriterion("attachment_upload_files_uids not like", value, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsIn(List<String> values) {
            addCriterion("attachment_upload_files_uids in", values, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsNotIn(List<String> values) {
            addCriterion("attachment_upload_files_uids not in", values, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsBetween(String value1, String value2) {
            addCriterion("attachment_upload_files_uids between", value1, value2, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andAttachmentUploadFilesUidsNotBetween(String value1, String value2) {
            addCriterion("attachment_upload_files_uids not between", value1, value2, "attachmentUploadFilesUids");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNull() {
            addCriterion("service_id is null");
            return (Criteria) this;
        }

        public Criteria andServiceIdIsNotNull() {
            addCriterion("service_id is not null");
            return (Criteria) this;
        }

        public Criteria andServiceIdEqualTo(Integer value) {
            addCriterion("service_id =", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotEqualTo(Integer value) {
            addCriterion("service_id <>", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThan(Integer value) {
            addCriterion("service_id >", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_id >=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThan(Integer value) {
            addCriterion("service_id <", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdLessThanOrEqualTo(Integer value) {
            addCriterion("service_id <=", value, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdIn(List<Integer> values) {
            addCriterion("service_id in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotIn(List<Integer> values) {
            addCriterion("service_id not in", values, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdBetween(Integer value1, Integer value2) {
            addCriterion("service_id between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("service_id not between", value1, value2, "serviceId");
            return (Criteria) this;
        }

        public Criteria andServiceNoIsNull() {
            addCriterion("service_no is null");
            return (Criteria) this;
        }

        public Criteria andServiceNoIsNotNull() {
            addCriterion("service_no is not null");
            return (Criteria) this;
        }

        public Criteria andServiceNoEqualTo(String value) {
            addCriterion("service_no =", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoNotEqualTo(String value) {
            addCriterion("service_no <>", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoGreaterThan(String value) {
            addCriterion("service_no >", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoGreaterThanOrEqualTo(String value) {
            addCriterion("service_no >=", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoLessThan(String value) {
            addCriterion("service_no <", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoLessThanOrEqualTo(String value) {
            addCriterion("service_no <=", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoLike(String value) {
            addCriterion("service_no like", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoNotLike(String value) {
            addCriterion("service_no not like", value, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoIn(List<String> values) {
            addCriterion("service_no in", values, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoNotIn(List<String> values) {
            addCriterion("service_no not in", values, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoBetween(String value1, String value2) {
            addCriterion("service_no between", value1, value2, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andServiceNoNotBetween(String value1, String value2) {
            addCriterion("service_no not between", value1, value2, "serviceNo");
            return (Criteria) this;
        }

        public Criteria andSourceFromIsNull() {
            addCriterion("source_from is null");
            return (Criteria) this;
        }

        public Criteria andSourceFromIsNotNull() {
            addCriterion("source_from is not null");
            return (Criteria) this;
        }

        public Criteria andSourceFromEqualTo(String value) {
            addCriterion("source_from =", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromNotEqualTo(String value) {
            addCriterion("source_from <>", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromGreaterThan(String value) {
            addCriterion("source_from >", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromGreaterThanOrEqualTo(String value) {
            addCriterion("source_from >=", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromLessThan(String value) {
            addCriterion("source_from <", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromLessThanOrEqualTo(String value) {
            addCriterion("source_from <=", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromLike(String value) {
            addCriterion("source_from like", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromNotLike(String value) {
            addCriterion("source_from not like", value, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromIn(List<String> values) {
            addCriterion("source_from in", values, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromNotIn(List<String> values) {
            addCriterion("source_from not in", values, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromBetween(String value1, String value2) {
            addCriterion("source_from between", value1, value2, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andSourceFromNotBetween(String value1, String value2) {
            addCriterion("source_from not between", value1, value2, "sourceFrom");
            return (Criteria) this;
        }

        public Criteria andServiceNameIsNull() {
            addCriterion("service_name is null");
            return (Criteria) this;
        }

        public Criteria andServiceNameIsNotNull() {
            addCriterion("service_name is not null");
            return (Criteria) this;
        }

        public Criteria andServiceNameEqualTo(String value) {
            addCriterion("service_name =", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameNotEqualTo(String value) {
            addCriterion("service_name <>", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameGreaterThan(String value) {
            addCriterion("service_name >", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameGreaterThanOrEqualTo(String value) {
            addCriterion("service_name >=", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameLessThan(String value) {
            addCriterion("service_name <", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameLessThanOrEqualTo(String value) {
            addCriterion("service_name <=", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameLike(String value) {
            addCriterion("service_name like", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameNotLike(String value) {
            addCriterion("service_name not like", value, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameIn(List<String> values) {
            addCriterion("service_name in", values, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameNotIn(List<String> values) {
            addCriterion("service_name not in", values, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameBetween(String value1, String value2) {
            addCriterion("service_name between", value1, value2, "serviceName");
            return (Criteria) this;
        }

        public Criteria andServiceNameNotBetween(String value1, String value2) {
            addCriterion("service_name not between", value1, value2, "serviceName");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdIsNull() {
            addCriterion("sys_org_id is null");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdIsNotNull() {
            addCriterion("sys_org_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdEqualTo(Long value) {
            addCriterion("sys_org_id =", value, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdNotEqualTo(Long value) {
            addCriterion("sys_org_id <>", value, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdGreaterThan(Long value) {
            addCriterion("sys_org_id >", value, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sys_org_id >=", value, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdLessThan(Long value) {
            addCriterion("sys_org_id <", value, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdLessThanOrEqualTo(Long value) {
            addCriterion("sys_org_id <=", value, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdIn(List<Long> values) {
            addCriterion("sys_org_id in", values, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdNotIn(List<Long> values) {
            addCriterion("sys_org_id not in", values, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdBetween(Long value1, Long value2) {
            addCriterion("sys_org_id between", value1, value2, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysOrgIdNotBetween(Long value1, Long value2) {
            addCriterion("sys_org_id not between", value1, value2, "sysOrgId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdIsNull() {
            addCriterion("sys_virt_id is null");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdIsNotNull() {
            addCriterion("sys_virt_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdEqualTo(Long value) {
            addCriterion("sys_virt_id =", value, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdNotEqualTo(Long value) {
            addCriterion("sys_virt_id <>", value, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdGreaterThan(Long value) {
            addCriterion("sys_virt_id >", value, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sys_virt_id >=", value, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdLessThan(Long value) {
            addCriterion("sys_virt_id <", value, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdLessThanOrEqualTo(Long value) {
            addCriterion("sys_virt_id <=", value, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdIn(List<Long> values) {
            addCriterion("sys_virt_id in", values, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdNotIn(List<Long> values) {
            addCriterion("sys_virt_id not in", values, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdBetween(Long value1, Long value2) {
            addCriterion("sys_virt_id between", value1, value2, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andSysVirtIdNotBetween(Long value1, Long value2) {
            addCriterion("sys_virt_id not between", value1, value2, "sysVirtId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdIsNull() {
            addCriterion("out_org_id is null");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdIsNotNull() {
            addCriterion("out_org_id is not null");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdEqualTo(Long value) {
            addCriterion("out_org_id =", value, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdNotEqualTo(Long value) {
            addCriterion("out_org_id <>", value, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdGreaterThan(Long value) {
            addCriterion("out_org_id >", value, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdGreaterThanOrEqualTo(Long value) {
            addCriterion("out_org_id >=", value, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdLessThan(Long value) {
            addCriterion("out_org_id <", value, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdLessThanOrEqualTo(Long value) {
            addCriterion("out_org_id <=", value, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdIn(List<Long> values) {
            addCriterion("out_org_id in", values, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdNotIn(List<Long> values) {
            addCriterion("out_org_id not in", values, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdBetween(Long value1, Long value2) {
            addCriterion("out_org_id between", value1, value2, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutOrgIdNotBetween(Long value1, Long value2) {
            addCriterion("out_org_id not between", value1, value2, "outOrgId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdIsNull() {
            addCriterion("out_virt_id is null");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdIsNotNull() {
            addCriterion("out_virt_id is not null");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdEqualTo(Long value) {
            addCriterion("out_virt_id =", value, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdNotEqualTo(Long value) {
            addCriterion("out_virt_id <>", value, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdGreaterThan(Long value) {
            addCriterion("out_virt_id >", value, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdGreaterThanOrEqualTo(Long value) {
            addCriterion("out_virt_id >=", value, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdLessThan(Long value) {
            addCriterion("out_virt_id <", value, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdLessThanOrEqualTo(Long value) {
            addCriterion("out_virt_id <=", value, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdIn(List<Long> values) {
            addCriterion("out_virt_id in", values, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdNotIn(List<Long> values) {
            addCriterion("out_virt_id not in", values, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdBetween(Long value1, Long value2) {
            addCriterion("out_virt_id between", value1, value2, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andOutVirtIdNotBetween(Long value1, Long value2) {
            addCriterion("out_virt_id not between", value1, value2, "outVirtId");
            return (Criteria) this;
        }

        public Criteria andRelationModeIsNull() {
            addCriterion("relation_mode is null");
            return (Criteria) this;
        }

        public Criteria andRelationModeIsNotNull() {
            addCriterion("relation_mode is not null");
            return (Criteria) this;
        }

        public Criteria andRelationModeEqualTo(Integer value) {
            addCriterion("relation_mode =", value, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeNotEqualTo(Integer value) {
            addCriterion("relation_mode <>", value, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeGreaterThan(Integer value) {
            addCriterion("relation_mode >", value, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeGreaterThanOrEqualTo(Integer value) {
            addCriterion("relation_mode >=", value, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeLessThan(Integer value) {
            addCriterion("relation_mode <", value, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeLessThanOrEqualTo(Integer value) {
            addCriterion("relation_mode <=", value, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeIn(List<Integer> values) {
            addCriterion("relation_mode in", values, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeNotIn(List<Integer> values) {
            addCriterion("relation_mode not in", values, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeBetween(Integer value1, Integer value2) {
            addCriterion("relation_mode between", value1, value2, "relationMode");
            return (Criteria) this;
        }

        public Criteria andRelationModeNotBetween(Integer value1, Integer value2) {
            addCriterion("relation_mode not between", value1, value2, "relationMode");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01IsNull() {
            addCriterion("error_check_relation_01 is null");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01IsNotNull() {
            addCriterion("error_check_relation_01 is not null");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01EqualTo(Long value) {
            addCriterion("error_check_relation_01 =", value, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01NotEqualTo(Long value) {
            addCriterion("error_check_relation_01 <>", value, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01GreaterThan(Long value) {
            addCriterion("error_check_relation_01 >", value, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01GreaterThanOrEqualTo(Long value) {
            addCriterion("error_check_relation_01 >=", value, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01LessThan(Long value) {
            addCriterion("error_check_relation_01 <", value, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01LessThanOrEqualTo(Long value) {
            addCriterion("error_check_relation_01 <=", value, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01In(List<Long> values) {
            addCriterion("error_check_relation_01 in", values, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01NotIn(List<Long> values) {
            addCriterion("error_check_relation_01 not in", values, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01Between(Long value1, Long value2) {
            addCriterion("error_check_relation_01 between", value1, value2, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation01NotBetween(Long value1, Long value2) {
            addCriterion("error_check_relation_01 not between", value1, value2, "errorCheckRelation01");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02IsNull() {
            addCriterion("error_check_relation_02 is null");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02IsNotNull() {
            addCriterion("error_check_relation_02 is not null");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02EqualTo(Long value) {
            addCriterion("error_check_relation_02 =", value, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02NotEqualTo(Long value) {
            addCriterion("error_check_relation_02 <>", value, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02GreaterThan(Long value) {
            addCriterion("error_check_relation_02 >", value, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02GreaterThanOrEqualTo(Long value) {
            addCriterion("error_check_relation_02 >=", value, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02LessThan(Long value) {
            addCriterion("error_check_relation_02 <", value, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02LessThanOrEqualTo(Long value) {
            addCriterion("error_check_relation_02 <=", value, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02In(List<Long> values) {
            addCriterion("error_check_relation_02 in", values, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02NotIn(List<Long> values) {
            addCriterion("error_check_relation_02 not in", values, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02Between(Long value1, Long value2) {
            addCriterion("error_check_relation_02 between", value1, value2, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andErrorCheckRelation02NotBetween(Long value1, Long value2) {
            addCriterion("error_check_relation_02 not between", value1, value2, "errorCheckRelation02");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityIsNull() {
            addCriterion("accounting_order_quantity is null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityIsNotNull() {
            addCriterion("accounting_order_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityEqualTo(Integer value) {
            addCriterion("accounting_order_quantity =", value, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityNotEqualTo(Integer value) {
            addCriterion("accounting_order_quantity <>", value, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityGreaterThan(Integer value) {
            addCriterion("accounting_order_quantity >", value, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("accounting_order_quantity >=", value, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityLessThan(Integer value) {
            addCriterion("accounting_order_quantity <", value, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("accounting_order_quantity <=", value, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityIn(List<Integer> values) {
            addCriterion("accounting_order_quantity in", values, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityNotIn(List<Integer> values) {
            addCriterion("accounting_order_quantity not in", values, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityBetween(Integer value1, Integer value2) {
            addCriterion("accounting_order_quantity between", value1, value2, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andAccountingOrderQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("accounting_order_quantity not between", value1, value2, "accountingOrderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityIsNull() {
            addCriterion("order_quantity is null");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityIsNotNull() {
            addCriterion("order_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityEqualTo(Integer value) {
            addCriterion("order_quantity =", value, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityNotEqualTo(Integer value) {
            addCriterion("order_quantity <>", value, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityGreaterThan(Integer value) {
            addCriterion("order_quantity >", value, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_quantity >=", value, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityLessThan(Integer value) {
            addCriterion("order_quantity <", value, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("order_quantity <=", value, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityIn(List<Integer> values) {
            addCriterion("order_quantity in", values, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityNotIn(List<Integer> values) {
            addCriterion("order_quantity not in", values, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityBetween(Integer value1, Integer value2) {
            addCriterion("order_quantity between", value1, value2, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("order_quantity not between", value1, value2, "orderQuantity");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNull() {
            addCriterion("order_amount is null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIsNotNull() {
            addCriterion("order_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOrderAmountEqualTo(BigDecimal value) {
            addCriterion("order_amount =", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotEqualTo(BigDecimal value) {
            addCriterion("order_amount <>", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThan(BigDecimal value) {
            addCriterion("order_amount >", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount >=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThan(BigDecimal value) {
            addCriterion("order_amount <", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("order_amount <=", value, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountIn(List<BigDecimal> values) {
            addCriterion("order_amount in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotIn(List<BigDecimal> values) {
            addCriterion("order_amount not in", values, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_amount not between", value1, value2, "orderAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityIsNull() {
            addCriterion("goods_quantity is null");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityIsNotNull() {
            addCriterion("goods_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityEqualTo(Integer value) {
            addCriterion("goods_quantity =", value, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityNotEqualTo(Integer value) {
            addCriterion("goods_quantity <>", value, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityGreaterThan(Integer value) {
            addCriterion("goods_quantity >", value, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_quantity >=", value, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityLessThan(Integer value) {
            addCriterion("goods_quantity <", value, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("goods_quantity <=", value, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityIn(List<Integer> values) {
            addCriterion("goods_quantity in", values, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityNotIn(List<Integer> values) {
            addCriterion("goods_quantity not in", values, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityBetween(Integer value1, Integer value2) {
            addCriterion("goods_quantity between", value1, value2, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_quantity not between", value1, value2, "goodsQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityIsNull() {
            addCriterion("goods_item_quantity is null");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityIsNotNull() {
            addCriterion("goods_item_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityEqualTo(Integer value) {
            addCriterion("goods_item_quantity =", value, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityNotEqualTo(Integer value) {
            addCriterion("goods_item_quantity <>", value, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityGreaterThan(Integer value) {
            addCriterion("goods_item_quantity >", value, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_item_quantity >=", value, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityLessThan(Integer value) {
            addCriterion("goods_item_quantity <", value, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("goods_item_quantity <=", value, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityIn(List<Integer> values) {
            addCriterion("goods_item_quantity in", values, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityNotIn(List<Integer> values) {
            addCriterion("goods_item_quantity not in", values, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityBetween(Integer value1, Integer value2) {
            addCriterion("goods_item_quantity between", value1, value2, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsItemQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_item_quantity not between", value1, value2, "goodsItemQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityIsNull() {
            addCriterion("credit_quantity is null");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityIsNotNull() {
            addCriterion("credit_quantity is not null");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityEqualTo(Integer value) {
            addCriterion("credit_quantity =", value, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityNotEqualTo(Integer value) {
            addCriterion("credit_quantity <>", value, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityGreaterThan(Integer value) {
            addCriterion("credit_quantity >", value, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityGreaterThanOrEqualTo(Integer value) {
            addCriterion("credit_quantity >=", value, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityLessThan(Integer value) {
            addCriterion("credit_quantity <", value, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityLessThanOrEqualTo(Integer value) {
            addCriterion("credit_quantity <=", value, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityIn(List<Integer> values) {
            addCriterion("credit_quantity in", values, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityNotIn(List<Integer> values) {
            addCriterion("credit_quantity not in", values, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityBetween(Integer value1, Integer value2) {
            addCriterion("credit_quantity between", value1, value2, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andCreditQuantityNotBetween(Integer value1, Integer value2) {
            addCriterion("credit_quantity not between", value1, value2, "creditQuantity");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountIsNull() {
            addCriterion("goods_amount is null");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountIsNotNull() {
            addCriterion("goods_amount is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountEqualTo(BigDecimal value) {
            addCriterion("goods_amount =", value, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountNotEqualTo(BigDecimal value) {
            addCriterion("goods_amount <>", value, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountGreaterThan(BigDecimal value) {
            addCriterion("goods_amount >", value, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_amount >=", value, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountLessThan(BigDecimal value) {
            addCriterion("goods_amount <", value, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_amount <=", value, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountIn(List<BigDecimal> values) {
            addCriterion("goods_amount in", values, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountNotIn(List<BigDecimal> values) {
            addCriterion("goods_amount not in", values, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_amount between", value1, value2, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_amount not between", value1, value2, "goodsAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountIsNull() {
            addCriterion("goods_cost_amount is null");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountIsNotNull() {
            addCriterion("goods_cost_amount is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountEqualTo(BigDecimal value) {
            addCriterion("goods_cost_amount =", value, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountNotEqualTo(BigDecimal value) {
            addCriterion("goods_cost_amount <>", value, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountGreaterThan(BigDecimal value) {
            addCriterion("goods_cost_amount >", value, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_cost_amount >=", value, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountLessThan(BigDecimal value) {
            addCriterion("goods_cost_amount <", value, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("goods_cost_amount <=", value, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountIn(List<BigDecimal> values) {
            addCriterion("goods_cost_amount in", values, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountNotIn(List<BigDecimal> values) {
            addCriterion("goods_cost_amount not in", values, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_cost_amount between", value1, value2, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andGoodsCostAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("goods_cost_amount not between", value1, value2, "goodsCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountIsNull() {
            addCriterion("order_cost_amount is null");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountIsNotNull() {
            addCriterion("order_cost_amount is not null");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountEqualTo(BigDecimal value) {
            addCriterion("order_cost_amount =", value, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountNotEqualTo(BigDecimal value) {
            addCriterion("order_cost_amount <>", value, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountGreaterThan(BigDecimal value) {
            addCriterion("order_cost_amount >", value, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("order_cost_amount >=", value, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountLessThan(BigDecimal value) {
            addCriterion("order_cost_amount <", value, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("order_cost_amount <=", value, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountIn(List<BigDecimal> values) {
            addCriterion("order_cost_amount in", values, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountNotIn(List<BigDecimal> values) {
            addCriterion("order_cost_amount not in", values, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_cost_amount between", value1, value2, "orderCostAmount");
            return (Criteria) this;
        }

        public Criteria andOrderCostAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("order_cost_amount not between", value1, value2, "orderCostAmount");
            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(Long value) {
            addCriterion("update_user_id =", value, "updateUserId");
            return (Criteria) this;
        }

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

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

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

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

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

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

        public Criteria andUpdateUserIdNotIn(List<Long> values) {
            addCriterion("update_user_id not in", values, "updateUserId");
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("update_user_id not between", value1, value2, "updateUserId");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkIsNull() {
            addCriterion("need_revise_mark is null");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkIsNotNull() {
            addCriterion("need_revise_mark is not null");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkEqualTo(Integer value) {
            addCriterion("need_revise_mark =", value, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkNotEqualTo(Integer value) {
            addCriterion("need_revise_mark <>", value, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkGreaterThan(Integer value) {
            addCriterion("need_revise_mark >", value, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkGreaterThanOrEqualTo(Integer value) {
            addCriterion("need_revise_mark >=", value, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkLessThan(Integer value) {
            addCriterion("need_revise_mark <", value, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkLessThanOrEqualTo(Integer value) {
            addCriterion("need_revise_mark <=", value, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkIn(List<Integer> values) {
            addCriterion("need_revise_mark in", values, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkNotIn(List<Integer> values) {
            addCriterion("need_revise_mark not in", values, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkBetween(Integer value1, Integer value2) {
            addCriterion("need_revise_mark between", value1, value2, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andNeedReviseMarkNotBetween(Integer value1, Integer value2) {
            addCriterion("need_revise_mark not between", value1, value2, "needReviseMark");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdIsNull() {
            addCriterion("become_invalid_user_id is null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdIsNotNull() {
            addCriterion("become_invalid_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdEqualTo(Long value) {
            addCriterion("become_invalid_user_id =", value, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdNotEqualTo(Long value) {
            addCriterion("become_invalid_user_id <>", value, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdGreaterThan(Long value) {
            addCriterion("become_invalid_user_id >", value, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("become_invalid_user_id >=", value, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdLessThan(Long value) {
            addCriterion("become_invalid_user_id <", value, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdLessThanOrEqualTo(Long value) {
            addCriterion("become_invalid_user_id <=", value, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdIn(List<Long> values) {
            addCriterion("become_invalid_user_id in", values, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdNotIn(List<Long> values) {
            addCriterion("become_invalid_user_id not in", values, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdBetween(Long value1, Long value2) {
            addCriterion("become_invalid_user_id between", value1, value2, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserIdNotBetween(Long value1, Long value2) {
            addCriterion("become_invalid_user_id not between", value1, value2, "becomeInvalidUserId");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameIsNull() {
            addCriterion("become_invalid_user_name is null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameIsNotNull() {
            addCriterion("become_invalid_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameEqualTo(String value) {
            addCriterion("become_invalid_user_name =", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameNotEqualTo(String value) {
            addCriterion("become_invalid_user_name <>", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameGreaterThan(String value) {
            addCriterion("become_invalid_user_name >", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("become_invalid_user_name >=", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameLessThan(String value) {
            addCriterion("become_invalid_user_name <", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameLessThanOrEqualTo(String value) {
            addCriterion("become_invalid_user_name <=", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameLike(String value) {
            addCriterion("become_invalid_user_name like", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameNotLike(String value) {
            addCriterion("become_invalid_user_name not like", value, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameIn(List<String> values) {
            addCriterion("become_invalid_user_name in", values, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameNotIn(List<String> values) {
            addCriterion("become_invalid_user_name not in", values, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameBetween(String value1, String value2) {
            addCriterion("become_invalid_user_name between", value1, value2, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidUserNameNotBetween(String value1, String value2) {
            addCriterion("become_invalid_user_name not between", value1, value2, "becomeInvalidUserName");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeIsNull() {
            addCriterion("become_invalid_time is null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeIsNotNull() {
            addCriterion("become_invalid_time is not null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeEqualTo(Date value) {
            addCriterion("become_invalid_time =", value, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeNotEqualTo(Date value) {
            addCriterion("become_invalid_time <>", value, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeGreaterThan(Date value) {
            addCriterion("become_invalid_time >", value, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("become_invalid_time >=", value, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeLessThan(Date value) {
            addCriterion("become_invalid_time <", value, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeLessThanOrEqualTo(Date value) {
            addCriterion("become_invalid_time <=", value, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeIn(List<Date> values) {
            addCriterion("become_invalid_time in", values, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeNotIn(List<Date> values) {
            addCriterion("become_invalid_time not in", values, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeBetween(Date value1, Date value2) {
            addCriterion("become_invalid_time between", value1, value2, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidTimeNotBetween(Date value1, Date value2) {
            addCriterion("become_invalid_time not between", value1, value2, "becomeInvalidTime");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonIsNull() {
            addCriterion("become_invalid_reason is null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonIsNotNull() {
            addCriterion("become_invalid_reason is not null");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonEqualTo(String value) {
            addCriterion("become_invalid_reason =", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonNotEqualTo(String value) {
            addCriterion("become_invalid_reason <>", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonGreaterThan(String value) {
            addCriterion("become_invalid_reason >", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonGreaterThanOrEqualTo(String value) {
            addCriterion("become_invalid_reason >=", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonLessThan(String value) {
            addCriterion("become_invalid_reason <", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonLessThanOrEqualTo(String value) {
            addCriterion("become_invalid_reason <=", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonLike(String value) {
            addCriterion("become_invalid_reason like", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonNotLike(String value) {
            addCriterion("become_invalid_reason not like", value, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonIn(List<String> values) {
            addCriterion("become_invalid_reason in", values, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonNotIn(List<String> values) {
            addCriterion("become_invalid_reason not in", values, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonBetween(String value1, String value2) {
            addCriterion("become_invalid_reason between", value1, value2, "becomeInvalidReason");
            return (Criteria) this;
        }

        public Criteria andBecomeInvalidReasonNotBetween(String value1, String value2) {
            addCriterion("become_invalid_reason not between", value1, value2, "becomeInvalidReason");
            return (Criteria) this;
        }
    }

    /**
    invoice_apply
     *
     * @mbg.generated do_not_delete_during_merge Fri May 13 14:03:15 CST 2022
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    /**
    invoice_apply
     *
     * @mbg.generated Fri May 13 14:03:15 CST 2022
     */
    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);
        }
    }
}