package com.goafanti.common.model;

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

public class TOrderInvoiceExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public TOrderInvoiceExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		public Criteria andOrderNoIsNull() {
			addCriterion("order_no is null");
			return (Criteria) this;
		}

		public Criteria andOrderNoIsNotNull() {
			addCriterion("order_no is not null");
			return (Criteria) this;
		}

		public Criteria andOrderNoEqualTo(String value) {
			addCriterion("order_no =", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoNotEqualTo(String value) {
			addCriterion("order_no <>", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoGreaterThan(String value) {
			addCriterion("order_no >", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoGreaterThanOrEqualTo(String value) {
			addCriterion("order_no >=", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoLessThan(String value) {
			addCriterion("order_no <", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoLessThanOrEqualTo(String value) {
			addCriterion("order_no <=", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoLike(String value) {
			addCriterion("order_no like", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoNotLike(String value) {
			addCriterion("order_no not like", value, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoIn(List<String> values) {
			addCriterion("order_no in", values, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoNotIn(List<String> values) {
			addCriterion("order_no not in", values, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoBetween(String value1, String value2) {
			addCriterion("order_no between", value1, value2, "orderNo");
			return (Criteria) this;
		}

		public Criteria andOrderNoNotBetween(String value1, String value2) {
			addCriterion("order_no not between", value1, value2, "orderNo");
			return (Criteria) this;
		}

		public Criteria andTypeIsNull() {
			addCriterion("type is null");
			return (Criteria) this;
		}

		public Criteria andTypeIsNotNull() {
			addCriterion("type is not null");
			return (Criteria) this;
		}

		public Criteria andTypeEqualTo(Integer value) {
			addCriterion("type =", value, "type");
			return (Criteria) this;
		}

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

		public Criteria andTypeGreaterThan(Integer value) {
			addCriterion("type >", value, "type");
			return (Criteria) this;
		}

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

		public Criteria andTypeLessThan(Integer value) {
			addCriterion("type <", value, "type");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

		public Criteria andStatusGreaterThan(Integer value) {
			addCriterion("status >", value, "status");
			return (Criteria) this;
		}

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

		public Criteria andStatusLessThan(Integer value) {
			addCriterion("status <", value, "status");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andRejectReasonIsNull() {
			addCriterion("reject_reason is null");
			return (Criteria) this;
		}

		public Criteria andRejectReasonIsNotNull() {
			addCriterion("reject_reason is not null");
			return (Criteria) this;
		}

		public Criteria andRejectReasonEqualTo(String value) {
			addCriterion("reject_reason =", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonNotEqualTo(String value) {
			addCriterion("reject_reason <>", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonGreaterThan(String value) {
			addCriterion("reject_reason >", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonGreaterThanOrEqualTo(String value) {
			addCriterion("reject_reason >=", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonLessThan(String value) {
			addCriterion("reject_reason <", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonLessThanOrEqualTo(String value) {
			addCriterion("reject_reason <=", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonLike(String value) {
			addCriterion("reject_reason like", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonNotLike(String value) {
			addCriterion("reject_reason not like", value, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonIn(List<String> values) {
			addCriterion("reject_reason in", values, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonNotIn(List<String> values) {
			addCriterion("reject_reason not in", values, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonBetween(String value1, String value2) {
			addCriterion("reject_reason between", value1, value2, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRejectReasonNotBetween(String value1, String value2) {
			addCriterion("reject_reason not between", value1, value2, "rejectReason");
			return (Criteria) this;
		}

		public Criteria andRemarksIsNull() {
			addCriterion("remarks is null");
			return (Criteria) this;
		}

		public Criteria andRemarksIsNotNull() {
			addCriterion("remarks is not null");
			return (Criteria) this;
		}

		public Criteria andRemarksEqualTo(String value) {
			addCriterion("remarks =", value, "remarks");
			return (Criteria) this;
		}

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

		public Criteria andRemarksGreaterThan(String value) {
			addCriterion("remarks >", value, "remarks");
			return (Criteria) this;
		}

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

		public Criteria andRemarksLessThan(String value) {
			addCriterion("remarks <", value, "remarks");
			return (Criteria) this;
		}

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

		public Criteria andRemarksLike(String value) {
			addCriterion("remarks like", value, "remarks");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andRemarksNotBetween(String value1, String value2) {
			addCriterion("remarks not between", value1, value2, "remarks");
			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 andUnitNameIsNull() {
			addCriterion("unit_name is null");
			return (Criteria) this;
		}

		public Criteria andUnitNameIsNotNull() {
			addCriterion("unit_name is not null");
			return (Criteria) this;
		}

		public Criteria andUnitNameEqualTo(String value) {
			addCriterion("unit_name =", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameNotEqualTo(String value) {
			addCriterion("unit_name <>", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameGreaterThan(String value) {
			addCriterion("unit_name >", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameGreaterThanOrEqualTo(String value) {
			addCriterion("unit_name >=", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameLessThan(String value) {
			addCriterion("unit_name <", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameLessThanOrEqualTo(String value) {
			addCriterion("unit_name <=", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameLike(String value) {
			addCriterion("unit_name like", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameNotLike(String value) {
			addCriterion("unit_name not like", value, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameIn(List<String> values) {
			addCriterion("unit_name in", values, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameNotIn(List<String> values) {
			addCriterion("unit_name not in", values, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameBetween(String value1, String value2) {
			addCriterion("unit_name between", value1, value2, "unitName");
			return (Criteria) this;
		}

		public Criteria andUnitNameNotBetween(String value1, String value2) {
			addCriterion("unit_name not between", value1, value2, "unitName");
			return (Criteria) this;
		}

		public Criteria andTaxNumberIsNull() {
			addCriterion("tax_number is null");
			return (Criteria) this;
		}

		public Criteria andTaxNumberIsNotNull() {
			addCriterion("tax_number is not null");
			return (Criteria) this;
		}

		public Criteria andTaxNumberEqualTo(String value) {
			addCriterion("tax_number =", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberNotEqualTo(String value) {
			addCriterion("tax_number <>", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberGreaterThan(String value) {
			addCriterion("tax_number >", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberGreaterThanOrEqualTo(String value) {
			addCriterion("tax_number >=", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberLessThan(String value) {
			addCriterion("tax_number <", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberLessThanOrEqualTo(String value) {
			addCriterion("tax_number <=", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberLike(String value) {
			addCriterion("tax_number like", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberNotLike(String value) {
			addCriterion("tax_number not like", value, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberIn(List<String> values) {
			addCriterion("tax_number in", values, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberNotIn(List<String> values) {
			addCriterion("tax_number not in", values, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberBetween(String value1, String value2) {
			addCriterion("tax_number between", value1, value2, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andTaxNumberNotBetween(String value1, String value2) {
			addCriterion("tax_number not between", value1, value2, "taxNumber");
			return (Criteria) this;
		}

		public Criteria andAmountIsNull() {
			addCriterion("amount is null");
			return (Criteria) this;
		}

		public Criteria andAmountIsNotNull() {
			addCriterion("amount is not null");
			return (Criteria) this;
		}

		public Criteria andAmountEqualTo(BigDecimal value) {
			addCriterion("amount =", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountNotEqualTo(BigDecimal value) {
			addCriterion("amount <>", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountGreaterThan(BigDecimal value) {
			addCriterion("amount >", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("amount >=", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountLessThan(BigDecimal value) {
			addCriterion("amount <", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("amount <=", value, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountIn(List<BigDecimal> values) {
			addCriterion("amount in", values, "amount");
			return (Criteria) this;
		}

		public Criteria andAmountNotIn(List<BigDecimal> values) {
			addCriterion("amount not in", values, "amount");
			return (Criteria) this;
		}

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

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

		public Criteria andBanksIsNull() {
			addCriterion("banks is null");
			return (Criteria) this;
		}

		public Criteria andBanksIsNotNull() {
			addCriterion("banks is not null");
			return (Criteria) this;
		}

		public Criteria andBanksEqualTo(String value) {
			addCriterion("banks =", value, "banks");
			return (Criteria) this;
		}

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

		public Criteria andBanksGreaterThan(String value) {
			addCriterion("banks >", value, "banks");
			return (Criteria) this;
		}

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

		public Criteria andBanksLessThan(String value) {
			addCriterion("banks <", value, "banks");
			return (Criteria) this;
		}

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

		public Criteria andBanksLike(String value) {
			addCriterion("banks like", value, "banks");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andContentIsNull() {
			addCriterion("content is null");
			return (Criteria) this;
		}

		public Criteria andContentIsNotNull() {
			addCriterion("content is not null");
			return (Criteria) this;
		}

		public Criteria andContentEqualTo(String value) {
			addCriterion("content =", value, "content");
			return (Criteria) this;
		}

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

		public Criteria andContentGreaterThan(String value) {
			addCriterion("content >", value, "content");
			return (Criteria) this;
		}

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

		public Criteria andContentLessThan(String value) {
			addCriterion("content <", value, "content");
			return (Criteria) this;
		}

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

		public Criteria andContentLike(String value) {
			addCriterion("content like", value, "content");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andUnitAddressIsNull() {
			addCriterion("unit_address is null");
			return (Criteria) this;
		}

		public Criteria andUnitAddressIsNotNull() {
			addCriterion("unit_address is not null");
			return (Criteria) this;
		}

		public Criteria andUnitAddressEqualTo(String value) {
			addCriterion("unit_address =", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressNotEqualTo(String value) {
			addCriterion("unit_address <>", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressGreaterThan(String value) {
			addCriterion("unit_address >", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressGreaterThanOrEqualTo(String value) {
			addCriterion("unit_address >=", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressLessThan(String value) {
			addCriterion("unit_address <", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressLessThanOrEqualTo(String value) {
			addCriterion("unit_address <=", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressLike(String value) {
			addCriterion("unit_address like", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressNotLike(String value) {
			addCriterion("unit_address not like", value, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressIn(List<String> values) {
			addCriterion("unit_address in", values, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressNotIn(List<String> values) {
			addCriterion("unit_address not in", values, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressBetween(String value1, String value2) {
			addCriterion("unit_address between", value1, value2, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andUnitAddressNotBetween(String value1, String value2) {
			addCriterion("unit_address not between", value1, value2, "unitAddress");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksIsNull() {
			addCriterion("invoice_remarks is null");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksIsNotNull() {
			addCriterion("invoice_remarks is not null");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksEqualTo(String value) {
			addCriterion("invoice_remarks =", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksNotEqualTo(String value) {
			addCriterion("invoice_remarks <>", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksGreaterThan(String value) {
			addCriterion("invoice_remarks >", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksGreaterThanOrEqualTo(String value) {
			addCriterion("invoice_remarks >=", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksLessThan(String value) {
			addCriterion("invoice_remarks <", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksLessThanOrEqualTo(String value) {
			addCriterion("invoice_remarks <=", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksLike(String value) {
			addCriterion("invoice_remarks like", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksNotLike(String value) {
			addCriterion("invoice_remarks not like", value, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksIn(List<String> values) {
			addCriterion("invoice_remarks in", values, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksNotIn(List<String> values) {
			addCriterion("invoice_remarks not in", values, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksBetween(String value1, String value2) {
			addCriterion("invoice_remarks between", value1, value2, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andInvoiceRemarksNotBetween(String value1, String value2) {
			addCriterion("invoice_remarks not between", value1, value2, "invoiceRemarks");
			return (Criteria) this;
		}

		public Criteria andUnitMobileIsNull() {
			addCriterion("unit_mobile is null");
			return (Criteria) this;
		}

		public Criteria andUnitMobileIsNotNull() {
			addCriterion("unit_mobile is not null");
			return (Criteria) this;
		}

		public Criteria andUnitMobileEqualTo(String value) {
			addCriterion("unit_mobile =", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileNotEqualTo(String value) {
			addCriterion("unit_mobile <>", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileGreaterThan(String value) {
			addCriterion("unit_mobile >", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileGreaterThanOrEqualTo(String value) {
			addCriterion("unit_mobile >=", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileLessThan(String value) {
			addCriterion("unit_mobile <", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileLessThanOrEqualTo(String value) {
			addCriterion("unit_mobile <=", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileLike(String value) {
			addCriterion("unit_mobile like", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileNotLike(String value) {
			addCriterion("unit_mobile not like", value, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileIn(List<String> values) {
			addCriterion("unit_mobile in", values, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileNotIn(List<String> values) {
			addCriterion("unit_mobile not in", values, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileBetween(String value1, String value2) {
			addCriterion("unit_mobile between", value1, value2, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andUnitMobileNotBetween(String value1, String value2) {
			addCriterion("unit_mobile not between", value1, value2, "unitMobile");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlIsNull() {
			addCriterion("voucher_url is null");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlIsNotNull() {
			addCriterion("voucher_url is not null");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlEqualTo(String value) {
			addCriterion("voucher_url =", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlNotEqualTo(String value) {
			addCriterion("voucher_url <>", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlGreaterThan(String value) {
			addCriterion("voucher_url >", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlGreaterThanOrEqualTo(String value) {
			addCriterion("voucher_url >=", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlLessThan(String value) {
			addCriterion("voucher_url <", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlLessThanOrEqualTo(String value) {
			addCriterion("voucher_url <=", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlLike(String value) {
			addCriterion("voucher_url like", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlNotLike(String value) {
			addCriterion("voucher_url not like", value, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlIn(List<String> values) {
			addCriterion("voucher_url in", values, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlNotIn(List<String> values) {
			addCriterion("voucher_url not in", values, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlBetween(String value1, String value2) {
			addCriterion("voucher_url between", value1, value2, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andVoucherUrlNotBetween(String value1, String value2) {
			addCriterion("voucher_url not between", value1, value2, "voucherUrl");
			return (Criteria) this;
		}

		public Criteria andPostIsNull() {
			addCriterion("post is null");
			return (Criteria) this;
		}

		public Criteria andPostIsNotNull() {
			addCriterion("post is not null");
			return (Criteria) this;
		}

		public Criteria andPostEqualTo(Integer value) {
			addCriterion("post =", value, "post");
			return (Criteria) this;
		}

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

		public Criteria andPostGreaterThan(Integer value) {
			addCriterion("post >", value, "post");
			return (Criteria) this;
		}

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

		public Criteria andPostLessThan(Integer value) {
			addCriterion("post <", value, "post");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andAddresseeIsNull() {
			addCriterion("addressee is null");
			return (Criteria) this;
		}

		public Criteria andAddresseeIsNotNull() {
			addCriterion("addressee is not null");
			return (Criteria) this;
		}

		public Criteria andAddresseeEqualTo(String value) {
			addCriterion("addressee =", value, "addressee");
			return (Criteria) this;
		}

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

		public Criteria andAddresseeGreaterThan(String value) {
			addCriterion("addressee >", value, "addressee");
			return (Criteria) this;
		}

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

		public Criteria andAddresseeLessThan(String value) {
			addCriterion("addressee <", value, "addressee");
			return (Criteria) this;
		}

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

		public Criteria andAddresseeLike(String value) {
			addCriterion("addressee like", value, "addressee");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andAddresseeMobileIsNull() {
			addCriterion("addressee_mobile is null");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileIsNotNull() {
			addCriterion("addressee_mobile is not null");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileEqualTo(String value) {
			addCriterion("addressee_mobile =", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileNotEqualTo(String value) {
			addCriterion("addressee_mobile <>", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileGreaterThan(String value) {
			addCriterion("addressee_mobile >", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileGreaterThanOrEqualTo(String value) {
			addCriterion("addressee_mobile >=", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileLessThan(String value) {
			addCriterion("addressee_mobile <", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileLessThanOrEqualTo(String value) {
			addCriterion("addressee_mobile <=", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileLike(String value) {
			addCriterion("addressee_mobile like", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileNotLike(String value) {
			addCriterion("addressee_mobile not like", value, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileIn(List<String> values) {
			addCriterion("addressee_mobile in", values, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileNotIn(List<String> values) {
			addCriterion("addressee_mobile not in", values, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileBetween(String value1, String value2) {
			addCriterion("addressee_mobile between", value1, value2, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeMobileNotBetween(String value1, String value2) {
			addCriterion("addressee_mobile not between", value1, value2, "addresseeMobile");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceIsNull() {
			addCriterion("addressee_province is null");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceIsNotNull() {
			addCriterion("addressee_province is not null");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceEqualTo(Integer value) {
			addCriterion("addressee_province =", value, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceNotEqualTo(Integer value) {
			addCriterion("addressee_province <>", value, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceGreaterThan(Integer value) {
			addCriterion("addressee_province >", value, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceGreaterThanOrEqualTo(Integer value) {
			addCriterion("addressee_province >=", value, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceLessThan(Integer value) {
			addCriterion("addressee_province <", value, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceLessThanOrEqualTo(Integer value) {
			addCriterion("addressee_province <=", value, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceIn(List<Integer> values) {
			addCriterion("addressee_province in", values, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceNotIn(List<Integer> values) {
			addCriterion("addressee_province not in", values, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceBetween(Integer value1, Integer value2) {
			addCriterion("addressee_province between", value1, value2, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeProvinceNotBetween(Integer value1, Integer value2) {
			addCriterion("addressee_province not between", value1, value2, "addresseeProvince");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityIsNull() {
			addCriterion("addressee_city is null");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityIsNotNull() {
			addCriterion("addressee_city is not null");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityEqualTo(Integer value) {
			addCriterion("addressee_city =", value, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityNotEqualTo(Integer value) {
			addCriterion("addressee_city <>", value, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityGreaterThan(Integer value) {
			addCriterion("addressee_city >", value, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityGreaterThanOrEqualTo(Integer value) {
			addCriterion("addressee_city >=", value, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityLessThan(Integer value) {
			addCriterion("addressee_city <", value, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityLessThanOrEqualTo(Integer value) {
			addCriterion("addressee_city <=", value, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityIn(List<Integer> values) {
			addCriterion("addressee_city in", values, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityNotIn(List<Integer> values) {
			addCriterion("addressee_city not in", values, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityBetween(Integer value1, Integer value2) {
			addCriterion("addressee_city between", value1, value2, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeCityNotBetween(Integer value1, Integer value2) {
			addCriterion("addressee_city not between", value1, value2, "addresseeCity");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaIsNull() {
			addCriterion("addressee_area is null");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaIsNotNull() {
			addCriterion("addressee_area is not null");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaEqualTo(Integer value) {
			addCriterion("addressee_area =", value, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaNotEqualTo(Integer value) {
			addCriterion("addressee_area <>", value, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaGreaterThan(Integer value) {
			addCriterion("addressee_area >", value, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaGreaterThanOrEqualTo(Integer value) {
			addCriterion("addressee_area >=", value, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaLessThan(Integer value) {
			addCriterion("addressee_area <", value, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaLessThanOrEqualTo(Integer value) {
			addCriterion("addressee_area <=", value, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaIn(List<Integer> values) {
			addCriterion("addressee_area in", values, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaNotIn(List<Integer> values) {
			addCriterion("addressee_area not in", values, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaBetween(Integer value1, Integer value2) {
			addCriterion("addressee_area between", value1, value2, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andAddresseeAreaNotBetween(Integer value1, Integer value2) {
			addCriterion("addressee_area not between", value1, value2, "addresseeArea");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressIsNull() {
			addCriterion("recipient_address is null");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressIsNotNull() {
			addCriterion("recipient_address is not null");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressEqualTo(String value) {
			addCriterion("recipient_address =", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressNotEqualTo(String value) {
			addCriterion("recipient_address <>", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressGreaterThan(String value) {
			addCriterion("recipient_address >", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressGreaterThanOrEqualTo(String value) {
			addCriterion("recipient_address >=", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressLessThan(String value) {
			addCriterion("recipient_address <", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressLessThanOrEqualTo(String value) {
			addCriterion("recipient_address <=", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressLike(String value) {
			addCriterion("recipient_address like", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressNotLike(String value) {
			addCriterion("recipient_address not like", value, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressIn(List<String> values) {
			addCriterion("recipient_address in", values, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressNotIn(List<String> values) {
			addCriterion("recipient_address not in", values, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressBetween(String value1, String value2) {
			addCriterion("recipient_address between", value1, value2, "recipientAddress");
			return (Criteria) this;
		}

		public Criteria andRecipientAddressNotBetween(String value1, String value2) {
			addCriterion("recipient_address not between", value1, value2, "recipientAddress");
			return (Criteria) this;
		}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		public Criteria andApprovalIsNull() {
			addCriterion("approval is null");
			return (Criteria) this;
		}

		public Criteria andApprovalIsNotNull() {
			addCriterion("approval is not null");
			return (Criteria) this;
		}

		public Criteria andApprovalEqualTo(Integer value) {
			addCriterion("approval =", value, "approval");
			return (Criteria) this;
		}

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

		public Criteria andApprovalGreaterThan(Integer value) {
			addCriterion("approval >", value, "approval");
			return (Criteria) this;
		}

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

		public Criteria andApprovalLessThan(Integer value) {
			addCriterion("approval <", value, "approval");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andAlreadyAmountIsNull() {
			addCriterion("already_amount is null");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountIsNotNull() {
			addCriterion("already_amount is not null");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountEqualTo(BigDecimal value) {
			addCriterion("already_amount =", value, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountNotEqualTo(BigDecimal value) {
			addCriterion("already_amount <>", value, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountGreaterThan(BigDecimal value) {
			addCriterion("already_amount >", value, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("already_amount >=", value, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountLessThan(BigDecimal value) {
			addCriterion("already_amount <", value, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("already_amount <=", value, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountIn(List<BigDecimal> values) {
			addCriterion("already_amount in", values, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountNotIn(List<BigDecimal> values) {
			addCriterion("already_amount not in", values, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("already_amount between", value1, value2, "alreadyAmount");
			return (Criteria) this;
		}

		public Criteria andAlreadyAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("already_amount not between", value1, value2, "alreadyAmount");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_invoice
	 * @mbg.generated  Fri May 17 09:46:50 CST 2019
	 */
	public static class Criterion {
		private String condition;
		private Object value;
		private Object secondValue;
		private boolean noValue;
		private boolean singleValue;
		private boolean betweenValue;
		private boolean listValue;
		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

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

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

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

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

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

	/**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_order_invoice
     *
     * @mbg.generated do_not_delete_during_merge Wed May 15 10:27:32 CST 2019
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }
}