package com.bailuntec.domain.example;

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

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

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

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

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table dc_base_finance_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @mbg.generated
     */
    public DcBaseFinanceWishExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public static Criteria newAndCreateCriteria() {
        DcBaseFinanceWishExample example = new DcBaseFinanceWishExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table dc_base_finance_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public DcBaseFinanceWishExample 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_wish
     *
     * @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 andCampaignIdIsNull() {
            addCriterion("campaign_id is null");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIsNotNull() {
            addCriterion("campaign_id is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignIdEqualTo(String value) {
            addCriterion("campaign_id =", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotEqualTo(String value) {
            addCriterion("campaign_id <>", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdGreaterThan(String value) {
            addCriterion("campaign_id >", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdGreaterThanOrEqualTo(String value) {
            addCriterion("campaign_id >=", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLessThan(String value) {
            addCriterion("campaign_id <", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLessThanOrEqualTo(String value) {
            addCriterion("campaign_id <=", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdLike(String value) {
            addCriterion("campaign_id like", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotLike(String value) {
            addCriterion("campaign_id not like", value, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdIn(List<String> values) {
            addCriterion("campaign_id in", values, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotIn(List<String> values) {
            addCriterion("campaign_id not in", values, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdBetween(String value1, String value2) {
            addCriterion("campaign_id between", value1, value2, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignIdNotBetween(String value1, String value2) {
            addCriterion("campaign_id not between", value1, value2, "campaignId");
            return (Criteria) this;
        }

        public Criteria andCampaignNameIsNull() {
            addCriterion("campaign_name is null");
            return (Criteria) this;
        }

        public Criteria andCampaignNameIsNotNull() {
            addCriterion("campaign_name is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignNameEqualTo(String value) {
            addCriterion("campaign_name =", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotEqualTo(String value) {
            addCriterion("campaign_name <>", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameGreaterThan(String value) {
            addCriterion("campaign_name >", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameGreaterThanOrEqualTo(String value) {
            addCriterion("campaign_name >=", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameLessThan(String value) {
            addCriterion("campaign_name <", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameLessThanOrEqualTo(String value) {
            addCriterion("campaign_name <=", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameLike(String value) {
            addCriterion("campaign_name like", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotLike(String value) {
            addCriterion("campaign_name not like", value, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameIn(List<String> values) {
            addCriterion("campaign_name in", values, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotIn(List<String> values) {
            addCriterion("campaign_name not in", values, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameBetween(String value1, String value2) {
            addCriterion("campaign_name between", value1, value2, "campaignName");
            return (Criteria) this;
        }

        public Criteria andCampaignNameNotBetween(String value1, String value2) {
            addCriterion("campaign_name not between", value1, value2, "campaignName");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateIsNull() {
            addCriterion("other_to_cny_exchange_rate is null");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateIsNotNull() {
            addCriterion("other_to_cny_exchange_rate is not null");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateEqualTo(BigDecimal value) {
            addCriterion("other_to_cny_exchange_rate =", value, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateNotEqualTo(BigDecimal value) {
            addCriterion("other_to_cny_exchange_rate <>", value, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateGreaterThan(BigDecimal value) {
            addCriterion("other_to_cny_exchange_rate >", value, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("other_to_cny_exchange_rate >=", value, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateLessThan(BigDecimal value) {
            addCriterion("other_to_cny_exchange_rate <", value, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("other_to_cny_exchange_rate <=", value, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateIn(List<BigDecimal> values) {
            addCriterion("other_to_cny_exchange_rate in", values, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateNotIn(List<BigDecimal> values) {
            addCriterion("other_to_cny_exchange_rate not in", values, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_to_cny_exchange_rate between", value1, value2, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToCnyExchangeRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_to_cny_exchange_rate not between", value1, value2, "otherToCnyExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateIsNull() {
            addCriterion("other_to_usd_exchange_rate is null");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateIsNotNull() {
            addCriterion("other_to_usd_exchange_rate is not null");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateEqualTo(BigDecimal value) {
            addCriterion("other_to_usd_exchange_rate =", value, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateNotEqualTo(BigDecimal value) {
            addCriterion("other_to_usd_exchange_rate <>", value, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateGreaterThan(BigDecimal value) {
            addCriterion("other_to_usd_exchange_rate >", value, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("other_to_usd_exchange_rate >=", value, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateLessThan(BigDecimal value) {
            addCriterion("other_to_usd_exchange_rate <", value, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("other_to_usd_exchange_rate <=", value, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateIn(List<BigDecimal> values) {
            addCriterion("other_to_usd_exchange_rate in", values, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateNotIn(List<BigDecimal> values) {
            addCriterion("other_to_usd_exchange_rate not in", values, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_to_usd_exchange_rate between", value1, value2, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andOtherToUsdExchangeRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("other_to_usd_exchange_rate not between", value1, value2, "otherToUsdExchangeRate");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetIsNull() {
            addCriterion("campaign_max_budget is null");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetIsNotNull() {
            addCriterion("campaign_max_budget is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetEqualTo(BigDecimal value) {
            addCriterion("campaign_max_budget =", value, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetNotEqualTo(BigDecimal value) {
            addCriterion("campaign_max_budget <>", value, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetGreaterThan(BigDecimal value) {
            addCriterion("campaign_max_budget >", value, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("campaign_max_budget >=", value, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetLessThan(BigDecimal value) {
            addCriterion("campaign_max_budget <", value, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetLessThanOrEqualTo(BigDecimal value) {
            addCriterion("campaign_max_budget <=", value, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetIn(List<BigDecimal> values) {
            addCriterion("campaign_max_budget in", values, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetNotIn(List<BigDecimal> values) {
            addCriterion("campaign_max_budget not in", values, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("campaign_max_budget between", value1, value2, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andCampaignMaxBudgetNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("campaign_max_budget not between", value1, value2, "campaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignIsNull() {
            addCriterion("is_automated_campaign is null");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignIsNotNull() {
            addCriterion("is_automated_campaign is not null");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignEqualTo(Boolean value) {
            addCriterion("is_automated_campaign =", value, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignNotEqualTo(Boolean value) {
            addCriterion("is_automated_campaign <>", value, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignGreaterThan(Boolean value) {
            addCriterion("is_automated_campaign >", value, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_automated_campaign >=", value, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignLessThan(Boolean value) {
            addCriterion("is_automated_campaign <", value, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignLessThanOrEqualTo(Boolean value) {
            addCriterion("is_automated_campaign <=", value, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignIn(List<Boolean> values) {
            addCriterion("is_automated_campaign in", values, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignNotIn(List<Boolean> values) {
            addCriterion("is_automated_campaign not in", values, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignBetween(Boolean value1, Boolean value2) {
            addCriterion("is_automated_campaign between", value1, value2, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andIsAutomatedCampaignNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_automated_campaign not between", value1, value2, "isAutomatedCampaign");
            return (Criteria) this;
        }

        public Criteria andAutoRenewIsNull() {
            addCriterion("auto_renew is null");
            return (Criteria) this;
        }

        public Criteria andAutoRenewIsNotNull() {
            addCriterion("auto_renew is not null");
            return (Criteria) this;
        }

        public Criteria andAutoRenewEqualTo(Boolean value) {
            addCriterion("auto_renew =", value, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewNotEqualTo(Boolean value) {
            addCriterion("auto_renew <>", value, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewGreaterThan(Boolean value) {
            addCriterion("auto_renew >", value, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewGreaterThanOrEqualTo(Boolean value) {
            addCriterion("auto_renew >=", value, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewLessThan(Boolean value) {
            addCriterion("auto_renew <", value, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewLessThanOrEqualTo(Boolean value) {
            addCriterion("auto_renew <=", value, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewIn(List<Boolean> values) {
            addCriterion("auto_renew in", values, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewNotIn(List<Boolean> values) {
            addCriterion("auto_renew not in", values, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewBetween(Boolean value1, Boolean value2) {
            addCriterion("auto_renew between", value1, value2, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andAutoRenewNotBetween(Boolean value1, Boolean value2) {
            addCriterion("auto_renew not between", value1, value2, "autoRenew");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountIsNull() {
            addCriterion("scheduled_add_budget_amount is null");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountIsNotNull() {
            addCriterion("scheduled_add_budget_amount is not null");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountEqualTo(BigDecimal value) {
            addCriterion("scheduled_add_budget_amount =", value, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountNotEqualTo(BigDecimal value) {
            addCriterion("scheduled_add_budget_amount <>", value, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountGreaterThan(BigDecimal value) {
            addCriterion("scheduled_add_budget_amount >", value, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("scheduled_add_budget_amount >=", value, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountLessThan(BigDecimal value) {
            addCriterion("scheduled_add_budget_amount <", value, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("scheduled_add_budget_amount <=", value, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountIn(List<BigDecimal> values) {
            addCriterion("scheduled_add_budget_amount in", values, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountNotIn(List<BigDecimal> values) {
            addCriterion("scheduled_add_budget_amount not in", values, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("scheduled_add_budget_amount between", value1, value2, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("scheduled_add_budget_amount not between", value1, value2, "scheduledAddBudgetAmount");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsIsNull() {
            addCriterion("total_impressions is null");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsIsNotNull() {
            addCriterion("total_impressions is not null");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsEqualTo(Integer value) {
            addCriterion("total_impressions =", value, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsNotEqualTo(Integer value) {
            addCriterion("total_impressions <>", value, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsGreaterThan(Integer value) {
            addCriterion("total_impressions >", value, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_impressions >=", value, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsLessThan(Integer value) {
            addCriterion("total_impressions <", value, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsLessThanOrEqualTo(Integer value) {
            addCriterion("total_impressions <=", value, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsIn(List<Integer> values) {
            addCriterion("total_impressions in", values, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsNotIn(List<Integer> values) {
            addCriterion("total_impressions not in", values, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsBetween(Integer value1, Integer value2) {
            addCriterion("total_impressions between", value1, value2, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionsNotBetween(Integer value1, Integer value2) {
            addCriterion("total_impressions not between", value1, value2, "totalImpressions");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(LocalDateTime value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(LocalDateTime value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(LocalDateTime value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(LocalDateTime value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<LocalDateTime> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<LocalDateTime> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andSalesIsNull() {
            addCriterion("sales is null");
            return (Criteria) this;
        }

        public Criteria andSalesIsNotNull() {
            addCriterion("sales is not null");
            return (Criteria) this;
        }

        public Criteria andSalesEqualTo(Integer value) {
            addCriterion("sales =", value, "sales");
            return (Criteria) this;
        }

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

        public Criteria andSalesGreaterThan(Integer value) {
            addCriterion("sales >", value, "sales");
            return (Criteria) this;
        }

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

        public Criteria andSalesLessThan(Integer value) {
            addCriterion("sales <", value, "sales");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andTotalImpressionFeesChargedIsNull() {
            addCriterion("total_impression_fees_charged is null");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedIsNotNull() {
            addCriterion("total_impression_fees_charged is not null");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedEqualTo(BigDecimal value) {
            addCriterion("total_impression_fees_charged =", value, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedNotEqualTo(BigDecimal value) {
            addCriterion("total_impression_fees_charged <>", value, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedGreaterThan(BigDecimal value) {
            addCriterion("total_impression_fees_charged >", value, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_impression_fees_charged >=", value, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedLessThan(BigDecimal value) {
            addCriterion("total_impression_fees_charged <", value, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_impression_fees_charged <=", value, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedIn(List<BigDecimal> values) {
            addCriterion("total_impression_fees_charged in", values, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedNotIn(List<BigDecimal> values) {
            addCriterion("total_impression_fees_charged not in", values, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_impression_fees_charged between", value1, value2, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalImpressionFeesChargedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_impression_fees_charged not between", value1, value2, "totalImpressionFeesCharged");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledIsNull() {
            addCriterion("scheduled_add_budget_enabled is null");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledIsNotNull() {
            addCriterion("scheduled_add_budget_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledEqualTo(Boolean value) {
            addCriterion("scheduled_add_budget_enabled =", value, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledNotEqualTo(Boolean value) {
            addCriterion("scheduled_add_budget_enabled <>", value, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledGreaterThan(Boolean value) {
            addCriterion("scheduled_add_budget_enabled >", value, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledGreaterThanOrEqualTo(Boolean value) {
            addCriterion("scheduled_add_budget_enabled >=", value, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledLessThan(Boolean value) {
            addCriterion("scheduled_add_budget_enabled <", value, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledLessThanOrEqualTo(Boolean value) {
            addCriterion("scheduled_add_budget_enabled <=", value, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledIn(List<Boolean> values) {
            addCriterion("scheduled_add_budget_enabled in", values, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledNotIn(List<Boolean> values) {
            addCriterion("scheduled_add_budget_enabled not in", values, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledBetween(Boolean value1, Boolean value2) {
            addCriterion("scheduled_add_budget_enabled between", value1, value2, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetEnabledNotBetween(Boolean value1, Boolean value2) {
            addCriterion("scheduled_add_budget_enabled not between", value1, value2, "scheduledAddBudgetEnabled");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNull() {
            addCriterion("merchant_id is null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIsNotNull() {
            addCriterion("merchant_id is not null");
            return (Criteria) this;
        }

        public Criteria andMerchantIdEqualTo(String value) {
            addCriterion("merchant_id =", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotEqualTo(String value) {
            addCriterion("merchant_id <>", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThan(String value) {
            addCriterion("merchant_id >", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdGreaterThanOrEqualTo(String value) {
            addCriterion("merchant_id >=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThan(String value) {
            addCriterion("merchant_id <", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLessThanOrEqualTo(String value) {
            addCriterion("merchant_id <=", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdLike(String value) {
            addCriterion("merchant_id like", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotLike(String value) {
            addCriterion("merchant_id not like", value, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdIn(List<String> values) {
            addCriterion("merchant_id in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotIn(List<String> values) {
            addCriterion("merchant_id not in", values, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdBetween(String value1, String value2) {
            addCriterion("merchant_id between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andMerchantIdNotBetween(String value1, String value2) {
            addCriterion("merchant_id not between", value1, value2, "merchantId");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownIsNull() {
            addCriterion("impression_fees_breakdown is null");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownIsNotNull() {
            addCriterion("impression_fees_breakdown is not null");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownEqualTo(String value) {
            addCriterion("impression_fees_breakdown =", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownNotEqualTo(String value) {
            addCriterion("impression_fees_breakdown <>", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownGreaterThan(String value) {
            addCriterion("impression_fees_breakdown >", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownGreaterThanOrEqualTo(String value) {
            addCriterion("impression_fees_breakdown >=", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownLessThan(String value) {
            addCriterion("impression_fees_breakdown <", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownLessThanOrEqualTo(String value) {
            addCriterion("impression_fees_breakdown <=", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownLike(String value) {
            addCriterion("impression_fees_breakdown like", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownNotLike(String value) {
            addCriterion("impression_fees_breakdown not like", value, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownIn(List<String> values) {
            addCriterion("impression_fees_breakdown in", values, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownNotIn(List<String> values) {
            addCriterion("impression_fees_breakdown not in", values, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownBetween(String value1, String value2) {
            addCriterion("impression_fees_breakdown between", value1, value2, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andImpressionFeesBreakdownNotBetween(String value1, String value2) {
            addCriterion("impression_fees_breakdown not between", value1, value2, "impressionFeesBreakdown");
            return (Criteria) this;
        }

        public Criteria andCampaignStateIsNull() {
            addCriterion("campaign_state is null");
            return (Criteria) this;
        }

        public Criteria andCampaignStateIsNotNull() {
            addCriterion("campaign_state is not null");
            return (Criteria) this;
        }

        public Criteria andCampaignStateEqualTo(String value) {
            addCriterion("campaign_state =", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateNotEqualTo(String value) {
            addCriterion("campaign_state <>", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateGreaterThan(String value) {
            addCriterion("campaign_state >", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateGreaterThanOrEqualTo(String value) {
            addCriterion("campaign_state >=", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateLessThan(String value) {
            addCriterion("campaign_state <", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateLessThanOrEqualTo(String value) {
            addCriterion("campaign_state <=", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateLike(String value) {
            addCriterion("campaign_state like", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateNotLike(String value) {
            addCriterion("campaign_state not like", value, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateIn(List<String> values) {
            addCriterion("campaign_state in", values, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateNotIn(List<String> values) {
            addCriterion("campaign_state not in", values, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateBetween(String value1, String value2) {
            addCriterion("campaign_state between", value1, value2, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCampaignStateNotBetween(String value1, String value2) {
            addCriterion("campaign_state not between", value1, value2, "campaignState");
            return (Criteria) this;
        }

        public Criteria andCanEditIsNull() {
            addCriterion("can_edit is null");
            return (Criteria) this;
        }

        public Criteria andCanEditIsNotNull() {
            addCriterion("can_edit is not null");
            return (Criteria) this;
        }

        public Criteria andCanEditEqualTo(Boolean value) {
            addCriterion("can_edit =", value, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditNotEqualTo(Boolean value) {
            addCriterion("can_edit <>", value, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditGreaterThan(Boolean value) {
            addCriterion("can_edit >", value, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditGreaterThanOrEqualTo(Boolean value) {
            addCriterion("can_edit >=", value, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditLessThan(Boolean value) {
            addCriterion("can_edit <", value, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditLessThanOrEqualTo(Boolean value) {
            addCriterion("can_edit <=", value, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditIn(List<Boolean> values) {
            addCriterion("can_edit in", values, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditNotIn(List<Boolean> values) {
            addCriterion("can_edit not in", values, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditBetween(Boolean value1, Boolean value2) {
            addCriterion("can_edit between", value1, value2, "canEdit");
            return (Criteria) this;
        }

        public Criteria andCanEditNotBetween(Boolean value1, Boolean value2) {
            addCriterion("can_edit not between", value1, value2, "canEdit");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioIsNull() {
            addCriterion("discount_ratio is null");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioIsNotNull() {
            addCriterion("discount_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioEqualTo(BigDecimal value) {
            addCriterion("discount_ratio =", value, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioNotEqualTo(BigDecimal value) {
            addCriterion("discount_ratio <>", value, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioGreaterThan(BigDecimal value) {
            addCriterion("discount_ratio >", value, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_ratio >=", value, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioLessThan(BigDecimal value) {
            addCriterion("discount_ratio <", value, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("discount_ratio <=", value, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioIn(List<BigDecimal> values) {
            addCriterion("discount_ratio in", values, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioNotIn(List<BigDecimal> values) {
            addCriterion("discount_ratio not in", values, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_ratio between", value1, value2, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andDiscountRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("discount_ratio not between", value1, value2, "discountRatio");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostIsNull() {
            addCriterion("is_simple_boost is null");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostIsNotNull() {
            addCriterion("is_simple_boost is not null");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostEqualTo(Boolean value) {
            addCriterion("is_simple_boost =", value, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostNotEqualTo(Boolean value) {
            addCriterion("is_simple_boost <>", value, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostGreaterThan(Boolean value) {
            addCriterion("is_simple_boost >", value, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_simple_boost >=", value, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostLessThan(Boolean value) {
            addCriterion("is_simple_boost <", value, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostLessThanOrEqualTo(Boolean value) {
            addCriterion("is_simple_boost <=", value, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostIn(List<Boolean> values) {
            addCriterion("is_simple_boost in", values, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostNotIn(List<Boolean> values) {
            addCriterion("is_simple_boost not in", values, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostBetween(Boolean value1, Boolean value2) {
            addCriterion("is_simple_boost between", value1, value2, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andIsSimpleBoostNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_simple_boost not between", value1, value2, "isSimpleBoost");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendIsNull() {
            addCriterion("total_campaign_spend is null");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendIsNotNull() {
            addCriterion("total_campaign_spend is not null");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendEqualTo(BigDecimal value) {
            addCriterion("total_campaign_spend =", value, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendNotEqualTo(BigDecimal value) {
            addCriterion("total_campaign_spend <>", value, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendGreaterThan(BigDecimal value) {
            addCriterion("total_campaign_spend >", value, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_campaign_spend >=", value, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendLessThan(BigDecimal value) {
            addCriterion("total_campaign_spend <", value, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_campaign_spend <=", value, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendIn(List<BigDecimal> values) {
            addCriterion("total_campaign_spend in", values, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendNotIn(List<BigDecimal> values) {
            addCriterion("total_campaign_spend not in", values, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_campaign_spend between", value1, value2, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andTotalCampaignSpendNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_campaign_spend not between", value1, value2, "totalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysIsNull() {
            addCriterion("scheduled_add_budget_days is null");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysIsNotNull() {
            addCriterion("scheduled_add_budget_days is not null");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysEqualTo(String value) {
            addCriterion("scheduled_add_budget_days =", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysNotEqualTo(String value) {
            addCriterion("scheduled_add_budget_days <>", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysGreaterThan(String value) {
            addCriterion("scheduled_add_budget_days >", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysGreaterThanOrEqualTo(String value) {
            addCriterion("scheduled_add_budget_days >=", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysLessThan(String value) {
            addCriterion("scheduled_add_budget_days <", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysLessThanOrEqualTo(String value) {
            addCriterion("scheduled_add_budget_days <=", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysLike(String value) {
            addCriterion("scheduled_add_budget_days like", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysNotLike(String value) {
            addCriterion("scheduled_add_budget_days not like", value, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysIn(List<String> values) {
            addCriterion("scheduled_add_budget_days in", values, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysNotIn(List<String> values) {
            addCriterion("scheduled_add_budget_days not in", values, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysBetween(String value1, String value2) {
            addCriterion("scheduled_add_budget_days between", value1, value2, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andScheduledAddBudgetDaysNotBetween(String value1, String value2) {
            addCriterion("scheduled_add_budget_days not between", value1, value2, "scheduledAddBudgetDays");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(LocalDateTime value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(LocalDateTime value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(LocalDateTime value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(LocalDateTime value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<LocalDateTime> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<LocalDateTime> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(LocalDateTime value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(LocalDateTime value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(LocalDateTime value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(LocalDateTime value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<LocalDateTime> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<LocalDateTime> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedIsNull() {
            addCriterion("total_enrollment_fees_charged is null");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedIsNotNull() {
            addCriterion("total_enrollment_fees_charged is not null");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedEqualTo(BigDecimal value) {
            addCriterion("total_enrollment_fees_charged =", value, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedNotEqualTo(BigDecimal value) {
            addCriterion("total_enrollment_fees_charged <>", value, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedGreaterThan(BigDecimal value) {
            addCriterion("total_enrollment_fees_charged >", value, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_enrollment_fees_charged >=", value, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedLessThan(BigDecimal value) {
            addCriterion("total_enrollment_fees_charged <", value, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_enrollment_fees_charged <=", value, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedIn(List<BigDecimal> values) {
            addCriterion("total_enrollment_fees_charged in", values, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedNotIn(List<BigDecimal> values) {
            addCriterion("total_enrollment_fees_charged not in", values, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_enrollment_fees_charged between", value1, value2, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andTotalEnrollmentFeesChargedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_enrollment_fees_charged not between", value1, value2, "totalEnrollmentFeesCharged");
            return (Criteria) this;
        }

        public Criteria andGmvIsNull() {
            addCriterion("gmv is null");
            return (Criteria) this;
        }

        public Criteria andGmvIsNotNull() {
            addCriterion("gmv is not null");
            return (Criteria) this;
        }

        public Criteria andGmvEqualTo(BigDecimal value) {
            addCriterion("gmv =", value, "gmv");
            return (Criteria) this;
        }

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

        public Criteria andGmvGreaterThan(BigDecimal value) {
            addCriterion("gmv >", value, "gmv");
            return (Criteria) this;
        }

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

        public Criteria andGmvLessThan(BigDecimal value) {
            addCriterion("gmv <", value, "gmv");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(Integer value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(Integer value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(Integer value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(Integer value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(Integer value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<Integer> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<Integer> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(Integer value1, Integer value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(Integer value1, Integer value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Integer value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Integer value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Integer value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Integer value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Integer value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Integer> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Integer> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Integer value1, Integer value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeIsNull() {
            addCriterion("gmt_create_time is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeIsNotNull() {
            addCriterion("gmt_create_time is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time =", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time <>", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("gmt_create_time >", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time >=", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeLessThan(LocalDateTime value) {
            addCriterion("gmt_create_time <", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_create_time <=", value, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("gmt_create_time in", values, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_create_time not in", values, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create_time between", value1, value2, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_create_time not between", value1, value2, "gmtCreateTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeIsNull() {
            addCriterion("gmt_modify_time is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeIsNotNull() {
            addCriterion("gmt_modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time =", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time <>", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeGreaterThan(LocalDateTime value) {
            addCriterion("gmt_modify_time >", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time >=", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeLessThan(LocalDateTime value) {
            addCriterion("gmt_modify_time <", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_modify_time <=", value, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeIn(List<LocalDateTime> values) {
            addCriterion("gmt_modify_time in", values, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_modify_time not in", values, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modify_time between", value1, value2, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andGmtModifyTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_modify_time not between", value1, value2, "gmtModifyTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNull() {
            addCriterion("record_time is null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIsNotNull() {
            addCriterion("record_time is not null");
            return (Criteria) this;
        }

        public Criteria andRecordTimeEqualTo(LocalDate value) {
            addCriterion("record_time =", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotEqualTo(LocalDate value) {
            addCriterion("record_time <>", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThan(LocalDate value) {
            addCriterion("record_time >", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeGreaterThanOrEqualTo(LocalDate value) {
            addCriterion("record_time >=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThan(LocalDate value) {
            addCriterion("record_time <", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeLessThanOrEqualTo(LocalDate value) {
            addCriterion("record_time <=", value, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeIn(List<LocalDate> values) {
            addCriterion("record_time in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotIn(List<LocalDate> values) {
            addCriterion("record_time not in", values, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeBetween(LocalDate value1, LocalDate value2) {
            addCriterion("record_time between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andRecordTimeNotBetween(LocalDate value1, LocalDate value2) {
            addCriterion("record_time not between", value1, value2, "recordTime");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetIsNull() {
            addCriterion("daily_campaign_max_budget is null");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetIsNotNull() {
            addCriterion("daily_campaign_max_budget is not null");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetEqualTo(BigDecimal value) {
            addCriterion("daily_campaign_max_budget =", value, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetNotEqualTo(BigDecimal value) {
            addCriterion("daily_campaign_max_budget <>", value, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetGreaterThan(BigDecimal value) {
            addCriterion("daily_campaign_max_budget >", value, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_campaign_max_budget >=", value, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetLessThan(BigDecimal value) {
            addCriterion("daily_campaign_max_budget <", value, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetLessThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_campaign_max_budget <=", value, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetIn(List<BigDecimal> values) {
            addCriterion("daily_campaign_max_budget in", values, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetNotIn(List<BigDecimal> values) {
            addCriterion("daily_campaign_max_budget not in", values, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_campaign_max_budget between", value1, value2, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyCampaignMaxBudgetNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_campaign_max_budget not between", value1, value2, "dailyCampaignMaxBudget");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendIsNull() {
            addCriterion("daily_total_campaign_spend is null");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendIsNotNull() {
            addCriterion("daily_total_campaign_spend is not null");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendEqualTo(BigDecimal value) {
            addCriterion("daily_total_campaign_spend =", value, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendNotEqualTo(BigDecimal value) {
            addCriterion("daily_total_campaign_spend <>", value, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendGreaterThan(BigDecimal value) {
            addCriterion("daily_total_campaign_spend >", value, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_total_campaign_spend >=", value, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendLessThan(BigDecimal value) {
            addCriterion("daily_total_campaign_spend <", value, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendLessThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_total_campaign_spend <=", value, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendIn(List<BigDecimal> values) {
            addCriterion("daily_total_campaign_spend in", values, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendNotIn(List<BigDecimal> values) {
            addCriterion("daily_total_campaign_spend not in", values, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_total_campaign_spend between", value1, value2, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyTotalCampaignSpendNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_total_campaign_spend not between", value1, value2, "dailyTotalCampaignSpend");
            return (Criteria) this;
        }

        public Criteria andDailyGmvIsNull() {
            addCriterion("daily_gmv is null");
            return (Criteria) this;
        }

        public Criteria andDailyGmvIsNotNull() {
            addCriterion("daily_gmv is not null");
            return (Criteria) this;
        }

        public Criteria andDailyGmvEqualTo(BigDecimal value) {
            addCriterion("daily_gmv =", value, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvNotEqualTo(BigDecimal value) {
            addCriterion("daily_gmv <>", value, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvGreaterThan(BigDecimal value) {
            addCriterion("daily_gmv >", value, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_gmv >=", value, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvLessThan(BigDecimal value) {
            addCriterion("daily_gmv <", value, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvLessThanOrEqualTo(BigDecimal value) {
            addCriterion("daily_gmv <=", value, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvIn(List<BigDecimal> values) {
            addCriterion("daily_gmv in", values, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvNotIn(List<BigDecimal> values) {
            addCriterion("daily_gmv not in", values, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_gmv between", value1, value2, "dailyGmv");
            return (Criteria) this;
        }

        public Criteria andDailyGmvNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("daily_gmv not between", value1, value2, "dailyGmv");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table dc_base_finance_wish
     *
     * @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_wish
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private DcBaseFinanceWishExample example;

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table dc_base_finance_wish
         *
         * @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_wish
         *
         * @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_wish
         *
         * @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_wish
         *
         * @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_wish
             *
             * @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_wish
     *
     * @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_wish
     *
     * @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_wish
         *
         * @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_wish
     *
     * @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_wish
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        void example(DcBaseFinanceWishExample example);
    }
}