package com.bailuntec.domain.example;

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer offset;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    protected Integer rows;

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        DcBaseFinanceLogisticsExample example = new DcBaseFinanceLogisticsExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getOffset() {
        return this.offset;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public void setRows(Integer rows) {
        this.rows = rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public Integer getRows() {
        return this.rows;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceLogisticsExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

        public Criteria andIdEqualTo(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 andNoIsNull() {
            addCriterion("no is null");
            return (Criteria) this;
        }

        public Criteria andNoIsNotNull() {
            addCriterion("no is not null");
            return (Criteria) this;
        }

        public Criteria andNoEqualTo(String value) {
            addCriterion("no =", value, "no");
            return (Criteria) this;
        }

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

        public Criteria andNoGreaterThan(String value) {
            addCriterion("no >", value, "no");
            return (Criteria) this;
        }

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

        public Criteria andNoLessThan(String value) {
            addCriterion("no <", value, "no");
            return (Criteria) this;
        }

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

        public Criteria andNoLike(String value) {
            addCriterion("no like", value, "no");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andReceiveUnitIsNull() {
            addCriterion("receive_unit is null");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitIsNotNull() {
            addCriterion("receive_unit is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitEqualTo(String value) {
            addCriterion("receive_unit =", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitNotEqualTo(String value) {
            addCriterion("receive_unit <>", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitGreaterThan(String value) {
            addCriterion("receive_unit >", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitGreaterThanOrEqualTo(String value) {
            addCriterion("receive_unit >=", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitLessThan(String value) {
            addCriterion("receive_unit <", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitLessThanOrEqualTo(String value) {
            addCriterion("receive_unit <=", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitLike(String value) {
            addCriterion("receive_unit like", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitNotLike(String value) {
            addCriterion("receive_unit not like", value, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitIn(List<String> values) {
            addCriterion("receive_unit in", values, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitNotIn(List<String> values) {
            addCriterion("receive_unit not in", values, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitBetween(String value1, String value2) {
            addCriterion("receive_unit between", value1, value2, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveUnitNotBetween(String value1, String value2) {
            addCriterion("receive_unit not between", value1, value2, "receiveUnit");
            return (Criteria) this;
        }

        public Criteria andReceiveBankIsNull() {
            addCriterion("receive_bank is null");
            return (Criteria) this;
        }

        public Criteria andReceiveBankIsNotNull() {
            addCriterion("receive_bank is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveBankEqualTo(String value) {
            addCriterion("receive_bank =", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankNotEqualTo(String value) {
            addCriterion("receive_bank <>", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankGreaterThan(String value) {
            addCriterion("receive_bank >", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankGreaterThanOrEqualTo(String value) {
            addCriterion("receive_bank >=", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankLessThan(String value) {
            addCriterion("receive_bank <", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankLessThanOrEqualTo(String value) {
            addCriterion("receive_bank <=", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankLike(String value) {
            addCriterion("receive_bank like", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankNotLike(String value) {
            addCriterion("receive_bank not like", value, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankIn(List<String> values) {
            addCriterion("receive_bank in", values, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankNotIn(List<String> values) {
            addCriterion("receive_bank not in", values, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankBetween(String value1, String value2) {
            addCriterion("receive_bank between", value1, value2, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveBankNotBetween(String value1, String value2) {
            addCriterion("receive_bank not between", value1, value2, "receiveBank");
            return (Criteria) this;
        }

        public Criteria andReceiveCardIsNull() {
            addCriterion("receive_card is null");
            return (Criteria) this;
        }

        public Criteria andReceiveCardIsNotNull() {
            addCriterion("receive_card is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveCardEqualTo(String value) {
            addCriterion("receive_card =", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardNotEqualTo(String value) {
            addCriterion("receive_card <>", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardGreaterThan(String value) {
            addCriterion("receive_card >", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardGreaterThanOrEqualTo(String value) {
            addCriterion("receive_card >=", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardLessThan(String value) {
            addCriterion("receive_card <", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardLessThanOrEqualTo(String value) {
            addCriterion("receive_card <=", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardLike(String value) {
            addCriterion("receive_card like", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardNotLike(String value) {
            addCriterion("receive_card not like", value, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardIn(List<String> values) {
            addCriterion("receive_card in", values, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardNotIn(List<String> values) {
            addCriterion("receive_card not in", values, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardBetween(String value1, String value2) {
            addCriterion("receive_card between", value1, value2, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardNotBetween(String value1, String value2) {
            addCriterion("receive_card not between", value1, value2, "receiveCard");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserIsNull() {
            addCriterion("receive_card_user is null");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserIsNotNull() {
            addCriterion("receive_card_user is not null");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserEqualTo(String value) {
            addCriterion("receive_card_user =", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserNotEqualTo(String value) {
            addCriterion("receive_card_user <>", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserGreaterThan(String value) {
            addCriterion("receive_card_user >", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserGreaterThanOrEqualTo(String value) {
            addCriterion("receive_card_user >=", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserLessThan(String value) {
            addCriterion("receive_card_user <", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserLessThanOrEqualTo(String value) {
            addCriterion("receive_card_user <=", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserLike(String value) {
            addCriterion("receive_card_user like", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserNotLike(String value) {
            addCriterion("receive_card_user not like", value, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserIn(List<String> values) {
            addCriterion("receive_card_user in", values, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserNotIn(List<String> values) {
            addCriterion("receive_card_user not in", values, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserBetween(String value1, String value2) {
            addCriterion("receive_card_user between", value1, value2, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReceiveCardUserNotBetween(String value1, String value2) {
            addCriterion("receive_card_user not between", value1, value2, "receiveCardUser");
            return (Criteria) this;
        }

        public Criteria andReasonIsNull() {
            addCriterion("reason is null");
            return (Criteria) this;
        }

        public Criteria andReasonIsNotNull() {
            addCriterion("reason is not null");
            return (Criteria) this;
        }

        public Criteria andReasonEqualTo(String value) {
            addCriterion("reason =", value, "reason");
            return (Criteria) this;
        }

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

        public Criteria andReasonGreaterThan(String value) {
            addCriterion("reason >", value, "reason");
            return (Criteria) this;
        }

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

        public Criteria andReasonLessThan(String value) {
            addCriterion("reason <", value, "reason");
            return (Criteria) this;
        }

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

        public Criteria andReasonLike(String value) {
            addCriterion("reason like", value, "reason");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andManageCostTypeIsNull() {
            addCriterion("manage_cost_type is null");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeIsNotNull() {
            addCriterion("manage_cost_type is not null");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeEqualTo(Integer value) {
            addCriterion("manage_cost_type =", value, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeNotEqualTo(Integer value) {
            addCriterion("manage_cost_type <>", value, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeGreaterThan(Integer value) {
            addCriterion("manage_cost_type >", value, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("manage_cost_type >=", value, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeLessThan(Integer value) {
            addCriterion("manage_cost_type <", value, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeLessThanOrEqualTo(Integer value) {
            addCriterion("manage_cost_type <=", value, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeIn(List<Integer> values) {
            addCriterion("manage_cost_type in", values, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeNotIn(List<Integer> values) {
            addCriterion("manage_cost_type not in", values, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeBetween(Integer value1, Integer value2) {
            addCriterion("manage_cost_type between", value1, value2, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andManageCostTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("manage_cost_type not between", value1, value2, "manageCostType");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameIsNull() {
            addCriterion("department_name is null");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameIsNotNull() {
            addCriterion("department_name is not null");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameEqualTo(String value) {
            addCriterion("department_name =", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameNotEqualTo(String value) {
            addCriterion("department_name <>", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameGreaterThan(String value) {
            addCriterion("department_name >", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameGreaterThanOrEqualTo(String value) {
            addCriterion("department_name >=", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameLessThan(String value) {
            addCriterion("department_name <", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameLessThanOrEqualTo(String value) {
            addCriterion("department_name <=", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameLike(String value) {
            addCriterion("department_name like", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameNotLike(String value) {
            addCriterion("department_name not like", value, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameIn(List<String> values) {
            addCriterion("department_name in", values, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameNotIn(List<String> values) {
            addCriterion("department_name not in", values, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameBetween(String value1, String value2) {
            addCriterion("department_name between", value1, value2, "departmentName");
            return (Criteria) this;
        }

        public Criteria andDepartmentNameNotBetween(String value1, String value2) {
            addCriterion("department_name not between", value1, value2, "departmentName");
            return (Criteria) this;
        }

        public Criteria andCompanyValueIsNull() {
            addCriterion("company_value is null");
            return (Criteria) this;
        }

        public Criteria andCompanyValueIsNotNull() {
            addCriterion("company_value is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyValueEqualTo(String value) {
            addCriterion("company_value =", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueNotEqualTo(String value) {
            addCriterion("company_value <>", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueGreaterThan(String value) {
            addCriterion("company_value >", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueGreaterThanOrEqualTo(String value) {
            addCriterion("company_value >=", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueLessThan(String value) {
            addCriterion("company_value <", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueLessThanOrEqualTo(String value) {
            addCriterion("company_value <=", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueLike(String value) {
            addCriterion("company_value like", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueNotLike(String value) {
            addCriterion("company_value not like", value, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueIn(List<String> values) {
            addCriterion("company_value in", values, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueNotIn(List<String> values) {
            addCriterion("company_value not in", values, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueBetween(String value1, String value2) {
            addCriterion("company_value between", value1, value2, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyValueNotBetween(String value1, String value2) {
            addCriterion("company_value not between", value1, value2, "companyValue");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNull() {
            addCriterion("company_name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("company_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("company_name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("company_name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("company_name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("company_name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("company_name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("company_name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("company_name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("company_name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("company_name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("company_name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("company_name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("company_name not between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeIsNull() {
            addCriterion("fee_super_type is null");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeIsNotNull() {
            addCriterion("fee_super_type is not null");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeEqualTo(String value) {
            addCriterion("fee_super_type =", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeNotEqualTo(String value) {
            addCriterion("fee_super_type <>", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeGreaterThan(String value) {
            addCriterion("fee_super_type >", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeGreaterThanOrEqualTo(String value) {
            addCriterion("fee_super_type >=", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeLessThan(String value) {
            addCriterion("fee_super_type <", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeLessThanOrEqualTo(String value) {
            addCriterion("fee_super_type <=", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeLike(String value) {
            addCriterion("fee_super_type like", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeNotLike(String value) {
            addCriterion("fee_super_type not like", value, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeIn(List<String> values) {
            addCriterion("fee_super_type in", values, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeNotIn(List<String> values) {
            addCriterion("fee_super_type not in", values, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeBetween(String value1, String value2) {
            addCriterion("fee_super_type between", value1, value2, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSuperTypeNotBetween(String value1, String value2) {
            addCriterion("fee_super_type not between", value1, value2, "feeSuperType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeIsNull() {
            addCriterion("fee_sub_type is null");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeIsNotNull() {
            addCriterion("fee_sub_type is not null");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeEqualTo(String value) {
            addCriterion("fee_sub_type =", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeNotEqualTo(String value) {
            addCriterion("fee_sub_type <>", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeGreaterThan(String value) {
            addCriterion("fee_sub_type >", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeGreaterThanOrEqualTo(String value) {
            addCriterion("fee_sub_type >=", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeLessThan(String value) {
            addCriterion("fee_sub_type <", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeLessThanOrEqualTo(String value) {
            addCriterion("fee_sub_type <=", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeLike(String value) {
            addCriterion("fee_sub_type like", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeNotLike(String value) {
            addCriterion("fee_sub_type not like", value, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeIn(List<String> values) {
            addCriterion("fee_sub_type in", values, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeNotIn(List<String> values) {
            addCriterion("fee_sub_type not in", values, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeBetween(String value1, String value2) {
            addCriterion("fee_sub_type between", value1, value2, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andFeeSubTypeNotBetween(String value1, String value2) {
            addCriterion("fee_sub_type not between", value1, value2, "feeSubType");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(BigDecimal value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(BigDecimal value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(BigDecimal value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(BigDecimal value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<BigDecimal> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<BigDecimal> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyIsNotNull() {
            addCriterion("currency is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyEqualTo(String value) {
            addCriterion("currency =", value, "currency");
            return (Criteria) this;
        }

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

        public Criteria andCurrencyGreaterThan(String value) {
            addCriterion("currency >", value, "currency");
            return (Criteria) this;
        }

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

        public Criteria andCurrencyLessThan(String value) {
            addCriterion("currency <", value, "currency");
            return (Criteria) this;
        }

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

        public Criteria andCurrencyLike(String value) {
            addCriterion("currency like", value, "currency");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andAmountRmbIsNull() {
            addCriterion("amount_rmb is null");
            return (Criteria) this;
        }

        public Criteria andAmountRmbIsNotNull() {
            addCriterion("amount_rmb is not null");
            return (Criteria) this;
        }

        public Criteria andAmountRmbEqualTo(BigDecimal value) {
            addCriterion("amount_rmb =", value, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbNotEqualTo(BigDecimal value) {
            addCriterion("amount_rmb <>", value, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbGreaterThan(BigDecimal value) {
            addCriterion("amount_rmb >", value, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("amount_rmb >=", value, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbLessThan(BigDecimal value) {
            addCriterion("amount_rmb <", value, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbLessThanOrEqualTo(BigDecimal value) {
            addCriterion("amount_rmb <=", value, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbIn(List<BigDecimal> values) {
            addCriterion("amount_rmb in", values, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbNotIn(List<BigDecimal> values) {
            addCriterion("amount_rmb not in", values, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount_rmb between", value1, value2, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andAmountRmbNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("amount_rmb not between", value1, value2, "amountRmb");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(LocalDateTime value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(LocalDateTime value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(LocalDateTime value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<LocalDateTime> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(LocalDateTime value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(LocalDateTime value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<LocalDateTime> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private DcBaseFinanceLogisticsExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        protected Criteria(DcBaseFinanceLogisticsExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public DcBaseFinanceLogisticsExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        /**
         * This interface was generated by MyBatis Generator.
         * This interface corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table dc_base_finance_logistics
             *
             * @mbg.generated
             * @project https://github.com/itfsw/mybatis-generator-plugin
             */
            Criteria add(Criteria add);
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

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

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

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

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

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

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void criteria(Criteria criteria);
    }

    /**
     * This interface was generated by MyBatis Generator.
     * This interface corresponds to the database table dc_base_finance_logistics
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_logistics
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void example(DcBaseFinanceLogisticsExample example);
    }
}