package com.goafanti.common.model;

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

public class TOrderMidExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public TOrderMidExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	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_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	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_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	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_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	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_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	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 andSalesmanIdIsNull() {
			addCriterion("salesman_id is null");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdIsNotNull() {
			addCriterion("salesman_id is not null");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdEqualTo(String value) {
			addCriterion("salesman_id =", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdNotEqualTo(String value) {
			addCriterion("salesman_id <>", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdGreaterThan(String value) {
			addCriterion("salesman_id >", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdGreaterThanOrEqualTo(String value) {
			addCriterion("salesman_id >=", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdLessThan(String value) {
			addCriterion("salesman_id <", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdLessThanOrEqualTo(String value) {
			addCriterion("salesman_id <=", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdLike(String value) {
			addCriterion("salesman_id like", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdNotLike(String value) {
			addCriterion("salesman_id not like", value, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdIn(List<String> values) {
			addCriterion("salesman_id in", values, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdNotIn(List<String> values) {
			addCriterion("salesman_id not in", values, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdBetween(String value1, String value2) {
			addCriterion("salesman_id between", value1, value2, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andSalesmanIdNotBetween(String value1, String value2) {
			addCriterion("salesman_id not between", value1, value2, "salesmanId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdIsNull() {
			addCriterion("finance_id is null");
			return (Criteria) this;
		}

		public Criteria andFinanceIdIsNotNull() {
			addCriterion("finance_id is not null");
			return (Criteria) this;
		}

		public Criteria andFinanceIdEqualTo(String value) {
			addCriterion("finance_id =", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdNotEqualTo(String value) {
			addCriterion("finance_id <>", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdGreaterThan(String value) {
			addCriterion("finance_id >", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdGreaterThanOrEqualTo(String value) {
			addCriterion("finance_id >=", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdLessThan(String value) {
			addCriterion("finance_id <", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdLessThanOrEqualTo(String value) {
			addCriterion("finance_id <=", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdLike(String value) {
			addCriterion("finance_id like", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdNotLike(String value) {
			addCriterion("finance_id not like", value, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdIn(List<String> values) {
			addCriterion("finance_id in", values, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdNotIn(List<String> values) {
			addCriterion("finance_id not in", values, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdBetween(String value1, String value2) {
			addCriterion("finance_id between", value1, value2, "financeId");
			return (Criteria) this;
		}

		public Criteria andFinanceIdNotBetween(String value1, String value2) {
			addCriterion("finance_id not between", value1, value2, "financeId");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameIsNull() {
			addCriterion("salesman_name is null");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameIsNotNull() {
			addCriterion("salesman_name is not null");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameEqualTo(String value) {
			addCriterion("salesman_name =", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameNotEqualTo(String value) {
			addCriterion("salesman_name <>", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameGreaterThan(String value) {
			addCriterion("salesman_name >", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameGreaterThanOrEqualTo(String value) {
			addCriterion("salesman_name >=", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameLessThan(String value) {
			addCriterion("salesman_name <", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameLessThanOrEqualTo(String value) {
			addCriterion("salesman_name <=", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameLike(String value) {
			addCriterion("salesman_name like", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameNotLike(String value) {
			addCriterion("salesman_name not like", value, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameIn(List<String> values) {
			addCriterion("salesman_name in", values, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameNotIn(List<String> values) {
			addCriterion("salesman_name not in", values, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameBetween(String value1, String value2) {
			addCriterion("salesman_name between", value1, value2, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andSalesmanNameNotBetween(String value1, String value2) {
			addCriterion("salesman_name not between", value1, value2, "salesmanName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameIsNull() {
			addCriterion("finance_name is null");
			return (Criteria) this;
		}

		public Criteria andFinanceNameIsNotNull() {
			addCriterion("finance_name is not null");
			return (Criteria) this;
		}

		public Criteria andFinanceNameEqualTo(String value) {
			addCriterion("finance_name =", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameNotEqualTo(String value) {
			addCriterion("finance_name <>", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameGreaterThan(String value) {
			addCriterion("finance_name >", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameGreaterThanOrEqualTo(String value) {
			addCriterion("finance_name >=", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameLessThan(String value) {
			addCriterion("finance_name <", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameLessThanOrEqualTo(String value) {
			addCriterion("finance_name <=", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameLike(String value) {
			addCriterion("finance_name like", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameNotLike(String value) {
			addCriterion("finance_name not like", value, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameIn(List<String> values) {
			addCriterion("finance_name in", values, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameNotIn(List<String> values) {
			addCriterion("finance_name not in", values, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameBetween(String value1, String value2) {
			addCriterion("finance_name between", value1, value2, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinanceNameNotBetween(String value1, String value2) {
			addCriterion("finance_name not between", value1, value2, "financeName");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesIsNull() {
			addCriterion("final_receivables is null");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesIsNotNull() {
			addCriterion("final_receivables is not null");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesEqualTo(BigDecimal value) {
			addCriterion("final_receivables =", value, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesNotEqualTo(BigDecimal value) {
			addCriterion("final_receivables <>", value, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesGreaterThan(BigDecimal value) {
			addCriterion("final_receivables >", value, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("final_receivables >=", value, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesLessThan(BigDecimal value) {
			addCriterion("final_receivables <", value, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesLessThanOrEqualTo(BigDecimal value) {
			addCriterion("final_receivables <=", value, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesIn(List<BigDecimal> values) {
			addCriterion("final_receivables in", values, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesNotIn(List<BigDecimal> values) {
			addCriterion("final_receivables not in", values, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("final_receivables between", value1, value2, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("final_receivables not between", value1, value2, "finalReceivables");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeIsNull() {
			addCriterion("final_Receivables_time is null");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeIsNotNull() {
			addCriterion("final_Receivables_time is not null");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeEqualTo(Date value) {
			addCriterion("final_Receivables_time =", value, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeNotEqualTo(Date value) {
			addCriterion("final_Receivables_time <>", value, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeGreaterThan(Date value) {
			addCriterion("final_Receivables_time >", value, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("final_Receivables_time >=", value, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeLessThan(Date value) {
			addCriterion("final_Receivables_time <", value, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeLessThanOrEqualTo(Date value) {
			addCriterion("final_Receivables_time <=", value, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeIn(List<Date> values) {
			addCriterion("final_Receivables_time in", values, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeNotIn(List<Date> values) {
			addCriterion("final_Receivables_time not in", values, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeBetween(Date value1, Date value2) {
			addCriterion("final_Receivables_time between", value1, value2, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andFinalReceivablesTimeNotBetween(Date value1, Date value2) {
			addCriterion("final_Receivables_time not between", value1, value2, "finalReceivablesTime");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountIsNull() {
			addCriterion("invoice_amount is null");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountIsNotNull() {
			addCriterion("invoice_amount is not null");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountEqualTo(BigDecimal value) {
			addCriterion("invoice_amount =", value, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountNotEqualTo(BigDecimal value) {
			addCriterion("invoice_amount <>", value, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountGreaterThan(BigDecimal value) {
			addCriterion("invoice_amount >", value, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("invoice_amount >=", value, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountLessThan(BigDecimal value) {
			addCriterion("invoice_amount <", value, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("invoice_amount <=", value, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountIn(List<BigDecimal> values) {
			addCriterion("invoice_amount in", values, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountNotIn(List<BigDecimal> values) {
			addCriterion("invoice_amount not in", values, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("invoice_amount between", value1, value2, "invoiceAmount");
			return (Criteria) this;
		}

		public Criteria andInvoiceAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("invoice_amount not between", value1, value2, "invoiceAmount");
			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 andBuyerNameIsNull() {
			addCriterion("buyer_name is null");
			return (Criteria) this;
		}

		public Criteria andBuyerNameIsNotNull() {
			addCriterion("buyer_name is not null");
			return (Criteria) this;
		}

		public Criteria andBuyerNameEqualTo(String value) {
			addCriterion("buyer_name =", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameNotEqualTo(String value) {
			addCriterion("buyer_name <>", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameGreaterThan(String value) {
			addCriterion("buyer_name >", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameGreaterThanOrEqualTo(String value) {
			addCriterion("buyer_name >=", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameLessThan(String value) {
			addCriterion("buyer_name <", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameLessThanOrEqualTo(String value) {
			addCriterion("buyer_name <=", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameLike(String value) {
			addCriterion("buyer_name like", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameNotLike(String value) {
			addCriterion("buyer_name not like", value, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameIn(List<String> values) {
			addCriterion("buyer_name in", values, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameNotIn(List<String> values) {
			addCriterion("buyer_name not in", values, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameBetween(String value1, String value2) {
			addCriterion("buyer_name between", value1, value2, "buyerName");
			return (Criteria) this;
		}

		public Criteria andBuyerNameNotBetween(String value1, String value2) {
			addCriterion("buyer_name not between", value1, value2, "buyerName");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesIsNull() {
			addCriterion("order_receivables is null");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesIsNotNull() {
			addCriterion("order_receivables is not null");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesEqualTo(BigDecimal value) {
			addCriterion("order_receivables =", value, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesNotEqualTo(BigDecimal value) {
			addCriterion("order_receivables <>", value, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesGreaterThan(BigDecimal value) {
			addCriterion("order_receivables >", value, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("order_receivables >=", value, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesLessThan(BigDecimal value) {
			addCriterion("order_receivables <", value, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesLessThanOrEqualTo(BigDecimal value) {
			addCriterion("order_receivables <=", value, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesIn(List<BigDecimal> values) {
			addCriterion("order_receivables in", values, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesNotIn(List<BigDecimal> values) {
			addCriterion("order_receivables not in", values, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("order_receivables between", value1, value2, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderReceivablesNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("order_receivables not between", value1, value2, "orderReceivables");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsIsNull() {
			addCriterion("order_arrears is null");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsIsNotNull() {
			addCriterion("order_arrears is not null");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsEqualTo(BigDecimal value) {
			addCriterion("order_arrears =", value, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsNotEqualTo(BigDecimal value) {
			addCriterion("order_arrears <>", value, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsGreaterThan(BigDecimal value) {
			addCriterion("order_arrears >", value, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("order_arrears >=", value, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsLessThan(BigDecimal value) {
			addCriterion("order_arrears <", value, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsLessThanOrEqualTo(BigDecimal value) {
			addCriterion("order_arrears <=", value, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsIn(List<BigDecimal> values) {
			addCriterion("order_arrears in", values, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsNotIn(List<BigDecimal> values) {
			addCriterion("order_arrears not in", values, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("order_arrears between", value1, value2, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andOrderArrearsNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("order_arrears not between", value1, value2, "orderArrears");
			return (Criteria) this;
		}

		public Criteria andCostAmountIsNull() {
			addCriterion("cost_amount is null");
			return (Criteria) this;
		}

		public Criteria andCostAmountIsNotNull() {
			addCriterion("cost_amount is not null");
			return (Criteria) this;
		}

		public Criteria andCostAmountEqualTo(BigDecimal value) {
			addCriterion("cost_amount =", value, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountNotEqualTo(BigDecimal value) {
			addCriterion("cost_amount <>", value, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountGreaterThan(BigDecimal value) {
			addCriterion("cost_amount >", value, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("cost_amount >=", value, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountLessThan(BigDecimal value) {
			addCriterion("cost_amount <", value, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("cost_amount <=", value, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountIn(List<BigDecimal> values) {
			addCriterion("cost_amount in", values, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountNotIn(List<BigDecimal> values) {
			addCriterion("cost_amount not in", values, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("cost_amount between", value1, value2, "costAmount");
			return (Criteria) this;
		}

		public Criteria andCostAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("cost_amount not between", value1, value2, "costAmount");
			return (Criteria) this;
		}

		public Criteria andDepNameIsNull() {
			addCriterion("dep_name is null");
			return (Criteria) this;
		}

		public Criteria andDepNameIsNotNull() {
			addCriterion("dep_name is not null");
			return (Criteria) this;
		}

		public Criteria andDepNameEqualTo(String value) {
			addCriterion("dep_name =", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameNotEqualTo(String value) {
			addCriterion("dep_name <>", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameGreaterThan(String value) {
			addCriterion("dep_name >", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameGreaterThanOrEqualTo(String value) {
			addCriterion("dep_name >=", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameLessThan(String value) {
			addCriterion("dep_name <", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameLessThanOrEqualTo(String value) {
			addCriterion("dep_name <=", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameLike(String value) {
			addCriterion("dep_name like", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameNotLike(String value) {
			addCriterion("dep_name not like", value, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameIn(List<String> values) {
			addCriterion("dep_name in", values, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameNotIn(List<String> values) {
			addCriterion("dep_name not in", values, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameBetween(String value1, String value2) {
			addCriterion("dep_name between", value1, value2, "depName");
			return (Criteria) this;
		}

		public Criteria andDepNameNotBetween(String value1, String value2) {
			addCriterion("dep_name not between", value1, value2, "depName");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountIsNull() {
			addCriterion("payment_amount is null");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountIsNotNull() {
			addCriterion("payment_amount is not null");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountEqualTo(BigDecimal value) {
			addCriterion("payment_amount =", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountNotEqualTo(BigDecimal value) {
			addCriterion("payment_amount <>", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountGreaterThan(BigDecimal value) {
			addCriterion("payment_amount >", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountGreaterThanOrEqualTo(BigDecimal value) {
			addCriterion("payment_amount >=", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountLessThan(BigDecimal value) {
			addCriterion("payment_amount <", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountLessThanOrEqualTo(BigDecimal value) {
			addCriterion("payment_amount <=", value, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountIn(List<BigDecimal> values) {
			addCriterion("payment_amount in", values, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountNotIn(List<BigDecimal> values) {
			addCriterion("payment_amount not in", values, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("payment_amount between", value1, value2, "paymentAmount");
			return (Criteria) this;
		}

		public Criteria andPaymentAmountNotBetween(BigDecimal value1, BigDecimal value2) {
			addCriterion("payment_amount not between", value1, value2, "paymentAmount");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table t_order_mid
	 * @mbg.generated  Wed Sep 23 11:31:19 CST 2020
	 */
	public static class Criterion {
		private String condition;
		private Object value;
		private Object secondValue;
		private boolean noValue;
		private boolean singleValue;
		private boolean betweenValue;
		private boolean listValue;
		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

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

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

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

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

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

	/**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table t_order_mid
     *
     * @mbg.generated do_not_delete_during_merge Fri Dec 06 16:24:51 CST 2019
     */
    public static class Criteria extends GeneratedCriteria {

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