package com.tax.file.model;

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

public class TkTaxUserExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public TkTaxUserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andTaxnoIsNull() {
            addCriterion("taxno is null");
            return (Criteria) this;
        }

        public Criteria andTaxnoIsNotNull() {
            addCriterion("taxno is not null");
            return (Criteria) this;
        }

        public Criteria andTaxnoEqualTo(String value) {
            addCriterion("taxno =", value, "taxno");
            return (Criteria) this;
        }

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

        public Criteria andTaxnoGreaterThan(String value) {
            addCriterion("taxno >", value, "taxno");
            return (Criteria) this;
        }

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

        public Criteria andTaxnoLessThan(String value) {
            addCriterion("taxno <", value, "taxno");
            return (Criteria) this;
        }

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

        public Criteria andTaxnoLike(String value) {
            addCriterion("taxno like", value, "taxno");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNull() {
            addCriterion("update_date is null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIsNotNull() {
            addCriterion("update_date is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateDateEqualTo(Date value) {
            addCriterion("update_date =", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotEqualTo(Date value) {
            addCriterion("update_date <>", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThan(Date value) {
            addCriterion("update_date >", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("update_date >=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThan(Date value) {
            addCriterion("update_date <", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateLessThanOrEqualTo(Date value) {
            addCriterion("update_date <=", value, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateIn(List<Date> values) {
            addCriterion("update_date in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotIn(List<Date> values) {
            addCriterion("update_date not in", values, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateBetween(Date value1, Date value2) {
            addCriterion("update_date between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUpdateDateNotBetween(Date value1, Date value2) {
            addCriterion("update_date not between", value1, value2, "updateDate");
            return (Criteria) this;
        }

        public Criteria andUserStatusIsNull() {
            addCriterion("user_status is null");
            return (Criteria) this;
        }

        public Criteria andUserStatusIsNotNull() {
            addCriterion("user_status is not null");
            return (Criteria) this;
        }

        public Criteria andUserStatusEqualTo(String value) {
            addCriterion("user_status =", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotEqualTo(String value) {
            addCriterion("user_status <>", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusGreaterThan(String value) {
            addCriterion("user_status >", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusGreaterThanOrEqualTo(String value) {
            addCriterion("user_status >=", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusLessThan(String value) {
            addCriterion("user_status <", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusLessThanOrEqualTo(String value) {
            addCriterion("user_status <=", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusLike(String value) {
            addCriterion("user_status like", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotLike(String value) {
            addCriterion("user_status not like", value, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusIn(List<String> values) {
            addCriterion("user_status in", values, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotIn(List<String> values) {
            addCriterion("user_status not in", values, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusBetween(String value1, String value2) {
            addCriterion("user_status between", value1, value2, "userStatus");
            return (Criteria) this;
        }

        public Criteria andUserStatusNotBetween(String value1, String value2) {
            addCriterion("user_status not between", value1, value2, "userStatus");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateIsNull() {
            addCriterion("apply_down_date is null");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateIsNotNull() {
            addCriterion("apply_down_date is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateEqualTo(Date value) {
            addCriterion("apply_down_date =", value, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateNotEqualTo(Date value) {
            addCriterion("apply_down_date <>", value, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateGreaterThan(Date value) {
            addCriterion("apply_down_date >", value, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateGreaterThanOrEqualTo(Date value) {
            addCriterion("apply_down_date >=", value, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateLessThan(Date value) {
            addCriterion("apply_down_date <", value, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateLessThanOrEqualTo(Date value) {
            addCriterion("apply_down_date <=", value, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateIn(List<Date> values) {
            addCriterion("apply_down_date in", values, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateNotIn(List<Date> values) {
            addCriterion("apply_down_date not in", values, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateBetween(Date value1, Date value2) {
            addCriterion("apply_down_date between", value1, value2, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyDownDateNotBetween(Date value1, Date value2) {
            addCriterion("apply_down_date not between", value1, value2, "applyDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNull() {
            addCriterion("apply_status is null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIsNotNull() {
            addCriterion("apply_status is not null");
            return (Criteria) this;
        }

        public Criteria andApplyStatusEqualTo(String value) {
            addCriterion("apply_status =", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotEqualTo(String value) {
            addCriterion("apply_status <>", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThan(String value) {
            addCriterion("apply_status >", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusGreaterThanOrEqualTo(String value) {
            addCriterion("apply_status >=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThan(String value) {
            addCriterion("apply_status <", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLessThanOrEqualTo(String value) {
            addCriterion("apply_status <=", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusLike(String value) {
            addCriterion("apply_status like", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotLike(String value) {
            addCriterion("apply_status not like", value, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusIn(List<String> values) {
            addCriterion("apply_status in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotIn(List<String> values) {
            addCriterion("apply_status not in", values, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusBetween(String value1, String value2) {
            addCriterion("apply_status between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andApplyStatusNotBetween(String value1, String value2) {
            addCriterion("apply_status not between", value1, value2, "applyStatus");
            return (Criteria) this;
        }

        public Criteria andZoneCodeIsNull() {
            addCriterion("zone_code is null");
            return (Criteria) this;
        }

        public Criteria andZoneCodeIsNotNull() {
            addCriterion("zone_code is not null");
            return (Criteria) this;
        }

        public Criteria andZoneCodeEqualTo(String value) {
            addCriterion("zone_code =", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotEqualTo(String value) {
            addCriterion("zone_code <>", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeGreaterThan(String value) {
            addCriterion("zone_code >", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeGreaterThanOrEqualTo(String value) {
            addCriterion("zone_code >=", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeLessThan(String value) {
            addCriterion("zone_code <", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeLessThanOrEqualTo(String value) {
            addCriterion("zone_code <=", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeLike(String value) {
            addCriterion("zone_code like", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotLike(String value) {
            addCriterion("zone_code not like", value, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeIn(List<String> values) {
            addCriterion("zone_code in", values, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotIn(List<String> values) {
            addCriterion("zone_code not in", values, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeBetween(String value1, String value2) {
            addCriterion("zone_code between", value1, value2, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andZoneCodeNotBetween(String value1, String value2) {
            addCriterion("zone_code not between", value1, value2, "zoneCode");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNull() {
            addCriterion("user_name is null");
            return (Criteria) this;
        }

        public Criteria andUserNameIsNotNull() {
            addCriterion("user_name is not null");
            return (Criteria) this;
        }

        public Criteria andUserNameEqualTo(String value) {
            addCriterion("user_name =", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotEqualTo(String value) {
            addCriterion("user_name <>", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThan(String value) {
            addCriterion("user_name >", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("user_name >=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThan(String value) {
            addCriterion("user_name <", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLessThanOrEqualTo(String value) {
            addCriterion("user_name <=", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameLike(String value) {
            addCriterion("user_name like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotLike(String value) {
            addCriterion("user_name not like", value, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameIn(List<String> values) {
            addCriterion("user_name in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotIn(List<String> values) {
            addCriterion("user_name not in", values, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameBetween(String value1, String value2) {
            addCriterion("user_name between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andUserNameNotBetween(String value1, String value2) {
            addCriterion("user_name not between", value1, value2, "userName");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("del_flag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("del_flag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateIsNull() {
            addCriterion("fix_apply_down_date is null");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateIsNotNull() {
            addCriterion("fix_apply_down_date is not null");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateEqualTo(Date value) {
            addCriterionForJDBCDate("fix_apply_down_date =", value, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("fix_apply_down_date <>", value, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateGreaterThan(Date value) {
            addCriterionForJDBCDate("fix_apply_down_date >", value, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("fix_apply_down_date >=", value, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateLessThan(Date value) {
            addCriterionForJDBCDate("fix_apply_down_date <", value, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("fix_apply_down_date <=", value, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateIn(List<Date> values) {
            addCriterionForJDBCDate("fix_apply_down_date in", values, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("fix_apply_down_date not in", values, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("fix_apply_down_date between", value1, value2, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixApplyDownDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("fix_apply_down_date not between", value1, value2, "fixApplyDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateIsNull() {
            addCriterion("fix_down_date is null");
            return (Criteria) this;
        }

        public Criteria andFixDownDateIsNotNull() {
            addCriterion("fix_down_date is not null");
            return (Criteria) this;
        }

        public Criteria andFixDownDateEqualTo(Date value) {
            addCriterionForJDBCDate("fix_down_date =", value, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("fix_down_date <>", value, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateGreaterThan(Date value) {
            addCriterionForJDBCDate("fix_down_date >", value, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("fix_down_date >=", value, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateLessThan(Date value) {
            addCriterionForJDBCDate("fix_down_date <", value, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("fix_down_date <=", value, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateIn(List<Date> values) {
            addCriterionForJDBCDate("fix_down_date in", values, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("fix_down_date not in", values, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("fix_down_date between", value1, value2, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andFixDownDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("fix_down_date not between", value1, value2, "fixDownDate");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointIsNull() {
            addCriterion("apply_break_point is null");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointIsNotNull() {
            addCriterion("apply_break_point is not null");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointEqualTo(Date value) {
            addCriterionForJDBCDate("apply_break_point =", value, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointNotEqualTo(Date value) {
            addCriterionForJDBCDate("apply_break_point <>", value, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointGreaterThan(Date value) {
            addCriterionForJDBCDate("apply_break_point >", value, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("apply_break_point >=", value, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointLessThan(Date value) {
            addCriterionForJDBCDate("apply_break_point <", value, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("apply_break_point <=", value, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointIn(List<Date> values) {
            addCriterionForJDBCDate("apply_break_point in", values, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointNotIn(List<Date> values) {
            addCriterionForJDBCDate("apply_break_point not in", values, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("apply_break_point between", value1, value2, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andApplyBreakPointNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("apply_break_point not between", value1, value2, "applyBreakPoint");
            return (Criteria) this;
        }

        public Criteria andInitIsNull() {
            addCriterion("init is null");
            return (Criteria) this;
        }

        public Criteria andInitIsNotNull() {
            addCriterion("init is not null");
            return (Criteria) this;
        }

        public Criteria andInitEqualTo(String value) {
            addCriterion("init =", value, "init");
            return (Criteria) this;
        }

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

        public Criteria andInitGreaterThan(String value) {
            addCriterion("init >", value, "init");
            return (Criteria) this;
        }

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

        public Criteria andInitLessThan(String value) {
            addCriterion("init <", value, "init");
            return (Criteria) this;
        }

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

        public Criteria andInitLike(String value) {
            addCriterion("init like", value, "init");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andServerNoIsNull() {
            addCriterion("server_no is null");
            return (Criteria) this;
        }

        public Criteria andServerNoIsNotNull() {
            addCriterion("server_no is not null");
            return (Criteria) this;
        }

        public Criteria andServerNoEqualTo(String value) {
            addCriterion("server_no =", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoNotEqualTo(String value) {
            addCriterion("server_no <>", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoGreaterThan(String value) {
            addCriterion("server_no >", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoGreaterThanOrEqualTo(String value) {
            addCriterion("server_no >=", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoLessThan(String value) {
            addCriterion("server_no <", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoLessThanOrEqualTo(String value) {
            addCriterion("server_no <=", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoLike(String value) {
            addCriterion("server_no like", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoNotLike(String value) {
            addCriterion("server_no not like", value, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoIn(List<String> values) {
            addCriterion("server_no in", values, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoNotIn(List<String> values) {
            addCriterion("server_no not in", values, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoBetween(String value1, String value2) {
            addCriterion("server_no between", value1, value2, "serverNo");
            return (Criteria) this;
        }

        public Criteria andServerNoNotBetween(String value1, String value2) {
            addCriterion("server_no not between", value1, value2, "serverNo");
            return (Criteria) this;
        }

        public Criteria andInvSpecIsNull() {
            addCriterion("inv_spec is null");
            return (Criteria) this;
        }

        public Criteria andInvSpecIsNotNull() {
            addCriterion("inv_spec is not null");
            return (Criteria) this;
        }

        public Criteria andInvSpecEqualTo(String value) {
            addCriterion("inv_spec =", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecNotEqualTo(String value) {
            addCriterion("inv_spec <>", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecGreaterThan(String value) {
            addCriterion("inv_spec >", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecGreaterThanOrEqualTo(String value) {
            addCriterion("inv_spec >=", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecLessThan(String value) {
            addCriterion("inv_spec <", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecLessThanOrEqualTo(String value) {
            addCriterion("inv_spec <=", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecLike(String value) {
            addCriterion("inv_spec like", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecNotLike(String value) {
            addCriterion("inv_spec not like", value, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecIn(List<String> values) {
            addCriterion("inv_spec in", values, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecNotIn(List<String> values) {
            addCriterion("inv_spec not in", values, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecBetween(String value1, String value2) {
            addCriterion("inv_spec between", value1, value2, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvSpecNotBetween(String value1, String value2) {
            addCriterion("inv_spec not between", value1, value2, "invSpec");
            return (Criteria) this;
        }

        public Criteria andInvTypeIsNull() {
            addCriterion("inv_type is null");
            return (Criteria) this;
        }

        public Criteria andInvTypeIsNotNull() {
            addCriterion("inv_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvTypeEqualTo(String value) {
            addCriterion("inv_type =", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeNotEqualTo(String value) {
            addCriterion("inv_type <>", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeGreaterThan(String value) {
            addCriterion("inv_type >", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeGreaterThanOrEqualTo(String value) {
            addCriterion("inv_type >=", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeLessThan(String value) {
            addCriterion("inv_type <", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeLessThanOrEqualTo(String value) {
            addCriterion("inv_type <=", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeLike(String value) {
            addCriterion("inv_type like", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeNotLike(String value) {
            addCriterion("inv_type not like", value, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeIn(List<String> values) {
            addCriterion("inv_type in", values, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeNotIn(List<String> values) {
            addCriterion("inv_type not in", values, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeBetween(String value1, String value2) {
            addCriterion("inv_type between", value1, value2, "invType");
            return (Criteria) this;
        }

        public Criteria andInvTypeNotBetween(String value1, String value2) {
            addCriterion("inv_type not between", value1, value2, "invType");
            return (Criteria) this;
        }

        public Criteria andIsRepeatIsNull() {
            addCriterion("is_repeat is null");
            return (Criteria) this;
        }

        public Criteria andIsRepeatIsNotNull() {
            addCriterion("is_repeat is not null");
            return (Criteria) this;
        }

        public Criteria andIsRepeatEqualTo(String value) {
            addCriterion("is_repeat =", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatNotEqualTo(String value) {
            addCriterion("is_repeat <>", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatGreaterThan(String value) {
            addCriterion("is_repeat >", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatGreaterThanOrEqualTo(String value) {
            addCriterion("is_repeat >=", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatLessThan(String value) {
            addCriterion("is_repeat <", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatLessThanOrEqualTo(String value) {
            addCriterion("is_repeat <=", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatLike(String value) {
            addCriterion("is_repeat like", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatNotLike(String value) {
            addCriterion("is_repeat not like", value, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatIn(List<String> values) {
            addCriterion("is_repeat in", values, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatNotIn(List<String> values) {
            addCriterion("is_repeat not in", values, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatBetween(String value1, String value2) {
            addCriterion("is_repeat between", value1, value2, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsRepeatNotBetween(String value1, String value2) {
            addCriterion("is_repeat not between", value1, value2, "isRepeat");
            return (Criteria) this;
        }

        public Criteria andIsOnceIsNull() {
            addCriterion("is_once is null");
            return (Criteria) this;
        }

        public Criteria andIsOnceIsNotNull() {
            addCriterion("is_once is not null");
            return (Criteria) this;
        }

        public Criteria andIsOnceEqualTo(String value) {
            addCriterion("is_once =", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceNotEqualTo(String value) {
            addCriterion("is_once <>", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceGreaterThan(String value) {
            addCriterion("is_once >", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceGreaterThanOrEqualTo(String value) {
            addCriterion("is_once >=", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceLessThan(String value) {
            addCriterion("is_once <", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceLessThanOrEqualTo(String value) {
            addCriterion("is_once <=", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceLike(String value) {
            addCriterion("is_once like", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceNotLike(String value) {
            addCriterion("is_once not like", value, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceIn(List<String> values) {
            addCriterion("is_once in", values, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceNotIn(List<String> values) {
            addCriterion("is_once not in", values, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceBetween(String value1, String value2) {
            addCriterion("is_once between", value1, value2, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsOnceNotBetween(String value1, String value2) {
            addCriterion("is_once not between", value1, value2, "isOnce");
            return (Criteria) this;
        }

        public Criteria andIsLackDateIsNull() {
            addCriterion("is_lack_date is null");
            return (Criteria) this;
        }

        public Criteria andIsLackDateIsNotNull() {
            addCriterion("is_lack_date is not null");
            return (Criteria) this;
        }

        public Criteria andIsLackDateEqualTo(String value) {
            addCriterion("is_lack_date =", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateNotEqualTo(String value) {
            addCriterion("is_lack_date <>", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateGreaterThan(String value) {
            addCriterion("is_lack_date >", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateGreaterThanOrEqualTo(String value) {
            addCriterion("is_lack_date >=", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateLessThan(String value) {
            addCriterion("is_lack_date <", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateLessThanOrEqualTo(String value) {
            addCriterion("is_lack_date <=", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateLike(String value) {
            addCriterion("is_lack_date like", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateNotLike(String value) {
            addCriterion("is_lack_date not like", value, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateIn(List<String> values) {
            addCriterion("is_lack_date in", values, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateNotIn(List<String> values) {
            addCriterion("is_lack_date not in", values, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateBetween(String value1, String value2) {
            addCriterion("is_lack_date between", value1, value2, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andIsLackDateNotBetween(String value1, String value2) {
            addCriterion("is_lack_date not between", value1, value2, "isLackDate");
            return (Criteria) this;
        }

        public Criteria andInitMonthIsNull() {
            addCriterion("init_month is null");
            return (Criteria) this;
        }

        public Criteria andInitMonthIsNotNull() {
            addCriterion("init_month is not null");
            return (Criteria) this;
        }

        public Criteria andInitMonthEqualTo(Integer value) {
            addCriterion("init_month =", value, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthNotEqualTo(Integer value) {
            addCriterion("init_month <>", value, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthGreaterThan(Integer value) {
            addCriterion("init_month >", value, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthGreaterThanOrEqualTo(Integer value) {
            addCriterion("init_month >=", value, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthLessThan(Integer value) {
            addCriterion("init_month <", value, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthLessThanOrEqualTo(Integer value) {
            addCriterion("init_month <=", value, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthIn(List<Integer> values) {
            addCriterion("init_month in", values, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthNotIn(List<Integer> values) {
            addCriterion("init_month not in", values, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthBetween(Integer value1, Integer value2) {
            addCriterion("init_month between", value1, value2, "initMonth");
            return (Criteria) this;
        }

        public Criteria andInitMonthNotBetween(Integer value1, Integer value2) {
            addCriterion("init_month not between", value1, value2, "initMonth");
            return (Criteria) this;
        }

        public Criteria andDownDateIsNull() {
            addCriterion("down_date is null");
            return (Criteria) this;
        }

        public Criteria andDownDateIsNotNull() {
            addCriterion("down_date is not null");
            return (Criteria) this;
        }

        public Criteria andDownDateEqualTo(Date value) {
            addCriterion("down_date =", value, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateNotEqualTo(Date value) {
            addCriterion("down_date <>", value, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateGreaterThan(Date value) {
            addCriterion("down_date >", value, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateGreaterThanOrEqualTo(Date value) {
            addCriterion("down_date >=", value, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateLessThan(Date value) {
            addCriterion("down_date <", value, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateLessThanOrEqualTo(Date value) {
            addCriterion("down_date <=", value, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateIn(List<Date> values) {
            addCriterion("down_date in", values, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateNotIn(List<Date> values) {
            addCriterion("down_date not in", values, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateBetween(Date value1, Date value2) {
            addCriterion("down_date between", value1, value2, "downDate");
            return (Criteria) this;
        }

        public Criteria andDownDateNotBetween(Date value1, Date value2) {
            addCriterion("down_date not between", value1, value2, "downDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateIsNull() {
            addCriterion("fix_history_date is null");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateIsNotNull() {
            addCriterion("fix_history_date is not null");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateEqualTo(Date value) {
            addCriterion("fix_history_date =", value, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateNotEqualTo(Date value) {
            addCriterion("fix_history_date <>", value, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateGreaterThan(Date value) {
            addCriterion("fix_history_date >", value, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateGreaterThanOrEqualTo(Date value) {
            addCriterion("fix_history_date >=", value, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateLessThan(Date value) {
            addCriterion("fix_history_date <", value, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateLessThanOrEqualTo(Date value) {
            addCriterion("fix_history_date <=", value, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateIn(List<Date> values) {
            addCriterion("fix_history_date in", values, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateNotIn(List<Date> values) {
            addCriterion("fix_history_date not in", values, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateBetween(Date value1, Date value2) {
            addCriterion("fix_history_date between", value1, value2, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andFixHistoryDateNotBetween(Date value1, Date value2) {
            addCriterion("fix_history_date not between", value1, value2, "fixHistoryDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateIsNull() {
            addCriterion("last_inv_date is null");
            return (Criteria) this;
        }

        public Criteria andLastInvDateIsNotNull() {
            addCriterion("last_inv_date is not null");
            return (Criteria) this;
        }

        public Criteria andLastInvDateEqualTo(Date value) {
            addCriterionForJDBCDate("last_inv_date =", value, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("last_inv_date <>", value, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateGreaterThan(Date value) {
            addCriterionForJDBCDate("last_inv_date >", value, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("last_inv_date >=", value, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateLessThan(Date value) {
            addCriterionForJDBCDate("last_inv_date <", value, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("last_inv_date <=", value, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateIn(List<Date> values) {
            addCriterionForJDBCDate("last_inv_date in", values, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("last_inv_date not in", values, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("last_inv_date between", value1, value2, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andLastInvDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("last_inv_date not between", value1, value2, "lastInvDate");
            return (Criteria) this;
        }

        public Criteria andKeyTypeIsNull() {
            addCriterion("key_type is null");
            return (Criteria) this;
        }

        public Criteria andKeyTypeIsNotNull() {
            addCriterion("key_type is not null");
            return (Criteria) this;
        }

        public Criteria andKeyTypeEqualTo(String value) {
            addCriterion("key_type =", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeNotEqualTo(String value) {
            addCriterion("key_type <>", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeGreaterThan(String value) {
            addCriterion("key_type >", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("key_type >=", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeLessThan(String value) {
            addCriterion("key_type <", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeLessThanOrEqualTo(String value) {
            addCriterion("key_type <=", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeLike(String value) {
            addCriterion("key_type like", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeNotLike(String value) {
            addCriterion("key_type not like", value, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeIn(List<String> values) {
            addCriterion("key_type in", values, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeNotIn(List<String> values) {
            addCriterion("key_type not in", values, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeBetween(String value1, String value2) {
            addCriterion("key_type between", value1, value2, "keyType");
            return (Criteria) this;
        }

        public Criteria andKeyTypeNotBetween(String value1, String value2) {
            addCriterion("key_type not between", value1, value2, "keyType");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table tk_tax_user
     *
     * @mbggenerated do_not_delete_during_merge Wed Oct 28 16:25:35 CST 2020
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table tk_tax_user
     *
     * @mbggenerated Wed Oct 28 16:25:35 CST 2020
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

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

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

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

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

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