package org.linlinjava.jz.db.domain;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @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_sub_template
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @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_sub_template
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    public ContractSubTemplateExample 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_sub_template
     *
     * @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_sub_template
     *
     * @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_sub_template
     *
     * @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_sub_template
     *
     * @mbg.generated
     */
    public static Criteria newAndCreateCriteria() {
        ContractSubTemplateExample example = new ContractSubTemplateExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table contract_sub_template
     *
     * @mbg.generated
     */
    public ContractSubTemplateExample 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_sub_template
     *
     * @mbg.generated
     */
    public ContractSubTemplateExample 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_sub_template
     *
     * @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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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 andOrderNoIsNull() {
            addCriterion("order_no is null");
            return (Criteria) this;
        }

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

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

        public Criteria andOrderNoEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("order_no = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andOrderNoNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("order_no <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andOrderNoGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("order_no > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andOrderNoGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("order_no >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andOrderNoLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("order_no < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andOrderNoLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("order_no <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

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

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

        public Criteria andSubContractNoIsNull() {
            addCriterion("sub_contract_no is null");
            return (Criteria) this;
        }

        public Criteria andSubContractNoIsNotNull() {
            addCriterion("sub_contract_no is not null");
            return (Criteria) this;
        }

        public Criteria andSubContractNoEqualTo(String value) {
            addCriterion("sub_contract_no =", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("sub_contract_no = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubContractNoNotEqualTo(String value) {
            addCriterion("sub_contract_no <>", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("sub_contract_no <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubContractNoGreaterThan(String value) {
            addCriterion("sub_contract_no >", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("sub_contract_no > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubContractNoGreaterThanOrEqualTo(String value) {
            addCriterion("sub_contract_no >=", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("sub_contract_no >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubContractNoLessThan(String value) {
            addCriterion("sub_contract_no <", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("sub_contract_no < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubContractNoLessThanOrEqualTo(String value) {
            addCriterion("sub_contract_no <=", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("sub_contract_no <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubContractNoLike(String value) {
            addCriterion("sub_contract_no like", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoNotLike(String value) {
            addCriterion("sub_contract_no not like", value, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoIn(List<String> values) {
            addCriterion("sub_contract_no in", values, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoNotIn(List<String> values) {
            addCriterion("sub_contract_no not in", values, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoBetween(String value1, String value2) {
            addCriterion("sub_contract_no between", value1, value2, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andSubContractNoNotBetween(String value1, String value2) {
            addCriterion("sub_contract_no not between", value1, value2, "subContractNo");
            return (Criteria) this;
        }

        public Criteria andServiceAddressIsNull() {
            addCriterion("service_address is null");
            return (Criteria) this;
        }

        public Criteria andServiceAddressIsNotNull() {
            addCriterion("service_address is not null");
            return (Criteria) this;
        }

        public Criteria andServiceAddressEqualTo(String value) {
            addCriterion("service_address =", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_address = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceAddressNotEqualTo(String value) {
            addCriterion("service_address <>", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_address <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceAddressGreaterThan(String value) {
            addCriterion("service_address >", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_address > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceAddressGreaterThanOrEqualTo(String value) {
            addCriterion("service_address >=", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_address >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceAddressLessThan(String value) {
            addCriterion("service_address <", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_address < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceAddressLessThanOrEqualTo(String value) {
            addCriterion("service_address <=", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_address <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceAddressLike(String value) {
            addCriterion("service_address like", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressNotLike(String value) {
            addCriterion("service_address not like", value, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressIn(List<String> values) {
            addCriterion("service_address in", values, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressNotIn(List<String> values) {
            addCriterion("service_address not in", values, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressBetween(String value1, String value2) {
            addCriterion("service_address between", value1, value2, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceAddressNotBetween(String value1, String value2) {
            addCriterion("service_address not between", value1, value2, "serviceAddress");
            return (Criteria) this;
        }

        public Criteria andServiceTermIsNull() {
            addCriterion("service_term is null");
            return (Criteria) this;
        }

        public Criteria andServiceTermIsNotNull() {
            addCriterion("service_term is not null");
            return (Criteria) this;
        }

        public Criteria andServiceTermEqualTo(String value) {
            addCriterion("service_term =", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_term = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTermNotEqualTo(String value) {
            addCriterion("service_term <>", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_term <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTermGreaterThan(String value) {
            addCriterion("service_term >", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_term > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTermGreaterThanOrEqualTo(String value) {
            addCriterion("service_term >=", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_term >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTermLessThan(String value) {
            addCriterion("service_term <", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_term < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTermLessThanOrEqualTo(String value) {
            addCriterion("service_term <=", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_term <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTermLike(String value) {
            addCriterion("service_term like", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermNotLike(String value) {
            addCriterion("service_term not like", value, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermIn(List<String> values) {
            addCriterion("service_term in", values, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermNotIn(List<String> values) {
            addCriterion("service_term not in", values, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermBetween(String value1, String value2) {
            addCriterion("service_term between", value1, value2, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceTermNotBetween(String value1, String value2) {
            addCriterion("service_term not between", value1, value2, "serviceTerm");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeIsNull() {
            addCriterion("service_start_time is null");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeIsNotNull() {
            addCriterion("service_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeEqualTo(LocalDateTime value) {
            addCriterion("service_start_time =", value, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_start_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeNotEqualTo(LocalDateTime value) {
            addCriterion("service_start_time <>", value, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_start_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeGreaterThan(LocalDateTime value) {
            addCriterion("service_start_time >", value, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_start_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("service_start_time >=", value, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_start_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeLessThan(LocalDateTime value) {
            addCriterion("service_start_time <", value, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_start_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("service_start_time <=", value, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_start_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeIn(List<LocalDateTime> values) {
            addCriterion("service_start_time in", values, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeNotIn(List<LocalDateTime> values) {
            addCriterion("service_start_time not in", values, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("service_start_time between", value1, value2, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceStartTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("service_start_time not between", value1, value2, "serviceStartTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeIsNull() {
            addCriterion("service_end_time is null");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeIsNotNull() {
            addCriterion("service_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeEqualTo(LocalDateTime value) {
            addCriterion("service_end_time =", value, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_end_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeNotEqualTo(LocalDateTime value) {
            addCriterion("service_end_time <>", value, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_end_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeGreaterThan(LocalDateTime value) {
            addCriterion("service_end_time >", value, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_end_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("service_end_time >=", value, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_end_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeLessThan(LocalDateTime value) {
            addCriterion("service_end_time <", value, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_end_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("service_end_time <=", value, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("service_end_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeIn(List<LocalDateTime> values) {
            addCriterion("service_end_time in", values, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeNotIn(List<LocalDateTime> values) {
            addCriterion("service_end_time not in", values, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("service_end_time between", value1, value2, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andServiceEndTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("service_end_time not between", value1, value2, "serviceEndTime");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysIsNull() {
            addCriterion("month_rest_days is null");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysIsNotNull() {
            addCriterion("month_rest_days is not null");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysEqualTo(Integer value) {
            addCriterion("month_rest_days =", value, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("month_rest_days = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysNotEqualTo(Integer value) {
            addCriterion("month_rest_days <>", value, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("month_rest_days <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysGreaterThan(Integer value) {
            addCriterion("month_rest_days >", value, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("month_rest_days > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysGreaterThanOrEqualTo(Integer value) {
            addCriterion("month_rest_days >=", value, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("month_rest_days >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysLessThan(Integer value) {
            addCriterion("month_rest_days <", value, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("month_rest_days < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysLessThanOrEqualTo(Integer value) {
            addCriterion("month_rest_days <=", value, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("month_rest_days <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysIn(List<Integer> values) {
            addCriterion("month_rest_days in", values, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysNotIn(List<Integer> values) {
            addCriterion("month_rest_days not in", values, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysBetween(Integer value1, Integer value2) {
            addCriterion("month_rest_days between", value1, value2, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andMonthRestDaysNotBetween(Integer value1, Integer value2) {
            addCriterion("month_rest_days not between", value1, value2, "monthRestDays");
            return (Criteria) this;
        }

        public Criteria andOffDayIsNull() {
            addCriterion("off_day is null");
            return (Criteria) this;
        }

        public Criteria andOffDayIsNotNull() {
            addCriterion("off_day is not null");
            return (Criteria) this;
        }

        public Criteria andOffDayEqualTo(String value) {
            addCriterion("off_day =", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_day = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffDayNotEqualTo(String value) {
            addCriterion("off_day <>", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_day <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffDayGreaterThan(String value) {
            addCriterion("off_day >", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_day > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffDayGreaterThanOrEqualTo(String value) {
            addCriterion("off_day >=", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_day >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffDayLessThan(String value) {
            addCriterion("off_day <", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_day < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffDayLessThanOrEqualTo(String value) {
            addCriterion("off_day <=", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_day <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffDayLike(String value) {
            addCriterion("off_day like", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayNotLike(String value) {
            addCriterion("off_day not like", value, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayIn(List<String> values) {
            addCriterion("off_day in", values, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayNotIn(List<String> values) {
            addCriterion("off_day not in", values, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayBetween(String value1, String value2) {
            addCriterion("off_day between", value1, value2, "offDay");
            return (Criteria) this;
        }

        public Criteria andOffDayNotBetween(String value1, String value2) {
            addCriterion("off_day not between", value1, value2, "offDay");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryIsNull() {
            addCriterion("monthly_salary is null");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryIsNotNull() {
            addCriterion("monthly_salary is not null");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryEqualTo(Long value) {
            addCriterion("monthly_salary =", value, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("monthly_salary = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryNotEqualTo(Long value) {
            addCriterion("monthly_salary <>", value, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("monthly_salary <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryGreaterThan(Long value) {
            addCriterion("monthly_salary >", value, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("monthly_salary > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryGreaterThanOrEqualTo(Long value) {
            addCriterion("monthly_salary >=", value, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("monthly_salary >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryLessThan(Long value) {
            addCriterion("monthly_salary <", value, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("monthly_salary < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryLessThanOrEqualTo(Long value) {
            addCriterion("monthly_salary <=", value, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("monthly_salary <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryIn(List<Long> values) {
            addCriterion("monthly_salary in", values, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryNotIn(List<Long> values) {
            addCriterion("monthly_salary not in", values, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryBetween(Long value1, Long value2) {
            addCriterion("monthly_salary between", value1, value2, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andMonthlySalaryNotBetween(Long value1, Long value2) {
            addCriterion("monthly_salary not between", value1, value2, "monthlySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryIsNull() {
            addCriterion("day_salary is null");
            return (Criteria) this;
        }

        public Criteria andDaySalaryIsNotNull() {
            addCriterion("day_salary is not null");
            return (Criteria) this;
        }

        public Criteria andDaySalaryEqualTo(Long value) {
            addCriterion("day_salary =", value, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("day_salary = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaySalaryNotEqualTo(Long value) {
            addCriterion("day_salary <>", value, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("day_salary <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaySalaryGreaterThan(Long value) {
            addCriterion("day_salary >", value, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("day_salary > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaySalaryGreaterThanOrEqualTo(Long value) {
            addCriterion("day_salary >=", value, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("day_salary >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaySalaryLessThan(Long value) {
            addCriterion("day_salary <", value, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("day_salary < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaySalaryLessThanOrEqualTo(Long value) {
            addCriterion("day_salary <=", value, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("day_salary <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDaySalaryIn(List<Long> values) {
            addCriterion("day_salary in", values, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryNotIn(List<Long> values) {
            addCriterion("day_salary not in", values, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryBetween(Long value1, Long value2) {
            addCriterion("day_salary between", value1, value2, "daySalary");
            return (Criteria) this;
        }

        public Criteria andDaySalaryNotBetween(Long value1, Long value2) {
            addCriterion("day_salary not between", value1, value2, "daySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryIsNull() {
            addCriterion("hourly_salary is null");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryIsNotNull() {
            addCriterion("hourly_salary is not null");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryEqualTo(Long value) {
            addCriterion("hourly_salary =", value, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("hourly_salary = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHourlySalaryNotEqualTo(Long value) {
            addCriterion("hourly_salary <>", value, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("hourly_salary <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHourlySalaryGreaterThan(Long value) {
            addCriterion("hourly_salary >", value, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("hourly_salary > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHourlySalaryGreaterThanOrEqualTo(Long value) {
            addCriterion("hourly_salary >=", value, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("hourly_salary >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHourlySalaryLessThan(Long value) {
            addCriterion("hourly_salary <", value, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("hourly_salary < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHourlySalaryLessThanOrEqualTo(Long value) {
            addCriterion("hourly_salary <=", value, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("hourly_salary <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHourlySalaryIn(List<Long> values) {
            addCriterion("hourly_salary in", values, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryNotIn(List<Long> values) {
            addCriterion("hourly_salary not in", values, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryBetween(Long value1, Long value2) {
            addCriterion("hourly_salary between", value1, value2, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andHourlySalaryNotBetween(Long value1, Long value2) {
            addCriterion("hourly_salary not between", value1, value2, "hourlySalary");
            return (Criteria) this;
        }

        public Criteria andOffMultipleIsNull() {
            addCriterion("off_multiple is null");
            return (Criteria) this;
        }

        public Criteria andOffMultipleIsNotNull() {
            addCriterion("off_multiple is not null");
            return (Criteria) this;
        }

        public Criteria andOffMultipleEqualTo(Float value) {
            addCriterion("off_multiple =", value, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_multiple = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffMultipleNotEqualTo(Float value) {
            addCriterion("off_multiple <>", value, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_multiple <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffMultipleGreaterThan(Float value) {
            addCriterion("off_multiple >", value, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_multiple > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffMultipleGreaterThanOrEqualTo(Float value) {
            addCriterion("off_multiple >=", value, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_multiple >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffMultipleLessThan(Float value) {
            addCriterion("off_multiple <", value, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_multiple < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffMultipleLessThanOrEqualTo(Float value) {
            addCriterion("off_multiple <=", value, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("off_multiple <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOffMultipleIn(List<Float> values) {
            addCriterion("off_multiple in", values, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleNotIn(List<Float> values) {
            addCriterion("off_multiple not in", values, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleBetween(Float value1, Float value2) {
            addCriterion("off_multiple between", value1, value2, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andOffMultipleNotBetween(Float value1, Float value2) {
            addCriterion("off_multiple not between", value1, value2, "offMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleIsNull() {
            addCriterion("worker_multiple is null");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleIsNotNull() {
            addCriterion("worker_multiple is not null");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleEqualTo(Float value) {
            addCriterion("worker_multiple =", value, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("worker_multiple = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleNotEqualTo(Float value) {
            addCriterion("worker_multiple <>", value, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("worker_multiple <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleGreaterThan(Float value) {
            addCriterion("worker_multiple >", value, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("worker_multiple > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleGreaterThanOrEqualTo(Float value) {
            addCriterion("worker_multiple >=", value, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("worker_multiple >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleLessThan(Float value) {
            addCriterion("worker_multiple <", value, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("worker_multiple < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleLessThanOrEqualTo(Float value) {
            addCriterion("worker_multiple <=", value, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("worker_multiple <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleIn(List<Float> values) {
            addCriterion("worker_multiple in", values, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleNotIn(List<Float> values) {
            addCriterion("worker_multiple not in", values, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleBetween(Float value1, Float value2) {
            addCriterion("worker_multiple between", value1, value2, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andWorkerMultipleNotBetween(Float value1, Float value2) {
            addCriterion("worker_multiple not between", value1, value2, "workerMultiple");
            return (Criteria) this;
        }

        public Criteria andPaydayIsNull() {
            addCriterion("payday is null");
            return (Criteria) this;
        }

        public Criteria andPaydayIsNotNull() {
            addCriterion("payday is not null");
            return (Criteria) this;
        }

        public Criteria andPaydayEqualTo(Integer value) {
            addCriterion("payday =", value, "payday");
            return (Criteria) this;
        }

        public Criteria andPaydayEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("payday = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andPaydayNotEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("payday <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaydayGreaterThan(Integer value) {
            addCriterion("payday >", value, "payday");
            return (Criteria) this;
        }

        public Criteria andPaydayGreaterThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("payday > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andPaydayGreaterThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("payday >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaydayLessThan(Integer value) {
            addCriterion("payday <", value, "payday");
            return (Criteria) this;
        }

        public Criteria andPaydayLessThanColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("payday < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andPaydayLessThanOrEqualToColumn(ContractSubTemplate.Column column) {
            addCriterion(new StringBuilder("payday <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

        public Criteria andPaydayNotBetween(Integer value1, Integer value2) {
            addCriterion("payday not between", value1, value2, "payday");
            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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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(ContractSubTemplate.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;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table contract_sub_template
     *
     * @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_sub_template
         *
         * @mbg.generated
         */
        private ContractSubTemplateExample example;

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table contract_sub_template
         *
         * @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_sub_template
         *
         * @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_sub_template
         *
         * @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_sub_template
             *
             * @mbg.generated
             */
            Criteria add(Criteria add);
        }
    }

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

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