package org.linlinjava.jz.db.domain;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class ContractMasterExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public ContractMasterExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    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_master
     *
     * @mbg.generated
     */
    public ContractMasterExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public ContractMasterExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    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_master
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public static Criteria newAndCreateCriteria() {
        ContractMasterExample example = new ContractMasterExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public ContractMasterExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    public ContractMasterExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    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(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andIdLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andMasterContractNoIsNull() {
            addCriterion("master_contract_no is null");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoIsNotNull() {
            addCriterion("master_contract_no is not null");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoEqualTo(String value) {
            addCriterion("master_contract_no =", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_contract_no = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterContractNoNotEqualTo(String value) {
            addCriterion("master_contract_no <>", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_contract_no <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterContractNoGreaterThan(String value) {
            addCriterion("master_contract_no >", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_contract_no > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterContractNoGreaterThanOrEqualTo(String value) {
            addCriterion("master_contract_no >=", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_contract_no >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterContractNoLessThan(String value) {
            addCriterion("master_contract_no <", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_contract_no < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterContractNoLessThanOrEqualTo(String value) {
            addCriterion("master_contract_no <=", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_contract_no <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterContractNoLike(String value) {
            addCriterion("master_contract_no like", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoNotLike(String value) {
            addCriterion("master_contract_no not like", value, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoIn(List<String> values) {
            addCriterion("master_contract_no in", values, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoNotIn(List<String> values) {
            addCriterion("master_contract_no not in", values, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoBetween(String value1, String value2) {
            addCriterion("master_contract_no between", value1, value2, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterContractNoNotBetween(String value1, String value2) {
            addCriterion("master_contract_no not between", value1, value2, "masterContractNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoIsNull() {
            addCriterion("master_order_no is null");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoIsNotNull() {
            addCriterion("master_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoEqualTo(String value) {
            addCriterion("master_order_no =", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_order_no = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoNotEqualTo(String value) {
            addCriterion("master_order_no <>", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_order_no <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoGreaterThan(String value) {
            addCriterion("master_order_no >", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_order_no > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("master_order_no >=", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_order_no >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoLessThan(String value) {
            addCriterion("master_order_no <", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_order_no < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoLessThanOrEqualTo(String value) {
            addCriterion("master_order_no <=", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("master_order_no <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoLike(String value) {
            addCriterion("master_order_no like", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoNotLike(String value) {
            addCriterion("master_order_no not like", value, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoIn(List<String> values) {
            addCriterion("master_order_no in", values, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoNotIn(List<String> values) {
            addCriterion("master_order_no not in", values, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoBetween(String value1, String value2) {
            addCriterion("master_order_no between", value1, value2, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andMasterOrderNoNotBetween(String value1, String value2) {
            addCriterion("master_order_no not between", value1, value2, "masterOrderNo");
            return (Criteria) this;
        }

        public Criteria andClueNoIsNull() {
            addCriterion("clue_no is null");
            return (Criteria) this;
        }

        public Criteria andClueNoIsNotNull() {
            addCriterion("clue_no is not null");
            return (Criteria) this;
        }

        public Criteria andClueNoEqualTo(String value) {
            addCriterion("clue_no =", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("clue_no = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClueNoNotEqualTo(String value) {
            addCriterion("clue_no <>", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("clue_no <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClueNoGreaterThan(String value) {
            addCriterion("clue_no >", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("clue_no > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClueNoGreaterThanOrEqualTo(String value) {
            addCriterion("clue_no >=", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("clue_no >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClueNoLessThan(String value) {
            addCriterion("clue_no <", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("clue_no < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClueNoLessThanOrEqualTo(String value) {
            addCriterion("clue_no <=", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("clue_no <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andClueNoLike(String value) {
            addCriterion("clue_no like", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoNotLike(String value) {
            addCriterion("clue_no not like", value, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoIn(List<String> values) {
            addCriterion("clue_no in", values, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoNotIn(List<String> values) {
            addCriterion("clue_no not in", values, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoBetween(String value1, String value2) {
            addCriterion("clue_no between", value1, value2, "clueNo");
            return (Criteria) this;
        }

        public Criteria andClueNoNotBetween(String value1, String value2) {
            addCriterion("clue_no not between", value1, value2, "clueNo");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdIsNull() {
            addCriterion("customer_client_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdIsNotNull() {
            addCriterion("customer_client_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdEqualTo(Long value) {
            addCriterion("customer_client_id =", value, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_client_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdNotEqualTo(Long value) {
            addCriterion("customer_client_id <>", value, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_client_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdGreaterThan(Long value) {
            addCriterion("customer_client_id >", value, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_client_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdGreaterThanOrEqualTo(Long value) {
            addCriterion("customer_client_id >=", value, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_client_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdLessThan(Long value) {
            addCriterion("customer_client_id <", value, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_client_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdLessThanOrEqualTo(Long value) {
            addCriterion("customer_client_id <=", value, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_client_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdIn(List<Long> values) {
            addCriterion("customer_client_id in", values, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdNotIn(List<Long> values) {
            addCriterion("customer_client_id not in", values, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdBetween(Long value1, Long value2) {
            addCriterion("customer_client_id between", value1, value2, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerClientIdNotBetween(Long value1, Long value2) {
            addCriterion("customer_client_id not between", value1, value2, "customerClientId");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNull() {
            addCriterion("customer_name is null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIsNotNull() {
            addCriterion("customer_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerNameEqualTo(String value) {
            addCriterion("customer_name =", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_name = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotEqualTo(String value) {
            addCriterion("customer_name <>", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_name <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThan(String value) {
            addCriterion("customer_name >", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_name > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanOrEqualTo(String value) {
            addCriterion("customer_name >=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_name >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThan(String value) {
            addCriterion("customer_name <", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_name < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanOrEqualTo(String value) {
            addCriterion("customer_name <=", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_name <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerNameLike(String value) {
            addCriterion("customer_name like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotLike(String value) {
            addCriterion("customer_name not like", value, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameIn(List<String> values) {
            addCriterion("customer_name in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotIn(List<String> values) {
            addCriterion("customer_name not in", values, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameBetween(String value1, String value2) {
            addCriterion("customer_name between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerNameNotBetween(String value1, String value2) {
            addCriterion("customer_name not between", value1, value2, "customerName");
            return (Criteria) this;
        }

        public Criteria andCustomerTelIsNull() {
            addCriterion("customer_tel is null");
            return (Criteria) this;
        }

        public Criteria andCustomerTelIsNotNull() {
            addCriterion("customer_tel is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerTelEqualTo(String value) {
            addCriterion("customer_tel =", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_tel = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerTelNotEqualTo(String value) {
            addCriterion("customer_tel <>", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_tel <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerTelGreaterThan(String value) {
            addCriterion("customer_tel >", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_tel > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerTelGreaterThanOrEqualTo(String value) {
            addCriterion("customer_tel >=", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_tel >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerTelLessThan(String value) {
            addCriterion("customer_tel <", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_tel < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerTelLessThanOrEqualTo(String value) {
            addCriterion("customer_tel <=", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_tel <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerTelLike(String value) {
            addCriterion("customer_tel like", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelNotLike(String value) {
            addCriterion("customer_tel not like", value, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelIn(List<String> values) {
            addCriterion("customer_tel in", values, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelNotIn(List<String> values) {
            addCriterion("customer_tel not in", values, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelBetween(String value1, String value2) {
            addCriterion("customer_tel between", value1, value2, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerTelNotBetween(String value1, String value2) {
            addCriterion("customer_tel not between", value1, value2, "customerTel");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrIsNull() {
            addCriterion("customer_addr is null");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrIsNotNull() {
            addCriterion("customer_addr is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrEqualTo(String value) {
            addCriterion("customer_addr =", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_addr = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerAddrNotEqualTo(String value) {
            addCriterion("customer_addr <>", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_addr <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerAddrGreaterThan(String value) {
            addCriterion("customer_addr >", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_addr > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerAddrGreaterThanOrEqualTo(String value) {
            addCriterion("customer_addr >=", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_addr >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerAddrLessThan(String value) {
            addCriterion("customer_addr <", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_addr < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerAddrLessThanOrEqualTo(String value) {
            addCriterion("customer_addr <=", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("customer_addr <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerAddrLike(String value) {
            addCriterion("customer_addr like", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrNotLike(String value) {
            addCriterion("customer_addr not like", value, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrIn(List<String> values) {
            addCriterion("customer_addr in", values, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrNotIn(List<String> values) {
            addCriterion("customer_addr not in", values, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrBetween(String value1, String value2) {
            addCriterion("customer_addr between", value1, value2, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andCustomerAddrNotBetween(String value1, String value2) {
            addCriterion("customer_addr not between", value1, value2, "customerAddr");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameIsNull() {
            addCriterion("first_party_name is null");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameIsNotNull() {
            addCriterion("first_party_name is not null");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameEqualTo(String value) {
            addCriterion("first_party_name =", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("first_party_name = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameNotEqualTo(String value) {
            addCriterion("first_party_name <>", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("first_party_name <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameGreaterThan(String value) {
            addCriterion("first_party_name >", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("first_party_name > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameGreaterThanOrEqualTo(String value) {
            addCriterion("first_party_name >=", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("first_party_name >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameLessThan(String value) {
            addCriterion("first_party_name <", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("first_party_name < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameLessThanOrEqualTo(String value) {
            addCriterion("first_party_name <=", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("first_party_name <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameLike(String value) {
            addCriterion("first_party_name like", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameNotLike(String value) {
            addCriterion("first_party_name not like", value, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameIn(List<String> values) {
            addCriterion("first_party_name in", values, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameNotIn(List<String> values) {
            addCriterion("first_party_name not in", values, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameBetween(String value1, String value2) {
            addCriterion("first_party_name between", value1, value2, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andFirstPartyNameNotBetween(String value1, String value2) {
            addCriterion("first_party_name not between", value1, value2, "firstPartyName");
            return (Criteria) this;
        }

        public Criteria andSignerIsNull() {
            addCriterion("signer is null");
            return (Criteria) this;
        }

        public Criteria andSignerIsNotNull() {
            addCriterion("signer is not null");
            return (Criteria) this;
        }

        public Criteria andSignerEqualTo(String value) {
            addCriterion("signer =", value, "signer");
            return (Criteria) this;
        }

        public Criteria andSignerEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signer = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSignerNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signer <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSignerGreaterThan(String value) {
            addCriterion("signer >", value, "signer");
            return (Criteria) this;
        }

        public Criteria andSignerGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signer > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSignerGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signer >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSignerLessThan(String value) {
            addCriterion("signer <", value, "signer");
            return (Criteria) this;
        }

        public Criteria andSignerLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signer < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSignerLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signer <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSignerLike(String value) {
            addCriterion("signer like", value, "signer");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andAgentContractorIsNull() {
            addCriterion("agent_contractor is null");
            return (Criteria) this;
        }

        public Criteria andAgentContractorIsNotNull() {
            addCriterion("agent_contractor is not null");
            return (Criteria) this;
        }

        public Criteria andAgentContractorEqualTo(String value) {
            addCriterion("agent_contractor =", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("agent_contractor = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentContractorNotEqualTo(String value) {
            addCriterion("agent_contractor <>", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("agent_contractor <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentContractorGreaterThan(String value) {
            addCriterion("agent_contractor >", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("agent_contractor > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentContractorGreaterThanOrEqualTo(String value) {
            addCriterion("agent_contractor >=", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("agent_contractor >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentContractorLessThan(String value) {
            addCriterion("agent_contractor <", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("agent_contractor < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentContractorLessThanOrEqualTo(String value) {
            addCriterion("agent_contractor <=", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("agent_contractor <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAgentContractorLike(String value) {
            addCriterion("agent_contractor like", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorNotLike(String value) {
            addCriterion("agent_contractor not like", value, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorIn(List<String> values) {
            addCriterion("agent_contractor in", values, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorNotIn(List<String> values) {
            addCriterion("agent_contractor not in", values, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorBetween(String value1, String value2) {
            addCriterion("agent_contractor between", value1, value2, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andAgentContractorNotBetween(String value1, String value2) {
            addCriterion("agent_contractor not between", value1, value2, "agentContractor");
            return (Criteria) this;
        }

        public Criteria andSigningTimeIsNull() {
            addCriterion("signing_time is null");
            return (Criteria) this;
        }

        public Criteria andSigningTimeIsNotNull() {
            addCriterion("signing_time is not null");
            return (Criteria) this;
        }

        public Criteria andSigningTimeEqualTo(LocalDateTime value) {
            addCriterion("signing_time =", value, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signing_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSigningTimeNotEqualTo(LocalDateTime value) {
            addCriterion("signing_time <>", value, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signing_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSigningTimeGreaterThan(LocalDateTime value) {
            addCriterion("signing_time >", value, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signing_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSigningTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("signing_time >=", value, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signing_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSigningTimeLessThan(LocalDateTime value) {
            addCriterion("signing_time <", value, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signing_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSigningTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("signing_time <=", value, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("signing_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSigningTimeIn(List<LocalDateTime> values) {
            addCriterion("signing_time in", values, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeNotIn(List<LocalDateTime> values) {
            addCriterion("signing_time not in", values, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("signing_time between", value1, value2, "signingTime");
            return (Criteria) this;
        }

        public Criteria andSigningTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("signing_time not between", value1, value2, "signingTime");
            return (Criteria) this;
        }

        public Criteria andContractTypeIsNull() {
            addCriterion("contract_type is null");
            return (Criteria) this;
        }

        public Criteria andContractTypeIsNotNull() {
            addCriterion("contract_type is not null");
            return (Criteria) this;
        }

        public Criteria andContractTypeEqualTo(Integer value) {
            addCriterion("contract_type =", value, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTypeNotEqualTo(Integer value) {
            addCriterion("contract_type <>", value, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTypeGreaterThan(Integer value) {
            addCriterion("contract_type >", value, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("contract_type >=", value, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTypeLessThan(Integer value) {
            addCriterion("contract_type <", value, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTypeLessThanOrEqualTo(Integer value) {
            addCriterion("contract_type <=", value, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTypeIn(List<Integer> values) {
            addCriterion("contract_type in", values, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeNotIn(List<Integer> values) {
            addCriterion("contract_type not in", values, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeBetween(Integer value1, Integer value2) {
            addCriterion("contract_type between", value1, value2, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("contract_type not between", value1, value2, "contractType");
            return (Criteria) this;
        }

        public Criteria andContractStateIsNull() {
            addCriterion("contract_state is null");
            return (Criteria) this;
        }

        public Criteria andContractStateIsNotNull() {
            addCriterion("contract_state is not null");
            return (Criteria) this;
        }

        public Criteria andContractStateEqualTo(Integer value) {
            addCriterion("contract_state =", value, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_state = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStateNotEqualTo(Integer value) {
            addCriterion("contract_state <>", value, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_state <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStateGreaterThan(Integer value) {
            addCriterion("contract_state >", value, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_state > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("contract_state >=", value, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_state >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStateLessThan(Integer value) {
            addCriterion("contract_state <", value, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_state < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStateLessThanOrEqualTo(Integer value) {
            addCriterion("contract_state <=", value, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_state <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStateIn(List<Integer> values) {
            addCriterion("contract_state in", values, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateNotIn(List<Integer> values) {
            addCriterion("contract_state not in", values, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateBetween(Integer value1, Integer value2) {
            addCriterion("contract_state between", value1, value2, "contractState");
            return (Criteria) this;
        }

        public Criteria andContractStateNotBetween(Integer value1, Integer value2) {
            addCriterion("contract_state not between", value1, value2, "contractState");
            return (Criteria) this;
        }

        public Criteria andFileIdIsNull() {
            addCriterion("file_id is null");
            return (Criteria) this;
        }

        public Criteria andFileIdIsNotNull() {
            addCriterion("file_id is not null");
            return (Criteria) this;
        }

        public Criteria andFileIdEqualTo(String value) {
            addCriterion("file_id =", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("file_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFileIdNotEqualTo(String value) {
            addCriterion("file_id <>", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("file_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFileIdGreaterThan(String value) {
            addCriterion("file_id >", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("file_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFileIdGreaterThanOrEqualTo(String value) {
            addCriterion("file_id >=", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("file_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFileIdLessThan(String value) {
            addCriterion("file_id <", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("file_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFileIdLessThanOrEqualTo(String value) {
            addCriterion("file_id <=", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("file_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFileIdLike(String value) {
            addCriterion("file_id like", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotLike(String value) {
            addCriterion("file_id not like", value, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdIn(List<String> values) {
            addCriterion("file_id in", values, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotIn(List<String> values) {
            addCriterion("file_id not in", values, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdBetween(String value1, String value2) {
            addCriterion("file_id between", value1, value2, "fileId");
            return (Criteria) this;
        }

        public Criteria andFileIdNotBetween(String value1, String value2) {
            addCriterion("file_id not between", value1, value2, "fileId");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNull() {
            addCriterion("service_type is null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNotNull() {
            addCriterion("service_type is not null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeEqualTo(Integer value) {
            addCriterion("service_type =", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotEqualTo(Integer value) {
            addCriterion("service_type <>", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThan(Integer value) {
            addCriterion("service_type >", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_type >=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThan(Integer value) {
            addCriterion("service_type <", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThanOrEqualTo(Integer value) {
            addCriterion("service_type <=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTypeIn(List<Integer> values) {
            addCriterion("service_type in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotIn(List<Integer> values) {
            addCriterion("service_type not in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeBetween(Integer value1, Integer value2) {
            addCriterion("service_type between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("service_type not between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceModelIsNull() {
            addCriterion("service_model is null");
            return (Criteria) this;
        }

        public Criteria andServiceModelIsNotNull() {
            addCriterion("service_model is not null");
            return (Criteria) this;
        }

        public Criteria andServiceModelEqualTo(Integer value) {
            addCriterion("service_model =", value, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_model = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceModelNotEqualTo(Integer value) {
            addCriterion("service_model <>", value, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_model <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceModelGreaterThan(Integer value) {
            addCriterion("service_model >", value, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_model > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceModelGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_model >=", value, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_model >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceModelLessThan(Integer value) {
            addCriterion("service_model <", value, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_model < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceModelLessThanOrEqualTo(Integer value) {
            addCriterion("service_model <=", value, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("service_model <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceModelIn(List<Integer> values) {
            addCriterion("service_model in", values, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelNotIn(List<Integer> values) {
            addCriterion("service_model not in", values, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelBetween(Integer value1, Integer value2) {
            addCriterion("service_model between", value1, value2, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServiceModelNotBetween(Integer value1, Integer value2) {
            addCriterion("service_model not between", value1, value2, "serviceModel");
            return (Criteria) this;
        }

        public Criteria andServantSalaryIsNull() {
            addCriterion("servant_salary is null");
            return (Criteria) this;
        }

        public Criteria andServantSalaryIsNotNull() {
            addCriterion("servant_salary is not null");
            return (Criteria) this;
        }

        public Criteria andServantSalaryEqualTo(Double value) {
            addCriterion("servant_salary =", value, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("servant_salary = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServantSalaryNotEqualTo(Double value) {
            addCriterion("servant_salary <>", value, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("servant_salary <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServantSalaryGreaterThan(Double value) {
            addCriterion("servant_salary >", value, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("servant_salary > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServantSalaryGreaterThanOrEqualTo(Double value) {
            addCriterion("servant_salary >=", value, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("servant_salary >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServantSalaryLessThan(Double value) {
            addCriterion("servant_salary <", value, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("servant_salary < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServantSalaryLessThanOrEqualTo(Double value) {
            addCriterion("servant_salary <=", value, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("servant_salary <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServantSalaryIn(List<Double> values) {
            addCriterion("servant_salary in", values, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryNotIn(List<Double> values) {
            addCriterion("servant_salary not in", values, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryBetween(Double value1, Double value2) {
            addCriterion("servant_salary between", value1, value2, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andServantSalaryNotBetween(Double value1, Double value2) {
            addCriterion("servant_salary not between", value1, value2, "servantSalary");
            return (Criteria) this;
        }

        public Criteria andContractAmountIsNull() {
            addCriterion("contract_amount is null");
            return (Criteria) this;
        }

        public Criteria andContractAmountIsNotNull() {
            addCriterion("contract_amount is not null");
            return (Criteria) this;
        }

        public Criteria andContractAmountEqualTo(Double value) {
            addCriterion("contract_amount =", value, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_amount = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractAmountNotEqualTo(Double value) {
            addCriterion("contract_amount <>", value, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_amount <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractAmountGreaterThan(Double value) {
            addCriterion("contract_amount >", value, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_amount > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("contract_amount >=", value, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_amount >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractAmountLessThan(Double value) {
            addCriterion("contract_amount <", value, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_amount < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractAmountLessThanOrEqualTo(Double value) {
            addCriterion("contract_amount <=", value, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_amount <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractAmountIn(List<Double> values) {
            addCriterion("contract_amount in", values, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountNotIn(List<Double> values) {
            addCriterion("contract_amount not in", values, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountBetween(Double value1, Double value2) {
            addCriterion("contract_amount between", value1, value2, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andContractAmountNotBetween(Double value1, Double value2) {
            addCriterion("contract_amount not between", value1, value2, "contractAmount");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostIsNull() {
            addCriterion("intermediary_cost is null");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostIsNotNull() {
            addCriterion("intermediary_cost is not null");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostEqualTo(Double value) {
            addCriterion("intermediary_cost =", value, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("intermediary_cost = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostNotEqualTo(Double value) {
            addCriterion("intermediary_cost <>", value, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("intermediary_cost <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostGreaterThan(Double value) {
            addCriterion("intermediary_cost >", value, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("intermediary_cost > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostGreaterThanOrEqualTo(Double value) {
            addCriterion("intermediary_cost >=", value, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("intermediary_cost >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostLessThan(Double value) {
            addCriterion("intermediary_cost <", value, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("intermediary_cost < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostLessThanOrEqualTo(Double value) {
            addCriterion("intermediary_cost <=", value, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("intermediary_cost <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostIn(List<Double> values) {
            addCriterion("intermediary_cost in", values, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostNotIn(List<Double> values) {
            addCriterion("intermediary_cost not in", values, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostBetween(Double value1, Double value2) {
            addCriterion("intermediary_cost between", value1, value2, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andIntermediaryCostNotBetween(Double value1, Double value2) {
            addCriterion("intermediary_cost not between", value1, value2, "intermediaryCost");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyIsNull() {
            addCriterion("payable_contract_money is null");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyIsNotNull() {
            addCriterion("payable_contract_money is not null");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyEqualTo(Double value) {
            addCriterion("payable_contract_money =", value, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payable_contract_money = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyNotEqualTo(Double value) {
            addCriterion("payable_contract_money <>", value, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payable_contract_money <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyGreaterThan(Double value) {
            addCriterion("payable_contract_money >", value, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payable_contract_money > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("payable_contract_money >=", value, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payable_contract_money >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyLessThan(Double value) {
            addCriterion("payable_contract_money <", value, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payable_contract_money < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyLessThanOrEqualTo(Double value) {
            addCriterion("payable_contract_money <=", value, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payable_contract_money <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyIn(List<Double> values) {
            addCriterion("payable_contract_money in", values, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyNotIn(List<Double> values) {
            addCriterion("payable_contract_money not in", values, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyBetween(Double value1, Double value2) {
            addCriterion("payable_contract_money between", value1, value2, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPayableContractMoneyNotBetween(Double value1, Double value2) {
            addCriterion("payable_contract_money not between", value1, value2, "payableContractMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyIsNull() {
            addCriterion("payment_money is null");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyIsNotNull() {
            addCriterion("payment_money is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyEqualTo(Double value) {
            addCriterion("payment_money =", value, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payment_money = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyNotEqualTo(Double value) {
            addCriterion("payment_money <>", value, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payment_money <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyGreaterThan(Double value) {
            addCriterion("payment_money >", value, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payment_money > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("payment_money >=", value, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payment_money >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyLessThan(Double value) {
            addCriterion("payment_money <", value, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payment_money < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyLessThanOrEqualTo(Double value) {
            addCriterion("payment_money <=", value, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("payment_money <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyIn(List<Double> values) {
            addCriterion("payment_money in", values, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyNotIn(List<Double> values) {
            addCriterion("payment_money not in", values, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyBetween(Double value1, Double value2) {
            addCriterion("payment_money between", value1, value2, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andPaymentMoneyNotBetween(Double value1, Double value2) {
            addCriterion("payment_money not between", value1, value2, "paymentMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyIsNull() {
            addCriterion("obligations_money is null");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyIsNotNull() {
            addCriterion("obligations_money is not null");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyEqualTo(Double value) {
            addCriterion("obligations_money =", value, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("obligations_money = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyNotEqualTo(Double value) {
            addCriterion("obligations_money <>", value, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("obligations_money <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyGreaterThan(Double value) {
            addCriterion("obligations_money >", value, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("obligations_money > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyGreaterThanOrEqualTo(Double value) {
            addCriterion("obligations_money >=", value, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("obligations_money >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyLessThan(Double value) {
            addCriterion("obligations_money <", value, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("obligations_money < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyLessThanOrEqualTo(Double value) {
            addCriterion("obligations_money <=", value, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("obligations_money <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyIn(List<Double> values) {
            addCriterion("obligations_money in", values, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyNotIn(List<Double> values) {
            addCriterion("obligations_money not in", values, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyBetween(Double value1, Double value2) {
            addCriterion("obligations_money between", value1, value2, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andObligationsMoneyNotBetween(Double value1, Double value2) {
            addCriterion("obligations_money not between", value1, value2, "obligationsMoney");
            return (Criteria) this;
        }

        public Criteria andPayStateIsNull() {
            addCriterion("pay_state is null");
            return (Criteria) this;
        }

        public Criteria andPayStateIsNotNull() {
            addCriterion("pay_state is not null");
            return (Criteria) this;
        }

        public Criteria andPayStateEqualTo(Integer value) {
            addCriterion("pay_state =", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_state = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayStateNotEqualTo(Integer value) {
            addCriterion("pay_state <>", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_state <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayStateGreaterThan(Integer value) {
            addCriterion("pay_state >", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_state > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_state >=", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_state >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayStateLessThan(Integer value) {
            addCriterion("pay_state <", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_state < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayStateLessThanOrEqualTo(Integer value) {
            addCriterion("pay_state <=", value, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_state <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayStateIn(List<Integer> values) {
            addCriterion("pay_state in", values, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateNotIn(List<Integer> values) {
            addCriterion("pay_state not in", values, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateBetween(Integer value1, Integer value2) {
            addCriterion("pay_state between", value1, value2, "payState");
            return (Criteria) this;
        }

        public Criteria andPayStateNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_state not between", value1, value2, "payState");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(LocalDateTime value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(LocalDateTime value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(LocalDateTime value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(LocalDateTime value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("pay_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<LocalDateTime> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<LocalDateTime> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andContractStartDateIsNull() {
            addCriterion("contract_start_date is null");
            return (Criteria) this;
        }

        public Criteria andContractStartDateIsNotNull() {
            addCriterion("contract_start_date is not null");
            return (Criteria) this;
        }

        public Criteria andContractStartDateEqualTo(LocalDate value) {
            addCriterion("contract_start_date =", value, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_start_date = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStartDateNotEqualTo(LocalDate value) {
            addCriterion("contract_start_date <>", value, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_start_date <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStartDateGreaterThan(LocalDate value) {
            addCriterion("contract_start_date >", value, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_start_date > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStartDateGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("contract_start_date >=", value, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_start_date >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStartDateLessThan(LocalDate value) {
            addCriterion("contract_start_date <", value, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_start_date < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStartDateLessThanOrEqualTo(LocalDate value) {
            addCriterion("contract_start_date <=", value, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_start_date <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractStartDateIn(List<LocalDate> values) {
            addCriterion("contract_start_date in", values, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateNotIn(List<LocalDate> values) {
            addCriterion("contract_start_date not in", values, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateBetween(LocalDate value1, LocalDate value2) {
            addCriterion("contract_start_date between", value1, value2, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractStartDateNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("contract_start_date not between", value1, value2, "contractStartDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateIsNull() {
            addCriterion("contract_end_date is null");
            return (Criteria) this;
        }

        public Criteria andContractEndDateIsNotNull() {
            addCriterion("contract_end_date is not null");
            return (Criteria) this;
        }

        public Criteria andContractEndDateEqualTo(LocalDate value) {
            addCriterion("contract_end_date =", value, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_end_date = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractEndDateNotEqualTo(LocalDate value) {
            addCriterion("contract_end_date <>", value, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_end_date <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractEndDateGreaterThan(LocalDate value) {
            addCriterion("contract_end_date >", value, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_end_date > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractEndDateGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("contract_end_date >=", value, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_end_date >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractEndDateLessThan(LocalDate value) {
            addCriterion("contract_end_date <", value, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_end_date < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractEndDateLessThanOrEqualTo(LocalDate value) {
            addCriterion("contract_end_date <=", value, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_end_date <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractEndDateIn(List<LocalDate> values) {
            addCriterion("contract_end_date in", values, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateNotIn(List<LocalDate> values) {
            addCriterion("contract_end_date not in", values, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateBetween(LocalDate value1, LocalDate value2) {
            addCriterion("contract_end_date between", value1, value2, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andContractEndDateNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("contract_end_date not between", value1, value2, "contractEndDate");
            return (Criteria) this;
        }

        public Criteria andReviewTypeIsNull() {
            addCriterion("review_type is null");
            return (Criteria) this;
        }

        public Criteria andReviewTypeIsNotNull() {
            addCriterion("review_type is not null");
            return (Criteria) this;
        }

        public Criteria andReviewTypeEqualTo(Integer value) {
            addCriterion("review_type =", value, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("review_type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andReviewTypeNotEqualTo(Integer value) {
            addCriterion("review_type <>", value, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("review_type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andReviewTypeGreaterThan(Integer value) {
            addCriterion("review_type >", value, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("review_type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andReviewTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("review_type >=", value, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("review_type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andReviewTypeLessThan(Integer value) {
            addCriterion("review_type <", value, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("review_type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andReviewTypeLessThanOrEqualTo(Integer value) {
            addCriterion("review_type <=", value, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("review_type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andReviewTypeIn(List<Integer> values) {
            addCriterion("review_type in", values, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeNotIn(List<Integer> values) {
            addCriterion("review_type not in", values, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeBetween(Integer value1, Integer value2) {
            addCriterion("review_type between", value1, value2, "reviewType");
            return (Criteria) this;
        }

        public Criteria andReviewTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("review_type not between", value1, value2, "reviewType");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNull() {
            addCriterion("refund_amount is null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountIsNotNull() {
            addCriterion("refund_amount is not null");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualTo(Double value) {
            addCriterion("refund_amount =", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("refund_amount = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualTo(Double value) {
            addCriterion("refund_amount <>", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("refund_amount <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThan(Double value) {
            addCriterion("refund_amount >", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("refund_amount > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualTo(Double value) {
            addCriterion("refund_amount >=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("refund_amount >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThan(Double value) {
            addCriterion("refund_amount <", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("refund_amount < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualTo(Double value) {
            addCriterion("refund_amount <=", value, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("refund_amount <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRefundAmountIn(List<Double> values) {
            addCriterion("refund_amount in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotIn(List<Double> values) {
            addCriterion("refund_amount not in", values, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountBetween(Double value1, Double value2) {
            addCriterion("refund_amount between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andRefundAmountNotBetween(Double value1, Double value2) {
            addCriterion("refund_amount not between", value1, value2, "refundAmount");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateIsNull() {
            addCriterion("contract_terminate_date is null");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateIsNotNull() {
            addCriterion("contract_terminate_date is not null");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateEqualTo(LocalDate value) {
            addCriterion("contract_terminate_date =", value, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_terminate_date = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateNotEqualTo(LocalDate value) {
            addCriterion("contract_terminate_date <>", value, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_terminate_date <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateGreaterThan(LocalDate value) {
            addCriterion("contract_terminate_date >", value, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_terminate_date > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("contract_terminate_date >=", value, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_terminate_date >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateLessThan(LocalDate value) {
            addCriterion("contract_terminate_date <", value, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_terminate_date < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateLessThanOrEqualTo(LocalDate value) {
            addCriterion("contract_terminate_date <=", value, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("contract_terminate_date <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateIn(List<LocalDate> values) {
            addCriterion("contract_terminate_date in", values, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateNotIn(List<LocalDate> values) {
            addCriterion("contract_terminate_date not in", values, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateBetween(LocalDate value1, LocalDate value2) {
            addCriterion("contract_terminate_date between", value1, value2, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andContractTerminateDateNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("contract_terminate_date not between", value1, value2, "contractTerminateDate");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdIsNull() {
            addCriterion("cancel_file_id is null");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdIsNotNull() {
            addCriterion("cancel_file_id is not null");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdEqualTo(String value) {
            addCriterion("cancel_file_id =", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("cancel_file_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCancelFileIdNotEqualTo(String value) {
            addCriterion("cancel_file_id <>", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("cancel_file_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCancelFileIdGreaterThan(String value) {
            addCriterion("cancel_file_id >", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("cancel_file_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCancelFileIdGreaterThanOrEqualTo(String value) {
            addCriterion("cancel_file_id >=", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("cancel_file_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCancelFileIdLessThan(String value) {
            addCriterion("cancel_file_id <", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("cancel_file_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCancelFileIdLessThanOrEqualTo(String value) {
            addCriterion("cancel_file_id <=", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("cancel_file_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCancelFileIdLike(String value) {
            addCriterion("cancel_file_id like", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdNotLike(String value) {
            addCriterion("cancel_file_id not like", value, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdIn(List<String> values) {
            addCriterion("cancel_file_id in", values, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdNotIn(List<String> values) {
            addCriterion("cancel_file_id not in", values, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdBetween(String value1, String value2) {
            addCriterion("cancel_file_id between", value1, value2, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andCancelFileIdNotBetween(String value1, String value2) {
            addCriterion("cancel_file_id not between", value1, value2, "cancelFileId");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoIsNull() {
            addCriterion("relation_pay_no is null");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoIsNotNull() {
            addCriterion("relation_pay_no is not null");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoEqualTo(String value) {
            addCriterion("relation_pay_no =", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("relation_pay_no = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRelationPayNoNotEqualTo(String value) {
            addCriterion("relation_pay_no <>", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("relation_pay_no <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRelationPayNoGreaterThan(String value) {
            addCriterion("relation_pay_no >", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("relation_pay_no > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRelationPayNoGreaterThanOrEqualTo(String value) {
            addCriterion("relation_pay_no >=", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("relation_pay_no >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRelationPayNoLessThan(String value) {
            addCriterion("relation_pay_no <", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("relation_pay_no < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRelationPayNoLessThanOrEqualTo(String value) {
            addCriterion("relation_pay_no <=", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("relation_pay_no <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRelationPayNoLike(String value) {
            addCriterion("relation_pay_no like", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoNotLike(String value) {
            addCriterion("relation_pay_no not like", value, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoIn(List<String> values) {
            addCriterion("relation_pay_no in", values, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoNotIn(List<String> values) {
            addCriterion("relation_pay_no not in", values, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoBetween(String value1, String value2) {
            addCriterion("relation_pay_no between", value1, value2, "relationPayNo");
            return (Criteria) this;
        }

        public Criteria andRelationPayNoNotBetween(String value1, String value2) {
            addCriterion("relation_pay_no not between", value1, value2, "relationPayNo");
            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(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andCreateTimeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andCreateUserIdIsNull() {
            addCriterion("create_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIsNotNull() {
            addCriterion("create_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualTo(Long value) {
            addCriterion("create_user_id =", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_user_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualTo(Long value) {
            addCriterion("create_user_id <>", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_user_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThan(Long value) {
            addCriterion("create_user_id >", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_user_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("create_user_id >=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_user_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThan(Long value) {
            addCriterion("create_user_id <", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_user_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualTo(Long value) {
            addCriterion("create_user_id <=", value, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("create_user_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIdIn(List<Long> values) {
            addCriterion("create_user_id in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotIn(List<Long> values) {
            addCriterion("create_user_id not in", values, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdBetween(Long value1, Long value2) {
            addCriterion("create_user_id between", value1, value2, "createUserId");
            return (Criteria) this;
        }

        public Criteria andCreateUserIdNotBetween(Long value1, Long value2) {
            addCriterion("create_user_id not between", value1, value2, "createUserId");
            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(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateTimeLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andUpdateUserIdIsNull() {
            addCriterion("update_user_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIdIsNotNull() {
            addCriterion("update_user_id is not null");
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_user_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_user_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_user_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_user_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_user_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andUpdateUserIdLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("update_user_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

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

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

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

        public Criteria andRemarkEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("remark = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkNotEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("remark <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkGreaterThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("remark > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkGreaterThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("remark >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkLessThanColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("remark < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkLessThanOrEqualToColumn(ContractMaster.Column column) {
            addCriterion(new StringBuilder("remark <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

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

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table contract_master
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        private ContractMasterExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        protected Criteria(ContractMasterExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        public ContractMasterExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table contract_master
             *
             * @mbg.generated
             */
            Criteria add(Criteria add);
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table contract_master
     *
     * @mbg.generated
     */
    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);
        }
    }

    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_master
         *
         * @mbg.generated
         */
        void example(org.linlinjava.jz.db.domain.ContractMasterExample example);
    }
}