package com.tax.file.model;

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

public class FileSyncExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public FileSyncExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    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 file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    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 file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    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 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 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 andExpIndexIsNull() {
            addCriterion("exp_index is null");
            return (Criteria) this;
        }

        public Criteria andExpIndexIsNotNull() {
            addCriterion("exp_index is not null");
            return (Criteria) this;
        }

        public Criteria andExpIndexEqualTo(String value) {
            addCriterion("exp_index =", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexNotEqualTo(String value) {
            addCriterion("exp_index <>", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexGreaterThan(String value) {
            addCriterion("exp_index >", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexGreaterThanOrEqualTo(String value) {
            addCriterion("exp_index >=", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexLessThan(String value) {
            addCriterion("exp_index <", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexLessThanOrEqualTo(String value) {
            addCriterion("exp_index <=", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexLike(String value) {
            addCriterion("exp_index like", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexNotLike(String value) {
            addCriterion("exp_index not like", value, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexIn(List<String> values) {
            addCriterion("exp_index in", values, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexNotIn(List<String> values) {
            addCriterion("exp_index not in", values, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexBetween(String value1, String value2) {
            addCriterion("exp_index between", value1, value2, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpIndexNotBetween(String value1, String value2) {
            addCriterion("exp_index not between", value1, value2, "expIndex");
            return (Criteria) this;
        }

        public Criteria andExpDateIsNull() {
            addCriterion("exp_date is null");
            return (Criteria) this;
        }

        public Criteria andExpDateIsNotNull() {
            addCriterion("exp_date is not null");
            return (Criteria) this;
        }

        public Criteria andExpDateEqualTo(Date value) {
            addCriterion("exp_date =", value, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateNotEqualTo(Date value) {
            addCriterion("exp_date <>", value, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateGreaterThan(Date value) {
            addCriterion("exp_date >", value, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateGreaterThanOrEqualTo(Date value) {
            addCriterion("exp_date >=", value, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateLessThan(Date value) {
            addCriterion("exp_date <", value, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateLessThanOrEqualTo(Date value) {
            addCriterion("exp_date <=", value, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateIn(List<Date> values) {
            addCriterion("exp_date in", values, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateNotIn(List<Date> values) {
            addCriterion("exp_date not in", values, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateBetween(Date value1, Date value2) {
            addCriterion("exp_date between", value1, value2, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpDateNotBetween(Date value1, Date value2) {
            addCriterion("exp_date not between", value1, value2, "expDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateIsNull() {
            addCriterion("exp_res_date is null");
            return (Criteria) this;
        }

        public Criteria andExpResDateIsNotNull() {
            addCriterion("exp_res_date is not null");
            return (Criteria) this;
        }

        public Criteria andExpResDateEqualTo(Date value) {
            addCriterion("exp_res_date =", value, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateNotEqualTo(Date value) {
            addCriterion("exp_res_date <>", value, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateGreaterThan(Date value) {
            addCriterion("exp_res_date >", value, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateGreaterThanOrEqualTo(Date value) {
            addCriterion("exp_res_date >=", value, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateLessThan(Date value) {
            addCriterion("exp_res_date <", value, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateLessThanOrEqualTo(Date value) {
            addCriterion("exp_res_date <=", value, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateIn(List<Date> values) {
            addCriterion("exp_res_date in", values, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateNotIn(List<Date> values) {
            addCriterion("exp_res_date not in", values, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateBetween(Date value1, Date value2) {
            addCriterion("exp_res_date between", value1, value2, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpResDateNotBetween(Date value1, Date value2) {
            addCriterion("exp_res_date not between", value1, value2, "expResDate");
            return (Criteria) this;
        }

        public Criteria andExpTypeIsNull() {
            addCriterion("exp_type is null");
            return (Criteria) this;
        }

        public Criteria andExpTypeIsNotNull() {
            addCriterion("exp_type is not null");
            return (Criteria) this;
        }

        public Criteria andExpTypeEqualTo(String value) {
            addCriterion("exp_type =", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeNotEqualTo(String value) {
            addCriterion("exp_type <>", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeGreaterThan(String value) {
            addCriterion("exp_type >", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeGreaterThanOrEqualTo(String value) {
            addCriterion("exp_type >=", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeLessThan(String value) {
            addCriterion("exp_type <", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeLessThanOrEqualTo(String value) {
            addCriterion("exp_type <=", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeLike(String value) {
            addCriterion("exp_type like", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeNotLike(String value) {
            addCriterion("exp_type not like", value, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeIn(List<String> values) {
            addCriterion("exp_type in", values, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeNotIn(List<String> values) {
            addCriterion("exp_type not in", values, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeBetween(String value1, String value2) {
            addCriterion("exp_type between", value1, value2, "expType");
            return (Criteria) this;
        }

        public Criteria andExpTypeNotBetween(String value1, String value2) {
            addCriterion("exp_type not between", value1, value2, "expType");
            return (Criteria) this;
        }

        public Criteria andExpFlagIsNull() {
            addCriterion("exp_flag is null");
            return (Criteria) this;
        }

        public Criteria andExpFlagIsNotNull() {
            addCriterion("exp_flag is not null");
            return (Criteria) this;
        }

        public Criteria andExpFlagEqualTo(String value) {
            addCriterion("exp_flag =", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagNotEqualTo(String value) {
            addCriterion("exp_flag <>", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagGreaterThan(String value) {
            addCriterion("exp_flag >", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagGreaterThanOrEqualTo(String value) {
            addCriterion("exp_flag >=", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagLessThan(String value) {
            addCriterion("exp_flag <", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagLessThanOrEqualTo(String value) {
            addCriterion("exp_flag <=", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagLike(String value) {
            addCriterion("exp_flag like", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagNotLike(String value) {
            addCriterion("exp_flag not like", value, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagIn(List<String> values) {
            addCriterion("exp_flag in", values, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagNotIn(List<String> values) {
            addCriterion("exp_flag not in", values, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagBetween(String value1, String value2) {
            addCriterion("exp_flag between", value1, value2, "expFlag");
            return (Criteria) this;
        }

        public Criteria andExpFlagNotBetween(String value1, String value2) {
            addCriterion("exp_flag not between", value1, value2, "expFlag");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andInvDateStartIsNull() {
            addCriterion("inv_date_start is null");
            return (Criteria) this;
        }

        public Criteria andInvDateStartIsNotNull() {
            addCriterion("inv_date_start is not null");
            return (Criteria) this;
        }

        public Criteria andInvDateStartEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_start =", value, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartNotEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_start <>", value, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartGreaterThan(Date value) {
            addCriterionForJDBCDate("inv_date_start >", value, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_start >=", value, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartLessThan(Date value) {
            addCriterionForJDBCDate("inv_date_start <", value, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_start <=", value, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartIn(List<Date> values) {
            addCriterionForJDBCDate("inv_date_start in", values, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartNotIn(List<Date> values) {
            addCriterionForJDBCDate("inv_date_start not in", values, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("inv_date_start between", value1, value2, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateStartNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("inv_date_start not between", value1, value2, "invDateStart");
            return (Criteria) this;
        }

        public Criteria andInvDateEndIsNull() {
            addCriterion("inv_date_end is null");
            return (Criteria) this;
        }

        public Criteria andInvDateEndIsNotNull() {
            addCriterion("inv_date_end is not null");
            return (Criteria) this;
        }

        public Criteria andInvDateEndEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_end =", value, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndNotEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_end <>", value, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndGreaterThan(Date value) {
            addCriterionForJDBCDate("inv_date_end >", value, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_end >=", value, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndLessThan(Date value) {
            addCriterionForJDBCDate("inv_date_end <", value, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date_end <=", value, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndIn(List<Date> values) {
            addCriterionForJDBCDate("inv_date_end in", values, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndNotIn(List<Date> values) {
            addCriterionForJDBCDate("inv_date_end not in", values, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("inv_date_end between", value1, value2, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andInvDateEndNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("inv_date_end not between", value1, value2, "invDateEnd");
            return (Criteria) this;
        }

        public Criteria andUuidFlagIsNull() {
            addCriterion("uuid_flag is null");
            return (Criteria) this;
        }

        public Criteria andUuidFlagIsNotNull() {
            addCriterion("uuid_flag is not null");
            return (Criteria) this;
        }

        public Criteria andUuidFlagEqualTo(String value) {
            addCriterion("uuid_flag =", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagNotEqualTo(String value) {
            addCriterion("uuid_flag <>", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagGreaterThan(String value) {
            addCriterion("uuid_flag >", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagGreaterThanOrEqualTo(String value) {
            addCriterion("uuid_flag >=", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagLessThan(String value) {
            addCriterion("uuid_flag <", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagLessThanOrEqualTo(String value) {
            addCriterion("uuid_flag <=", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagLike(String value) {
            addCriterion("uuid_flag like", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagNotLike(String value) {
            addCriterion("uuid_flag not like", value, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagIn(List<String> values) {
            addCriterion("uuid_flag in", values, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagNotIn(List<String> values) {
            addCriterion("uuid_flag not in", values, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagBetween(String value1, String value2) {
            addCriterion("uuid_flag between", value1, value2, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andUuidFlagNotBetween(String value1, String value2) {
            addCriterion("uuid_flag not between", value1, value2, "uuidFlag");
            return (Criteria) this;
        }

        public Criteria andFileMd5IsNull() {
            addCriterion("file_md5 is null");
            return (Criteria) this;
        }

        public Criteria andFileMd5IsNotNull() {
            addCriterion("file_md5 is not null");
            return (Criteria) this;
        }

        public Criteria andFileMd5EqualTo(String value) {
            addCriterion("file_md5 =", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotEqualTo(String value) {
            addCriterion("file_md5 <>", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5GreaterThan(String value) {
            addCriterion("file_md5 >", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5GreaterThanOrEqualTo(String value) {
            addCriterion("file_md5 >=", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5LessThan(String value) {
            addCriterion("file_md5 <", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5LessThanOrEqualTo(String value) {
            addCriterion("file_md5 <=", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5Like(String value) {
            addCriterion("file_md5 like", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotLike(String value) {
            addCriterion("file_md5 not like", value, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5In(List<String> values) {
            addCriterion("file_md5 in", values, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotIn(List<String> values) {
            addCriterion("file_md5 not in", values, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5Between(String value1, String value2) {
            addCriterion("file_md5 between", value1, value2, "fileMd5");
            return (Criteria) this;
        }

        public Criteria andFileMd5NotBetween(String value1, String value2) {
            addCriterion("file_md5 not between", value1, value2, "fileMd5");
            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;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table file_sync
     *
     * @mbggenerated do_not_delete_during_merge Thu Nov 11 14:24:44 CST 2021
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table file_sync
     *
     * @mbggenerated Thu Nov 11 14:24:44 CST 2021
     */
    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);
        }
    }
}