package com.goafanti.common.model;

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

public class ContractExample {
    /**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	protected String orderByClause;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	protected boolean distinct;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	protected List<Criteria> oredCriteria;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public ContractExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public String getOrderByClause() {
		return orderByClause;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public boolean isDistinct() {
		return distinct;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	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 contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	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 contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	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(String value) {
			addCriterion("id =", value, "id");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andIdLike(String value) {
			addCriterion("id like", value, "id");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andSerialNumberIsNull() {
			addCriterion("serial_number is null");
			return (Criteria) this;
		}

		public Criteria andSerialNumberIsNotNull() {
			addCriterion("serial_number is not null");
			return (Criteria) this;
		}

		public Criteria andSerialNumberEqualTo(Integer value) {
			addCriterion("serial_number =", value, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberNotEqualTo(Integer value) {
			addCriterion("serial_number <>", value, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberGreaterThan(Integer value) {
			addCriterion("serial_number >", value, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberGreaterThanOrEqualTo(Integer value) {
			addCriterion("serial_number >=", value, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberLessThan(Integer value) {
			addCriterion("serial_number <", value, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberLessThanOrEqualTo(Integer value) {
			addCriterion("serial_number <=", value, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberIn(List<Integer> values) {
			addCriterion("serial_number in", values, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberNotIn(List<Integer> values) {
			addCriterion("serial_number not in", values, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberBetween(Integer value1, Integer value2) {
			addCriterion("serial_number between", value1, value2, "serialNumber");
			return (Criteria) this;
		}

		public Criteria andSerialNumberNotBetween(Integer value1, Integer value2) {
			addCriterion("serial_number not between", value1, value2, "serialNumber");
			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 andCreaterIsNull() {
			addCriterion("creater is null");
			return (Criteria) this;
		}

		public Criteria andCreaterIsNotNull() {
			addCriterion("creater is not null");
			return (Criteria) this;
		}

		public Criteria andCreaterEqualTo(String value) {
			addCriterion("creater =", value, "creater");
			return (Criteria) this;
		}

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

		public Criteria andCreaterGreaterThan(String value) {
			addCriterion("creater >", value, "creater");
			return (Criteria) this;
		}

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

		public Criteria andCreaterLessThan(String value) {
			addCriterion("creater <", value, "creater");
			return (Criteria) this;
		}

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

		public Criteria andCreaterLike(String value) {
			addCriterion("creater like", value, "creater");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andNameIsNull() {
			addCriterion("name is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name =", value, "name");
			return (Criteria) this;
		}

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

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name >", value, "name");
			return (Criteria) this;
		}

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

		public Criteria andNameLessThan(String value) {
			addCriterion("name <", value, "name");
			return (Criteria) this;
		}

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

		public Criteria andNameLike(String value) {
			addCriterion("name like", value, "name");
			return (Criteria) this;
		}

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

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

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

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

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name not between", value1, value2, "name");
			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(String value) {
			addCriterion("type =", value, "type");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andTypeLike(String value) {
			addCriterion("type like", value, "type");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andPrincipalIsNull() {
			addCriterion("principal is null");
			return (Criteria) this;
		}

		public Criteria andPrincipalIsNotNull() {
			addCriterion("principal is not null");
			return (Criteria) this;
		}

		public Criteria andPrincipalEqualTo(String value) {
			addCriterion("principal =", value, "principal");
			return (Criteria) this;
		}

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

		public Criteria andPrincipalGreaterThan(String value) {
			addCriterion("principal >", value, "principal");
			return (Criteria) this;
		}

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

		public Criteria andPrincipalLessThan(String value) {
			addCriterion("principal <", value, "principal");
			return (Criteria) this;
		}

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

		public Criteria andPrincipalLike(String value) {
			addCriterion("principal like", value, "principal");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andUidIsNull() {
			addCriterion("uid is null");
			return (Criteria) this;
		}

		public Criteria andUidIsNotNull() {
			addCriterion("uid is not null");
			return (Criteria) this;
		}

		public Criteria andUidEqualTo(String value) {
			addCriterion("uid =", value, "uid");
			return (Criteria) this;
		}

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

		public Criteria andUidGreaterThan(String value) {
			addCriterion("uid >", value, "uid");
			return (Criteria) this;
		}

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

		public Criteria andUidLessThan(String value) {
			addCriterion("uid <", value, "uid");
			return (Criteria) this;
		}

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

		public Criteria andUidLike(String value) {
			addCriterion("uid like", value, "uid");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andSignDateIsNull() {
			addCriterion("sign_date is null");
			return (Criteria) this;
		}

		public Criteria andSignDateIsNotNull() {
			addCriterion("sign_date is not null");
			return (Criteria) this;
		}

		public Criteria andSignDateEqualTo(Date value) {
			addCriterion("sign_date =", value, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateNotEqualTo(Date value) {
			addCriterion("sign_date <>", value, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateGreaterThan(Date value) {
			addCriterion("sign_date >", value, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateGreaterThanOrEqualTo(Date value) {
			addCriterion("sign_date >=", value, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateLessThan(Date value) {
			addCriterion("sign_date <", value, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateLessThanOrEqualTo(Date value) {
			addCriterion("sign_date <=", value, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateIn(List<Date> values) {
			addCriterion("sign_date in", values, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateNotIn(List<Date> values) {
			addCriterion("sign_date not in", values, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateBetween(Date value1, Date value2) {
			addCriterion("sign_date between", value1, value2, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignDateNotBetween(Date value1, Date value2) {
			addCriterion("sign_date not between", value1, value2, "signDate");
			return (Criteria) this;
		}

		public Criteria andSignCommentIsNull() {
			addCriterion("sign_comment is null");
			return (Criteria) this;
		}

		public Criteria andSignCommentIsNotNull() {
			addCriterion("sign_comment is not null");
			return (Criteria) this;
		}

		public Criteria andSignCommentEqualTo(String value) {
			addCriterion("sign_comment =", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentNotEqualTo(String value) {
			addCriterion("sign_comment <>", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentGreaterThan(String value) {
			addCriterion("sign_comment >", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentGreaterThanOrEqualTo(String value) {
			addCriterion("sign_comment >=", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentLessThan(String value) {
			addCriterion("sign_comment <", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentLessThanOrEqualTo(String value) {
			addCriterion("sign_comment <=", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentLike(String value) {
			addCriterion("sign_comment like", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentNotLike(String value) {
			addCriterion("sign_comment not like", value, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentIn(List<String> values) {
			addCriterion("sign_comment in", values, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentNotIn(List<String> values) {
			addCriterion("sign_comment not in", values, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentBetween(String value1, String value2) {
			addCriterion("sign_comment between", value1, value2, "signComment");
			return (Criteria) this;
		}

		public Criteria andSignCommentNotBetween(String value1, String value2) {
			addCriterion("sign_comment not between", value1, value2, "signComment");
			return (Criteria) this;
		}

		public Criteria andCompleteDateIsNull() {
			addCriterion("complete_date is null");
			return (Criteria) this;
		}

		public Criteria andCompleteDateIsNotNull() {
			addCriterion("complete_date is not null");
			return (Criteria) this;
		}

		public Criteria andCompleteDateEqualTo(Date value) {
			addCriterion("complete_date =", value, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateNotEqualTo(Date value) {
			addCriterion("complete_date <>", value, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateGreaterThan(Date value) {
			addCriterion("complete_date >", value, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateGreaterThanOrEqualTo(Date value) {
			addCriterion("complete_date >=", value, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateLessThan(Date value) {
			addCriterion("complete_date <", value, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateLessThanOrEqualTo(Date value) {
			addCriterion("complete_date <=", value, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateIn(List<Date> values) {
			addCriterion("complete_date in", values, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateNotIn(List<Date> values) {
			addCriterion("complete_date not in", values, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateBetween(Date value1, Date value2) {
			addCriterion("complete_date between", value1, value2, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteDateNotBetween(Date value1, Date value2) {
			addCriterion("complete_date not between", value1, value2, "completeDate");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentIsNull() {
			addCriterion("complete_comment is null");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentIsNotNull() {
			addCriterion("complete_comment is not null");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentEqualTo(String value) {
			addCriterion("complete_comment =", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentNotEqualTo(String value) {
			addCriterion("complete_comment <>", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentGreaterThan(String value) {
			addCriterion("complete_comment >", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentGreaterThanOrEqualTo(String value) {
			addCriterion("complete_comment >=", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentLessThan(String value) {
			addCriterion("complete_comment <", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentLessThanOrEqualTo(String value) {
			addCriterion("complete_comment <=", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentLike(String value) {
			addCriterion("complete_comment like", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentNotLike(String value) {
			addCriterion("complete_comment not like", value, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentIn(List<String> values) {
			addCriterion("complete_comment in", values, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentNotIn(List<String> values) {
			addCriterion("complete_comment not in", values, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentBetween(String value1, String value2) {
			addCriterion("complete_comment between", value1, value2, "completeComment");
			return (Criteria) this;
		}

		public Criteria andCompleteCommentNotBetween(String value1, String value2) {
			addCriterion("complete_comment not between", value1, value2, "completeComment");
			return (Criteria) this;
		}

		public Criteria andDeletedSignIsNull() {
			addCriterion("deleted_sign is null");
			return (Criteria) this;
		}

		public Criteria andDeletedSignIsNotNull() {
			addCriterion("deleted_sign is not null");
			return (Criteria) this;
		}

		public Criteria andDeletedSignEqualTo(Integer value) {
			addCriterion("deleted_sign =", value, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignNotEqualTo(Integer value) {
			addCriterion("deleted_sign <>", value, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignGreaterThan(Integer value) {
			addCriterion("deleted_sign >", value, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignGreaterThanOrEqualTo(Integer value) {
			addCriterion("deleted_sign >=", value, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignLessThan(Integer value) {
			addCriterion("deleted_sign <", value, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignLessThanOrEqualTo(Integer value) {
			addCriterion("deleted_sign <=", value, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignIn(List<Integer> values) {
			addCriterion("deleted_sign in", values, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignNotIn(List<Integer> values) {
			addCriterion("deleted_sign not in", values, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignBetween(Integer value1, Integer value2) {
			addCriterion("deleted_sign between", value1, value2, "deletedSign");
			return (Criteria) this;
		}

		public Criteria andDeletedSignNotBetween(Integer value1, Integer value2) {
			addCriterion("deleted_sign not between", value1, value2, "deletedSign");
			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 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 andContactsIsNull() {
			addCriterion("contacts is null");
			return (Criteria) this;
		}

		public Criteria andContactsIsNotNull() {
			addCriterion("contacts is not null");
			return (Criteria) this;
		}

		public Criteria andContactsEqualTo(String value) {
			addCriterion("contacts =", value, "contacts");
			return (Criteria) this;
		}

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

		public Criteria andContactsGreaterThan(String value) {
			addCriterion("contacts >", value, "contacts");
			return (Criteria) this;
		}

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

		public Criteria andContactsLessThan(String value) {
			addCriterion("contacts <", value, "contacts");
			return (Criteria) this;
		}

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

		public Criteria andContactsLike(String value) {
			addCriterion("contacts like", value, "contacts");
			return (Criteria) this;
		}

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

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

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

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

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

		public Criteria andContactMobileIsNull() {
			addCriterion("contact_mobile is null");
			return (Criteria) this;
		}

		public Criteria andContactMobileIsNotNull() {
			addCriterion("contact_mobile is not null");
			return (Criteria) this;
		}

		public Criteria andContactMobileEqualTo(String value) {
			addCriterion("contact_mobile =", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileNotEqualTo(String value) {
			addCriterion("contact_mobile <>", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileGreaterThan(String value) {
			addCriterion("contact_mobile >", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileGreaterThanOrEqualTo(String value) {
			addCriterion("contact_mobile >=", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileLessThan(String value) {
			addCriterion("contact_mobile <", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileLessThanOrEqualTo(String value) {
			addCriterion("contact_mobile <=", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileLike(String value) {
			addCriterion("contact_mobile like", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileNotLike(String value) {
			addCriterion("contact_mobile not like", value, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileIn(List<String> values) {
			addCriterion("contact_mobile in", values, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileNotIn(List<String> values) {
			addCriterion("contact_mobile not in", values, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileBetween(String value1, String value2) {
			addCriterion("contact_mobile between", value1, value2, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andContactMobileNotBetween(String value1, String value2) {
			addCriterion("contact_mobile not between", value1, value2, "contactMobile");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionIsNull() {
			addCriterion("task_distribution is null");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionIsNotNull() {
			addCriterion("task_distribution is not null");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionEqualTo(Integer value) {
			addCriterion("task_distribution =", value, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionNotEqualTo(Integer value) {
			addCriterion("task_distribution <>", value, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionGreaterThan(Integer value) {
			addCriterion("task_distribution >", value, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionGreaterThanOrEqualTo(Integer value) {
			addCriterion("task_distribution >=", value, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionLessThan(Integer value) {
			addCriterion("task_distribution <", value, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionLessThanOrEqualTo(Integer value) {
			addCriterion("task_distribution <=", value, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionIn(List<Integer> values) {
			addCriterion("task_distribution in", values, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionNotIn(List<Integer> values) {
			addCriterion("task_distribution not in", values, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionBetween(Integer value1, Integer value2) {
			addCriterion("task_distribution between", value1, value2, "taskDistribution");
			return (Criteria) this;
		}

		public Criteria andTaskDistributionNotBetween(Integer value1, Integer value2) {
			addCriterion("task_distribution not between", value1, value2, "taskDistribution");
			return (Criteria) this;
		}
	}

	/**
	 * This class was generated by MyBatis Generator. This class corresponds to the database table contract
	 * @mbg.generated  Wed May 02 19:56:05 CST 2018
	 */
	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 contract
     *
     * @mbg.generated do_not_delete_during_merge Tue Jan 16 20:45:36 CST 2018
     */
    public static class Criteria extends GeneratedCriteria {

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