package com.bailuntec.domain.example;

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

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

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

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

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

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

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

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

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

        public Criteria andEbayIdIsNotNull() {
            addCriterion("ebay_id is not null");
            return (Criteria) this;
        }

        public Criteria andEbayIdEqualTo(Integer value) {
            addCriterion("ebay_id =", value, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdNotEqualTo(Integer value) {
            addCriterion("ebay_id <>", value, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdGreaterThan(Integer value) {
            addCriterion("ebay_id >", value, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ebay_id >=", value, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdLessThan(Integer value) {
            addCriterion("ebay_id <", value, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdLessThanOrEqualTo(Integer value) {
            addCriterion("ebay_id <=", value, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdIn(List<Integer> values) {
            addCriterion("ebay_id in", values, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdNotIn(List<Integer> values) {
            addCriterion("ebay_id not in", values, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdBetween(Integer value1, Integer value2) {
            addCriterion("ebay_id between", value1, value2, "ebayId");
            return (Criteria) this;
        }

        public Criteria andEbayIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ebay_id not between", value1, value2, "ebayId");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeIsNull() {
            addCriterion("account_entry_type is null");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeIsNotNull() {
            addCriterion("account_entry_type is not null");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeEqualTo(String value) {
            addCriterion("account_entry_type =", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotEqualTo(String value) {
            addCriterion("account_entry_type <>", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeGreaterThan(String value) {
            addCriterion("account_entry_type >", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeGreaterThanOrEqualTo(String value) {
            addCriterion("account_entry_type >=", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeLessThan(String value) {
            addCriterion("account_entry_type <", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeLessThanOrEqualTo(String value) {
            addCriterion("account_entry_type <=", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeLike(String value) {
            addCriterion("account_entry_type like", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotLike(String value) {
            addCriterion("account_entry_type not like", value, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeIn(List<String> values) {
            addCriterion("account_entry_type in", values, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotIn(List<String> values) {
            addCriterion("account_entry_type not in", values, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeBetween(String value1, String value2) {
            addCriterion("account_entry_type between", value1, value2, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andAccountEntryTypeNotBetween(String value1, String value2) {
            addCriterion("account_entry_type not between", value1, value2, "accountEntryType");
            return (Criteria) this;
        }

        public Criteria andGmtDateIsNull() {
            addCriterion("gmt_date is null");
            return (Criteria) this;
        }

        public Criteria andGmtDateIsNotNull() {
            addCriterion("gmt_date is not null");
            return (Criteria) this;
        }

        public Criteria andGmtDateEqualTo(LocalDateTime value) {
            addCriterion("gmt_date =", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateNotEqualTo(LocalDateTime value) {
            addCriterion("gmt_date <>", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateGreaterThan(LocalDateTime value) {
            addCriterion("gmt_date >", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_date >=", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateLessThan(LocalDateTime value) {
            addCriterion("gmt_date <", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("gmt_date <=", value, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateIn(List<LocalDateTime> values) {
            addCriterion("gmt_date in", values, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateNotIn(List<LocalDateTime> values) {
            addCriterion("gmt_date not in", values, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_date between", value1, value2, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andGmtDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("gmt_date not between", value1, value2, "gmtDate");
            return (Criteria) this;
        }

        public Criteria andBjDateIsNull() {
            addCriterion("bj_date is null");
            return (Criteria) this;
        }

        public Criteria andBjDateIsNotNull() {
            addCriterion("bj_date is not null");
            return (Criteria) this;
        }

        public Criteria andBjDateEqualTo(LocalDateTime value) {
            addCriterion("bj_date =", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateNotEqualTo(LocalDateTime value) {
            addCriterion("bj_date <>", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateGreaterThan(LocalDateTime value) {
            addCriterion("bj_date >", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_date >=", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateLessThan(LocalDateTime value) {
            addCriterion("bj_date <", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_date <=", value, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateIn(List<LocalDateTime> values) {
            addCriterion("bj_date in", values, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateNotIn(List<LocalDateTime> values) {
            addCriterion("bj_date not in", values, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_date between", value1, value2, "bjDate");
            return (Criteria) this;
        }

        public Criteria andBjDateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_date not between", value1, value2, "bjDate");
            return (Criteria) this;
        }

        public Criteria andGrossAmountIsNull() {
            addCriterion("gross_amount is null");
            return (Criteria) this;
        }

        public Criteria andGrossAmountIsNotNull() {
            addCriterion("gross_amount is not null");
            return (Criteria) this;
        }

        public Criteria andGrossAmountEqualTo(BigDecimal value) {
            addCriterion("gross_amount =", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountNotEqualTo(BigDecimal value) {
            addCriterion("gross_amount <>", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountGreaterThan(BigDecimal value) {
            addCriterion("gross_amount >", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("gross_amount >=", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountLessThan(BigDecimal value) {
            addCriterion("gross_amount <", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("gross_amount <=", value, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountIn(List<BigDecimal> values) {
            addCriterion("gross_amount in", values, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountNotIn(List<BigDecimal> values) {
            addCriterion("gross_amount not in", values, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gross_amount between", value1, value2, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andGrossAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("gross_amount not between", value1, value2, "grossAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountIsNull() {
            addCriterion("sku_amount is null");
            return (Criteria) this;
        }

        public Criteria andSkuAmountIsNotNull() {
            addCriterion("sku_amount is not null");
            return (Criteria) this;
        }

        public Criteria andSkuAmountEqualTo(BigDecimal value) {
            addCriterion("sku_amount =", value, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountNotEqualTo(BigDecimal value) {
            addCriterion("sku_amount <>", value, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountGreaterThan(BigDecimal value) {
            addCriterion("sku_amount >", value, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_amount >=", value, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountLessThan(BigDecimal value) {
            addCriterion("sku_amount <", value, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_amount <=", value, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountIn(List<BigDecimal> values) {
            addCriterion("sku_amount in", values, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountNotIn(List<BigDecimal> values) {
            addCriterion("sku_amount not in", values, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_amount between", value1, value2, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_amount not between", value1, value2, "skuAmount");
            return (Criteria) this;
        }

        public Criteria andSkuCountIsNull() {
            addCriterion("sku_count is null");
            return (Criteria) this;
        }

        public Criteria andSkuCountIsNotNull() {
            addCriterion("sku_count is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCountEqualTo(Integer value) {
            addCriterion("sku_count =", value, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountNotEqualTo(Integer value) {
            addCriterion("sku_count <>", value, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountGreaterThan(Integer value) {
            addCriterion("sku_count >", value, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_count >=", value, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountLessThan(Integer value) {
            addCriterion("sku_count <", value, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountLessThanOrEqualTo(Integer value) {
            addCriterion("sku_count <=", value, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountIn(List<Integer> values) {
            addCriterion("sku_count in", values, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountNotIn(List<Integer> values) {
            addCriterion("sku_count not in", values, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountBetween(Integer value1, Integer value2) {
            addCriterion("sku_count between", value1, value2, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuCountNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_count not between", value1, value2, "skuCount");
            return (Criteria) this;
        }

        public Criteria andSkuRatioIsNull() {
            addCriterion("sku_ratio is null");
            return (Criteria) this;
        }

        public Criteria andSkuRatioIsNotNull() {
            addCriterion("sku_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andSkuRatioEqualTo(BigDecimal value) {
            addCriterion("sku_ratio =", value, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioNotEqualTo(BigDecimal value) {
            addCriterion("sku_ratio <>", value, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioGreaterThan(BigDecimal value) {
            addCriterion("sku_ratio >", value, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_ratio >=", value, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioLessThan(BigDecimal value) {
            addCriterion("sku_ratio <", value, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_ratio <=", value, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioIn(List<BigDecimal> values) {
            addCriterion("sku_ratio in", values, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioNotIn(List<BigDecimal> values) {
            addCriterion("sku_ratio not in", values, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_ratio between", value1, value2, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andSkuRatioNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_ratio not between", value1, value2, "skuRatio");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNull() {
            addCriterion("item_id is null");
            return (Criteria) this;
        }

        public Criteria andItemIdIsNotNull() {
            addCriterion("item_id is not null");
            return (Criteria) this;
        }

        public Criteria andItemIdEqualTo(String value) {
            addCriterion("item_id =", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotEqualTo(String value) {
            addCriterion("item_id <>", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThan(String value) {
            addCriterion("item_id >", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdGreaterThanOrEqualTo(String value) {
            addCriterion("item_id >=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThan(String value) {
            addCriterion("item_id <", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLessThanOrEqualTo(String value) {
            addCriterion("item_id <=", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdLike(String value) {
            addCriterion("item_id like", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotLike(String value) {
            addCriterion("item_id not like", value, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdIn(List<String> values) {
            addCriterion("item_id in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotIn(List<String> values) {
            addCriterion("item_id not in", values, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdBetween(String value1, String value2) {
            addCriterion("item_id between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andItemIdNotBetween(String value1, String value2) {
            addCriterion("item_id not between", value1, value2, "itemId");
            return (Criteria) this;
        }

        public Criteria andBailunSkuIsNull() {
            addCriterion("bailun_sku is null");
            return (Criteria) this;
        }

        public Criteria andBailunSkuIsNotNull() {
            addCriterion("bailun_sku is not null");
            return (Criteria) this;
        }

        public Criteria andBailunSkuEqualTo(String value) {
            addCriterion("bailun_sku =", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotEqualTo(String value) {
            addCriterion("bailun_sku <>", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuGreaterThan(String value) {
            addCriterion("bailun_sku >", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuGreaterThanOrEqualTo(String value) {
            addCriterion("bailun_sku >=", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuLessThan(String value) {
            addCriterion("bailun_sku <", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuLessThanOrEqualTo(String value) {
            addCriterion("bailun_sku <=", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuLike(String value) {
            addCriterion("bailun_sku like", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotLike(String value) {
            addCriterion("bailun_sku not like", value, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuIn(List<String> values) {
            addCriterion("bailun_sku in", values, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotIn(List<String> values) {
            addCriterion("bailun_sku not in", values, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuBetween(String value1, String value2) {
            addCriterion("bailun_sku between", value1, value2, "bailunSku");
            return (Criteria) this;
        }

        public Criteria andBailunSkuNotBetween(String value1, String value2) {
            addCriterion("bailun_sku not between", value1, value2, "bailunSku");
            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 andCurrencyIsNull() {
            addCriterion("currency is null");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andExchangeRateIsNull() {
            addCriterion("exchange_rate is null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIsNotNull() {
            addCriterion("exchange_rate is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateEqualTo(BigDecimal value) {
            addCriterion("exchange_rate =", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotEqualTo(BigDecimal value) {
            addCriterion("exchange_rate <>", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThan(BigDecimal value) {
            addCriterion("exchange_rate >", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("exchange_rate >=", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThan(BigDecimal value) {
            addCriterion("exchange_rate <", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("exchange_rate <=", value, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateIn(List<BigDecimal> values) {
            addCriterion("exchange_rate in", values, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotIn(List<BigDecimal> values) {
            addCriterion("exchange_rate not in", values, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exchange_rate between", value1, value2, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exchange_rate not between", value1, value2, "exchangeRate");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdIsNull() {
            addCriterion("exchange_rate_usd is null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdIsNotNull() {
            addCriterion("exchange_rate_usd is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdEqualTo(BigDecimal value) {
            addCriterion("exchange_rate_usd =", value, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdNotEqualTo(BigDecimal value) {
            addCriterion("exchange_rate_usd <>", value, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdGreaterThan(BigDecimal value) {
            addCriterion("exchange_rate_usd >", value, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("exchange_rate_usd >=", value, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdLessThan(BigDecimal value) {
            addCriterion("exchange_rate_usd <", value, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdLessThanOrEqualTo(BigDecimal value) {
            addCriterion("exchange_rate_usd <=", value, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdIn(List<BigDecimal> values) {
            addCriterion("exchange_rate_usd in", values, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdNotIn(List<BigDecimal> values) {
            addCriterion("exchange_rate_usd not in", values, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exchange_rate_usd between", value1, value2, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andExchangeRateUsdNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exchange_rate_usd not between", value1, value2, "exchangeRateUsd");
            return (Criteria) this;
        }

        public Criteria andBjCreateIsNull() {
            addCriterion("bj_create is null");
            return (Criteria) this;
        }

        public Criteria andBjCreateIsNotNull() {
            addCriterion("bj_create is not null");
            return (Criteria) this;
        }

        public Criteria andBjCreateEqualTo(LocalDateTime value) {
            addCriterion("bj_create =", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateNotEqualTo(LocalDateTime value) {
            addCriterion("bj_create <>", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateGreaterThan(LocalDateTime value) {
            addCriterion("bj_create >", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_create >=", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateLessThan(LocalDateTime value) {
            addCriterion("bj_create <", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_create <=", value, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateIn(List<LocalDateTime> values) {
            addCriterion("bj_create in", values, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateNotIn(List<LocalDateTime> values) {
            addCriterion("bj_create not in", values, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_create between", value1, value2, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjCreateNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_create not between", value1, value2, "bjCreate");
            return (Criteria) this;
        }

        public Criteria andBjModifiedIsNull() {
            addCriterion("bj_modified is null");
            return (Criteria) this;
        }

        public Criteria andBjModifiedIsNotNull() {
            addCriterion("bj_modified is not null");
            return (Criteria) this;
        }

        public Criteria andBjModifiedEqualTo(LocalDateTime value) {
            addCriterion("bj_modified =", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedNotEqualTo(LocalDateTime value) {
            addCriterion("bj_modified <>", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedGreaterThan(LocalDateTime value) {
            addCriterion("bj_modified >", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_modified >=", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedLessThan(LocalDateTime value) {
            addCriterion("bj_modified <", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("bj_modified <=", value, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedIn(List<LocalDateTime> values) {
            addCriterion("bj_modified in", values, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedNotIn(List<LocalDateTime> values) {
            addCriterion("bj_modified not in", values, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_modified between", value1, value2, "bjModified");
            return (Criteria) this;
        }

        public Criteria andBjModifiedNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("bj_modified not between", value1, value2, "bjModified");
            return (Criteria) this;
        }
    }

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

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

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

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