package com.tax.file.model;

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

public class FIncomeInvoiceExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    public FIncomeInvoiceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06:35 CST 2020
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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 andInvKindIsNull() {
            addCriterion("inv_kind is null");
            return (Criteria) this;
        }

        public Criteria andInvKindIsNotNull() {
            addCriterion("inv_kind is not null");
            return (Criteria) this;
        }

        public Criteria andInvKindEqualTo(String value) {
            addCriterion("inv_kind =", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindNotEqualTo(String value) {
            addCriterion("inv_kind <>", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindGreaterThan(String value) {
            addCriterion("inv_kind >", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindGreaterThanOrEqualTo(String value) {
            addCriterion("inv_kind >=", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindLessThan(String value) {
            addCriterion("inv_kind <", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindLessThanOrEqualTo(String value) {
            addCriterion("inv_kind <=", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindLike(String value) {
            addCriterion("inv_kind like", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindNotLike(String value) {
            addCriterion("inv_kind not like", value, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindIn(List<String> values) {
            addCriterion("inv_kind in", values, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindNotIn(List<String> values) {
            addCriterion("inv_kind not in", values, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindBetween(String value1, String value2) {
            addCriterion("inv_kind between", value1, value2, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvKindNotBetween(String value1, String value2) {
            addCriterion("inv_kind not between", value1, value2, "invKind");
            return (Criteria) this;
        }

        public Criteria andInvNumIsNull() {
            addCriterion("inv_num is null");
            return (Criteria) this;
        }

        public Criteria andInvNumIsNotNull() {
            addCriterion("inv_num is not null");
            return (Criteria) this;
        }

        public Criteria andInvNumEqualTo(String value) {
            addCriterion("inv_num =", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumNotEqualTo(String value) {
            addCriterion("inv_num <>", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumGreaterThan(String value) {
            addCriterion("inv_num >", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumGreaterThanOrEqualTo(String value) {
            addCriterion("inv_num >=", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumLessThan(String value) {
            addCriterion("inv_num <", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumLessThanOrEqualTo(String value) {
            addCriterion("inv_num <=", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumLike(String value) {
            addCriterion("inv_num like", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumNotLike(String value) {
            addCriterion("inv_num not like", value, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumIn(List<String> values) {
            addCriterion("inv_num in", values, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumNotIn(List<String> values) {
            addCriterion("inv_num not in", values, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumBetween(String value1, String value2) {
            addCriterion("inv_num between", value1, value2, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvNumNotBetween(String value1, String value2) {
            addCriterion("inv_num not between", value1, value2, "invNum");
            return (Criteria) this;
        }

        public Criteria andInvDateIsNull() {
            addCriterion("inv_date is null");
            return (Criteria) this;
        }

        public Criteria andInvDateIsNotNull() {
            addCriterion("inv_date is not null");
            return (Criteria) this;
        }

        public Criteria andInvDateEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date =", value, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date <>", value, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateGreaterThan(Date value) {
            addCriterionForJDBCDate("inv_date >", value, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date >=", value, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateLessThan(Date value) {
            addCriterionForJDBCDate("inv_date <", value, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("inv_date <=", value, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateIn(List<Date> values) {
            addCriterionForJDBCDate("inv_date in", values, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("inv_date not in", values, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("inv_date between", value1, value2, "invDate");
            return (Criteria) this;
        }

        public Criteria andInvDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("inv_date not between", value1, value2, "invDate");
            return (Criteria) this;
        }

        public Criteria andIsIncomeIsNull() {
            addCriterion("is_income is null");
            return (Criteria) this;
        }

        public Criteria andIsIncomeIsNotNull() {
            addCriterion("is_income is not null");
            return (Criteria) this;
        }

        public Criteria andIsIncomeEqualTo(String value) {
            addCriterion("is_income =", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeNotEqualTo(String value) {
            addCriterion("is_income <>", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeGreaterThan(String value) {
            addCriterion("is_income >", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeGreaterThanOrEqualTo(String value) {
            addCriterion("is_income >=", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeLessThan(String value) {
            addCriterion("is_income <", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeLessThanOrEqualTo(String value) {
            addCriterion("is_income <=", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeLike(String value) {
            addCriterion("is_income like", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeNotLike(String value) {
            addCriterion("is_income not like", value, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeIn(List<String> values) {
            addCriterion("is_income in", values, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeNotIn(List<String> values) {
            addCriterion("is_income not in", values, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeBetween(String value1, String value2) {
            addCriterion("is_income between", value1, value2, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIsIncomeNotBetween(String value1, String value2) {
            addCriterion("is_income not between", value1, value2, "isIncome");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthIsNull() {
            addCriterion("income_month is null");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthIsNotNull() {
            addCriterion("income_month is not null");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthEqualTo(String value) {
            addCriterion("income_month =", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthNotEqualTo(String value) {
            addCriterion("income_month <>", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthGreaterThan(String value) {
            addCriterion("income_month >", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthGreaterThanOrEqualTo(String value) {
            addCriterion("income_month >=", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthLessThan(String value) {
            addCriterion("income_month <", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthLessThanOrEqualTo(String value) {
            addCriterion("income_month <=", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthLike(String value) {
            addCriterion("income_month like", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthNotLike(String value) {
            addCriterion("income_month not like", value, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthIn(List<String> values) {
            addCriterion("income_month in", values, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthNotIn(List<String> values) {
            addCriterion("income_month not in", values, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthBetween(String value1, String value2) {
            addCriterion("income_month between", value1, value2, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andIncomeMonthNotBetween(String value1, String value2) {
            addCriterion("income_month not between", value1, value2, "incomeMonth");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("result is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("result is not null");
            return (Criteria) this;
        }

        public Criteria andResultEqualTo(String value) {
            addCriterion("result =", value, "result");
            return (Criteria) this;
        }

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

        public Criteria andResultGreaterThan(String value) {
            addCriterion("result >", value, "result");
            return (Criteria) this;
        }

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

        public Criteria andResultLessThan(String value) {
            addCriterion("result <", value, "result");
            return (Criteria) this;
        }

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

        public Criteria andResultLike(String value) {
            addCriterion("result like", value, "result");
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andResultNotBetween(String value1, String value2) {
            addCriterion("result not between", value1, value2, "result");
            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 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 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 andDownStatusIsNull() {
            addCriterion("down_status is null");
            return (Criteria) this;
        }

        public Criteria andDownStatusIsNotNull() {
            addCriterion("down_status is not null");
            return (Criteria) this;
        }

        public Criteria andDownStatusEqualTo(String value) {
            addCriterion("down_status =", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusNotEqualTo(String value) {
            addCriterion("down_status <>", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusGreaterThan(String value) {
            addCriterion("down_status >", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusGreaterThanOrEqualTo(String value) {
            addCriterion("down_status >=", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusLessThan(String value) {
            addCriterion("down_status <", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusLessThanOrEqualTo(String value) {
            addCriterion("down_status <=", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusLike(String value) {
            addCriterion("down_status like", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusNotLike(String value) {
            addCriterion("down_status not like", value, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusIn(List<String> values) {
            addCriterion("down_status in", values, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusNotIn(List<String> values) {
            addCriterion("down_status not in", values, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusBetween(String value1, String value2) {
            addCriterion("down_status between", value1, value2, "downStatus");
            return (Criteria) this;
        }

        public Criteria andDownStatusNotBetween(String value1, String value2) {
            addCriterion("down_status not between", value1, value2, "downStatus");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNull() {
            addCriterion("apply_date is null");
            return (Criteria) this;
        }

        public Criteria andApplyDateIsNotNull() {
            addCriterion("apply_date is not null");
            return (Criteria) this;
        }

        public Criteria andApplyDateEqualTo(Date value) {
            addCriterion("apply_date =", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotEqualTo(Date value) {
            addCriterion("apply_date <>", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThan(Date value) {
            addCriterion("apply_date >", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("apply_date >=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThan(Date value) {
            addCriterion("apply_date <", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateLessThanOrEqualTo(Date value) {
            addCriterion("apply_date <=", value, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateIn(List<Date> values) {
            addCriterion("apply_date in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotIn(List<Date> values) {
            addCriterion("apply_date not in", values, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateBetween(Date value1, Date value2) {
            addCriterion("apply_date between", value1, value2, "applyDate");
            return (Criteria) this;
        }

        public Criteria andApplyDateNotBetween(Date value1, Date value2) {
            addCriterion("apply_date not between", value1, value2, "applyDate");
            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 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 andProcessDateIsNull() {
            addCriterion("process_date is null");
            return (Criteria) this;
        }

        public Criteria andProcessDateIsNotNull() {
            addCriterion("process_date is not null");
            return (Criteria) this;
        }

        public Criteria andProcessDateEqualTo(Date value) {
            addCriterion("process_date =", value, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateNotEqualTo(Date value) {
            addCriterion("process_date <>", value, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateGreaterThan(Date value) {
            addCriterion("process_date >", value, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateGreaterThanOrEqualTo(Date value) {
            addCriterion("process_date >=", value, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateLessThan(Date value) {
            addCriterion("process_date <", value, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateLessThanOrEqualTo(Date value) {
            addCriterion("process_date <=", value, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateIn(List<Date> values) {
            addCriterion("process_date in", values, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateNotIn(List<Date> values) {
            addCriterion("process_date not in", values, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateBetween(Date value1, Date value2) {
            addCriterion("process_date between", value1, value2, "processDate");
            return (Criteria) this;
        }

        public Criteria andProcessDateNotBetween(Date value1, Date value2) {
            addCriterion("process_date not between", value1, value2, "processDate");
            return (Criteria) this;
        }

        public Criteria andReqCountIsNull() {
            addCriterion("req_count is null");
            return (Criteria) this;
        }

        public Criteria andReqCountIsNotNull() {
            addCriterion("req_count is not null");
            return (Criteria) this;
        }

        public Criteria andReqCountEqualTo(Integer value) {
            addCriterion("req_count =", value, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountNotEqualTo(Integer value) {
            addCriterion("req_count <>", value, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountGreaterThan(Integer value) {
            addCriterion("req_count >", value, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("req_count >=", value, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountLessThan(Integer value) {
            addCriterion("req_count <", value, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountLessThanOrEqualTo(Integer value) {
            addCriterion("req_count <=", value, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountIn(List<Integer> values) {
            addCriterion("req_count in", values, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountNotIn(List<Integer> values) {
            addCriterion("req_count not in", values, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountBetween(Integer value1, Integer value2) {
            addCriterion("req_count between", value1, value2, "reqCount");
            return (Criteria) this;
        }

        public Criteria andReqCountNotBetween(Integer value1, Integer value2) {
            addCriterion("req_count not between", value1, value2, "reqCount");
            return (Criteria) this;
        }

        public Criteria andTasknoIsNull() {
            addCriterion("taskno is null");
            return (Criteria) this;
        }

        public Criteria andTasknoIsNotNull() {
            addCriterion("taskno is not null");
            return (Criteria) this;
        }

        public Criteria andTasknoEqualTo(String value) {
            addCriterion("taskno =", value, "taskno");
            return (Criteria) this;
        }

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

        public Criteria andTasknoGreaterThan(String value) {
            addCriterion("taskno >", value, "taskno");
            return (Criteria) this;
        }

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

        public Criteria andTasknoLessThan(String value) {
            addCriterion("taskno <", value, "taskno");
            return (Criteria) this;
        }

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

        public Criteria andTasknoLike(String value) {
            addCriterion("taskno like", value, "taskno");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andResStatusIsNull() {
            addCriterion("res_status is null");
            return (Criteria) this;
        }

        public Criteria andResStatusIsNotNull() {
            addCriterion("res_status is not null");
            return (Criteria) this;
        }

        public Criteria andResStatusEqualTo(String value) {
            addCriterion("res_status =", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusNotEqualTo(String value) {
            addCriterion("res_status <>", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusGreaterThan(String value) {
            addCriterion("res_status >", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusGreaterThanOrEqualTo(String value) {
            addCriterion("res_status >=", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusLessThan(String value) {
            addCriterion("res_status <", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusLessThanOrEqualTo(String value) {
            addCriterion("res_status <=", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusLike(String value) {
            addCriterion("res_status like", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusNotLike(String value) {
            addCriterion("res_status not like", value, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusIn(List<String> values) {
            addCriterion("res_status in", values, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusNotIn(List<String> values) {
            addCriterion("res_status not in", values, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusBetween(String value1, String value2) {
            addCriterion("res_status between", value1, value2, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResStatusNotBetween(String value1, String value2) {
            addCriterion("res_status not between", value1, value2, "resStatus");
            return (Criteria) this;
        }

        public Criteria andResTimeIsNull() {
            addCriterion("res_time is null");
            return (Criteria) this;
        }

        public Criteria andResTimeIsNotNull() {
            addCriterion("res_time is not null");
            return (Criteria) this;
        }

        public Criteria andResTimeEqualTo(Date value) {
            addCriterion("res_time =", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeNotEqualTo(Date value) {
            addCriterion("res_time <>", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeGreaterThan(Date value) {
            addCriterion("res_time >", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("res_time >=", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeLessThan(Date value) {
            addCriterion("res_time <", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeLessThanOrEqualTo(Date value) {
            addCriterion("res_time <=", value, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeIn(List<Date> values) {
            addCriterion("res_time in", values, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeNotIn(List<Date> values) {
            addCriterion("res_time not in", values, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeBetween(Date value1, Date value2) {
            addCriterion("res_time between", value1, value2, "resTime");
            return (Criteria) this;
        }

        public Criteria andResTimeNotBetween(Date value1, Date value2) {
            addCriterion("res_time not between", value1, value2, "resTime");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table f_income_invoice
     *
     * @mbggenerated do_not_delete_during_merge Mon Jun 01 10:06: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 f_income_invoice
     *
     * @mbggenerated Mon Jun 01 10:06: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);
        }
    }
}