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

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

public class InvoiceApplySupplierExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public InvoiceApplySupplierExample() {
        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_supplier
     *
     * @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 andInvoiceTypeIsNull() {
            addCriterion("invoice_type is null");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

        public Criteria andInvoiceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("invoice_type not between", value1, value2, "invoiceType");
            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 andSysPlatformExtInvoiceIdIsNull() {
            addCriterion("sys_platform_ext_invoice_id is null");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdIsNotNull() {
            addCriterion("sys_platform_ext_invoice_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdEqualTo(Long value) {
            addCriterion("sys_platform_ext_invoice_id =", value, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdNotEqualTo(Long value) {
            addCriterion("sys_platform_ext_invoice_id <>", value, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdGreaterThan(Long value) {
            addCriterion("sys_platform_ext_invoice_id >", value, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sys_platform_ext_invoice_id >=", value, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdLessThan(Long value) {
            addCriterion("sys_platform_ext_invoice_id <", value, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdLessThanOrEqualTo(Long value) {
            addCriterion("sys_platform_ext_invoice_id <=", value, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdIn(List<Long> values) {
            addCriterion("sys_platform_ext_invoice_id in", values, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdNotIn(List<Long> values) {
            addCriterion("sys_platform_ext_invoice_id not in", values, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdBetween(Long value1, Long value2) {
            addCriterion("sys_platform_ext_invoice_id between", value1, value2, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysPlatformExtInvoiceIdNotBetween(Long value1, Long value2) {
            addCriterion("sys_platform_ext_invoice_id not between", value1, value2, "sysPlatformExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdIsNull() {
            addCriterion("sys_supplier_ext_invoice_id is null");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdIsNotNull() {
            addCriterion("sys_supplier_ext_invoice_id is not null");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdEqualTo(Long value) {
            addCriterion("sys_supplier_ext_invoice_id =", value, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdNotEqualTo(Long value) {
            addCriterion("sys_supplier_ext_invoice_id <>", value, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdGreaterThan(Long value) {
            addCriterion("sys_supplier_ext_invoice_id >", value, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sys_supplier_ext_invoice_id >=", value, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdLessThan(Long value) {
            addCriterion("sys_supplier_ext_invoice_id <", value, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdLessThanOrEqualTo(Long value) {
            addCriterion("sys_supplier_ext_invoice_id <=", value, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdIn(List<Long> values) {
            addCriterion("sys_supplier_ext_invoice_id in", values, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdNotIn(List<Long> values) {
            addCriterion("sys_supplier_ext_invoice_id not in", values, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdBetween(Long value1, Long value2) {
            addCriterion("sys_supplier_ext_invoice_id between", value1, value2, "sysSupplierExtInvoiceId");
            return (Criteria) this;
        }

        public Criteria andSysSupplierExtInvoiceIdNotBetween(Long value1, Long value2) {
            addCriterion("sys_supplier_ext_invoice_id not between", value1, value2, "sysSupplierExtInvoiceId");
            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 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 andSaleIdIsNull() {
            addCriterion("sale_id is null");
            return (Criteria) this;
        }

        public Criteria andSaleIdIsNotNull() {
            addCriterion("sale_id is not null");
            return (Criteria) this;
        }

        public Criteria andSaleIdEqualTo(Long value) {
            addCriterion("sale_id =", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotEqualTo(Long value) {
            addCriterion("sale_id <>", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdGreaterThan(Long value) {
            addCriterion("sale_id >", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdGreaterThanOrEqualTo(Long value) {
            addCriterion("sale_id >=", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdLessThan(Long value) {
            addCriterion("sale_id <", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdLessThanOrEqualTo(Long value) {
            addCriterion("sale_id <=", value, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdIn(List<Long> values) {
            addCriterion("sale_id in", values, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotIn(List<Long> values) {
            addCriterion("sale_id not in", values, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdBetween(Long value1, Long value2) {
            addCriterion("sale_id between", value1, value2, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleIdNotBetween(Long value1, Long value2) {
            addCriterion("sale_id not between", value1, value2, "saleId");
            return (Criteria) this;
        }

        public Criteria andSaleNameIsNull() {
            addCriterion("sale_name is null");
            return (Criteria) this;
        }

        public Criteria andSaleNameIsNotNull() {
            addCriterion("sale_name is not null");
            return (Criteria) this;
        }

        public Criteria andSaleNameEqualTo(String value) {
            addCriterion("sale_name =", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameNotEqualTo(String value) {
            addCriterion("sale_name <>", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameGreaterThan(String value) {
            addCriterion("sale_name >", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameGreaterThanOrEqualTo(String value) {
            addCriterion("sale_name >=", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameLessThan(String value) {
            addCriterion("sale_name <", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameLessThanOrEqualTo(String value) {
            addCriterion("sale_name <=", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameLike(String value) {
            addCriterion("sale_name like", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameNotLike(String value) {
            addCriterion("sale_name not like", value, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameIn(List<String> values) {
            addCriterion("sale_name in", values, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameNotIn(List<String> values) {
            addCriterion("sale_name not in", values, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameBetween(String value1, String value2) {
            addCriterion("sale_name between", value1, value2, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleNameNotBetween(String value1, String value2) {
            addCriterion("sale_name not between", value1, value2, "saleName");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportIsNull() {
            addCriterion("sale_is_export is null");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportIsNotNull() {
            addCriterion("sale_is_export is not null");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportEqualTo(Integer value) {
            addCriterion("sale_is_export =", value, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportNotEqualTo(Integer value) {
            addCriterion("sale_is_export <>", value, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportGreaterThan(Integer value) {
            addCriterion("sale_is_export >", value, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportGreaterThanOrEqualTo(Integer value) {
            addCriterion("sale_is_export >=", value, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportLessThan(Integer value) {
            addCriterion("sale_is_export <", value, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportLessThanOrEqualTo(Integer value) {
            addCriterion("sale_is_export <=", value, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportIn(List<Integer> values) {
            addCriterion("sale_is_export in", values, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportNotIn(List<Integer> values) {
            addCriterion("sale_is_export not in", values, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportBetween(Integer value1, Integer value2) {
            addCriterion("sale_is_export between", value1, value2, "saleIsExport");
            return (Criteria) this;
        }

        public Criteria andSaleIsExportNotBetween(Integer value1, Integer value2) {
            addCriterion("sale_is_export not between", value1, value2, "saleIsExport");
            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 andApplyUserNameIsNull() {
            addCriterion("apply_user_name is null");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameIsNotNull() {
            addCriterion("apply_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameEqualTo(String value) {
            addCriterion("apply_user_name =", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotEqualTo(String value) {
            addCriterion("apply_user_name <>", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameGreaterThan(String value) {
            addCriterion("apply_user_name >", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("apply_user_name >=", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameLessThan(String value) {
            addCriterion("apply_user_name <", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameLessThanOrEqualTo(String value) {
            addCriterion("apply_user_name <=", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameLike(String value) {
            addCriterion("apply_user_name like", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotLike(String value) {
            addCriterion("apply_user_name not like", value, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameIn(List<String> values) {
            addCriterion("apply_user_name in", values, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotIn(List<String> values) {
            addCriterion("apply_user_name not in", values, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameBetween(String value1, String value2) {
            addCriterion("apply_user_name between", value1, value2, "applyUserName");
            return (Criteria) this;
        }

        public Criteria andApplyUserNameNotBetween(String value1, String value2) {
            addCriterion("apply_user_name not between", value1, value2, "applyUserName");
            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 andAuditUserNameIsNull() {
            addCriterion("audit_user_name is null");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameIsNotNull() {
            addCriterion("audit_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameEqualTo(String value) {
            addCriterion("audit_user_name =", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameNotEqualTo(String value) {
            addCriterion("audit_user_name <>", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameGreaterThan(String value) {
            addCriterion("audit_user_name >", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("audit_user_name >=", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameLessThan(String value) {
            addCriterion("audit_user_name <", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameLessThanOrEqualTo(String value) {
            addCriterion("audit_user_name <=", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameLike(String value) {
            addCriterion("audit_user_name like", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameNotLike(String value) {
            addCriterion("audit_user_name not like", value, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameIn(List<String> values) {
            addCriterion("audit_user_name in", values, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameNotIn(List<String> values) {
            addCriterion("audit_user_name not in", values, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameBetween(String value1, String value2) {
            addCriterion("audit_user_name between", value1, value2, "auditUserName");
            return (Criteria) this;
        }

        public Criteria andAuditUserNameNotBetween(String value1, String value2) {
            addCriterion("audit_user_name not between", value1, value2, "auditUserName");
            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 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 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 andMakeInvoiceUserNameIsNull() {
            addCriterion("make_invoice_user_name is null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameIsNotNull() {
            addCriterion("make_invoice_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameEqualTo(String value) {
            addCriterion("make_invoice_user_name =", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameNotEqualTo(String value) {
            addCriterion("make_invoice_user_name <>", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameGreaterThan(String value) {
            addCriterion("make_invoice_user_name >", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("make_invoice_user_name >=", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameLessThan(String value) {
            addCriterion("make_invoice_user_name <", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameLessThanOrEqualTo(String value) {
            addCriterion("make_invoice_user_name <=", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameLike(String value) {
            addCriterion("make_invoice_user_name like", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameNotLike(String value) {
            addCriterion("make_invoice_user_name not like", value, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameIn(List<String> values) {
            addCriterion("make_invoice_user_name in", values, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameNotIn(List<String> values) {
            addCriterion("make_invoice_user_name not in", values, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameBetween(String value1, String value2) {
            addCriterion("make_invoice_user_name between", value1, value2, "makeInvoiceUserName");
            return (Criteria) this;
        }

        public Criteria andMakeInvoiceUserNameNotBetween(String value1, String value2) {
            addCriterion("make_invoice_user_name not between", value1, value2, "makeInvoiceUserName");
            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 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 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 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 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 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 andPayoffAccountStatusIsNull() {
            addCriterion("payoff_account_status is null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusIsNotNull() {
            addCriterion("payoff_account_status is not null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusEqualTo(Integer value) {
            addCriterion("payoff_account_status =", value, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusNotEqualTo(Integer value) {
            addCriterion("payoff_account_status <>", value, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusGreaterThan(Integer value) {
            addCriterion("payoff_account_status >", value, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("payoff_account_status >=", value, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusLessThan(Integer value) {
            addCriterion("payoff_account_status <", value, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusLessThanOrEqualTo(Integer value) {
            addCriterion("payoff_account_status <=", value, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusIn(List<Integer> values) {
            addCriterion("payoff_account_status in", values, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusNotIn(List<Integer> values) {
            addCriterion("payoff_account_status not in", values, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusBetween(Integer value1, Integer value2) {
            addCriterion("payoff_account_status between", value1, value2, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("payoff_account_status not between", value1, value2, "payoffAccountStatus");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordIsNull() {
            addCriterion("payoff_account_mode_record is null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordIsNotNull() {
            addCriterion("payoff_account_mode_record is not null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordEqualTo(Integer value) {
            addCriterion("payoff_account_mode_record =", value, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordNotEqualTo(Integer value) {
            addCriterion("payoff_account_mode_record <>", value, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordGreaterThan(Integer value) {
            addCriterion("payoff_account_mode_record >", value, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordGreaterThanOrEqualTo(Integer value) {
            addCriterion("payoff_account_mode_record >=", value, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordLessThan(Integer value) {
            addCriterion("payoff_account_mode_record <", value, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordLessThanOrEqualTo(Integer value) {
            addCriterion("payoff_account_mode_record <=", value, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordIn(List<Integer> values) {
            addCriterion("payoff_account_mode_record in", values, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordNotIn(List<Integer> values) {
            addCriterion("payoff_account_mode_record not in", values, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordBetween(Integer value1, Integer value2) {
            addCriterion("payoff_account_mode_record between", value1, value2, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountModeRecordNotBetween(Integer value1, Integer value2) {
            addCriterion("payoff_account_mode_record not between", value1, value2, "payoffAccountModeRecord");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdIsNull() {
            addCriterion("payoff_account_user_id is null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdIsNotNull() {
            addCriterion("payoff_account_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdEqualTo(Long value) {
            addCriterion("payoff_account_user_id =", value, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdNotEqualTo(Long value) {
            addCriterion("payoff_account_user_id <>", value, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdGreaterThan(Long value) {
            addCriterion("payoff_account_user_id >", value, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("payoff_account_user_id >=", value, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdLessThan(Long value) {
            addCriterion("payoff_account_user_id <", value, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdLessThanOrEqualTo(Long value) {
            addCriterion("payoff_account_user_id <=", value, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdIn(List<Long> values) {
            addCriterion("payoff_account_user_id in", values, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdNotIn(List<Long> values) {
            addCriterion("payoff_account_user_id not in", values, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdBetween(Long value1, Long value2) {
            addCriterion("payoff_account_user_id between", value1, value2, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountUserIdNotBetween(Long value1, Long value2) {
            addCriterion("payoff_account_user_id not between", value1, value2, "payoffAccountUserId");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeIsNull() {
            addCriterion("payoff_account_time is null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeIsNotNull() {
            addCriterion("payoff_account_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeEqualTo(Date value) {
            addCriterion("payoff_account_time =", value, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeNotEqualTo(Date value) {
            addCriterion("payoff_account_time <>", value, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeGreaterThan(Date value) {
            addCriterion("payoff_account_time >", value, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("payoff_account_time >=", value, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeLessThan(Date value) {
            addCriterion("payoff_account_time <", value, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeLessThanOrEqualTo(Date value) {
            addCriterion("payoff_account_time <=", value, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeIn(List<Date> values) {
            addCriterion("payoff_account_time in", values, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeNotIn(List<Date> values) {
            addCriterion("payoff_account_time not in", values, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeBetween(Date value1, Date value2) {
            addCriterion("payoff_account_time between", value1, value2, "payoffAccountTime");
            return (Criteria) this;
        }

        public Criteria andPayoffAccountTimeNotBetween(Date value1, Date value2) {
            addCriterion("payoff_account_time not between", value1, value2, "payoffAccountTime");
            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 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 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;
        }
    }

    /**
    invoice_apply_supplier
     *
     * @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_supplier
     *
     * @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);
        }
    }
}