package com.bailuntec.domain.example;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @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 t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public TOrderOriginalExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public TOrderOriginalExample 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 t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public TOrderOriginalExample 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 t_order_original
     *
     * @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 t_order_original
     *
     * @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 t_order_original
     *
     * @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 t_order_original
     *
     * @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 t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public TOrderOriginalExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public TOrderOriginalExample 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 t_order_original
     *
     * @mbg.generated
     * @project https://github.com/itfsw/mybatis-generator-plugin
     */
    public TOrderOriginalExample 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 t_order_original
     *
     * @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(Long value) {
            addCriterion("Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPaytimeIsNull() {
            addCriterion("PayTime is null");
            return (Criteria) this;
        }

        public Criteria andPaytimeIsNotNull() {
            addCriterion("PayTime is not null");
            return (Criteria) this;
        }

        public Criteria andPaytimeEqualTo(LocalDateTime value) {
            addCriterion("PayTime =", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeNotEqualTo(LocalDateTime value) {
            addCriterion("PayTime <>", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeGreaterThan(LocalDateTime value) {
            addCriterion("PayTime >", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("PayTime >=", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeLessThan(LocalDateTime value) {
            addCriterion("PayTime <", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("PayTime <=", value, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeIn(List<LocalDateTime> values) {
            addCriterion("PayTime in", values, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeNotIn(List<LocalDateTime> values) {
            addCriterion("PayTime not in", values, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("PayTime between", value1, value2, "paytime");
            return (Criteria) this;
        }

        public Criteria andPaytimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("PayTime not between", value1, value2, "paytime");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformIsNull() {
            addCriterion("OrderNoPlatform is null");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformIsNotNull() {
            addCriterion("OrderNoPlatform is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformEqualTo(String value) {
            addCriterion("OrderNoPlatform =", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformNotEqualTo(String value) {
            addCriterion("OrderNoPlatform <>", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformGreaterThan(String value) {
            addCriterion("OrderNoPlatform >", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformGreaterThanOrEqualTo(String value) {
            addCriterion("OrderNoPlatform >=", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformLessThan(String value) {
            addCriterion("OrderNoPlatform <", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformLessThanOrEqualTo(String value) {
            addCriterion("OrderNoPlatform <=", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformLike(String value) {
            addCriterion("OrderNoPlatform like", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformNotLike(String value) {
            addCriterion("OrderNoPlatform not like", value, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformIn(List<String> values) {
            addCriterion("OrderNoPlatform in", values, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformNotIn(List<String> values) {
            addCriterion("OrderNoPlatform not in", values, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformBetween(String value1, String value2) {
            addCriterion("OrderNoPlatform between", value1, value2, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernoplatformNotBetween(String value1, String value2) {
            addCriterion("OrderNoPlatform not between", value1, value2, "ordernoplatform");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemIsNull() {
            addCriterion("OrderNoSystem is null");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemIsNotNull() {
            addCriterion("OrderNoSystem is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemEqualTo(String value) {
            addCriterion("OrderNoSystem =", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemNotEqualTo(String value) {
            addCriterion("OrderNoSystem <>", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemGreaterThan(String value) {
            addCriterion("OrderNoSystem >", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemGreaterThanOrEqualTo(String value) {
            addCriterion("OrderNoSystem >=", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemLessThan(String value) {
            addCriterion("OrderNoSystem <", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemLessThanOrEqualTo(String value) {
            addCriterion("OrderNoSystem <=", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemLike(String value) {
            addCriterion("OrderNoSystem like", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemNotLike(String value) {
            addCriterion("OrderNoSystem not like", value, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemIn(List<String> values) {
            addCriterion("OrderNoSystem in", values, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemNotIn(List<String> values) {
            addCriterion("OrderNoSystem not in", values, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemBetween(String value1, String value2) {
            addCriterion("OrderNoSystem between", value1, value2, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdernosystemNotBetween(String value1, String value2) {
            addCriterion("OrderNoSystem not between", value1, value2, "ordernosystem");
            return (Criteria) this;
        }

        public Criteria andOrdersourceIsNull() {
            addCriterion("OrderSource is null");
            return (Criteria) this;
        }

        public Criteria andOrdersourceIsNotNull() {
            addCriterion("OrderSource is not null");
            return (Criteria) this;
        }

        public Criteria andOrdersourceEqualTo(String value) {
            addCriterion("OrderSource =", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceNotEqualTo(String value) {
            addCriterion("OrderSource <>", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceGreaterThan(String value) {
            addCriterion("OrderSource >", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceGreaterThanOrEqualTo(String value) {
            addCriterion("OrderSource >=", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceLessThan(String value) {
            addCriterion("OrderSource <", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceLessThanOrEqualTo(String value) {
            addCriterion("OrderSource <=", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceLike(String value) {
            addCriterion("OrderSource like", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceNotLike(String value) {
            addCriterion("OrderSource not like", value, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceIn(List<String> values) {
            addCriterion("OrderSource in", values, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceNotIn(List<String> values) {
            addCriterion("OrderSource not in", values, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceBetween(String value1, String value2) {
            addCriterion("OrderSource between", value1, value2, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrdersourceNotBetween(String value1, String value2) {
            addCriterion("OrderSource not between", value1, value2, "ordersource");
            return (Criteria) this;
        }

        public Criteria andOrderstatusIsNull() {
            addCriterion("OrderStatus is null");
            return (Criteria) this;
        }

        public Criteria andOrderstatusIsNotNull() {
            addCriterion("OrderStatus is not null");
            return (Criteria) this;
        }

        public Criteria andOrderstatusEqualTo(String value) {
            addCriterion("OrderStatus =", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotEqualTo(String value) {
            addCriterion("OrderStatus <>", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusGreaterThan(String value) {
            addCriterion("OrderStatus >", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusGreaterThanOrEqualTo(String value) {
            addCriterion("OrderStatus >=", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusLessThan(String value) {
            addCriterion("OrderStatus <", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusLessThanOrEqualTo(String value) {
            addCriterion("OrderStatus <=", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusLike(String value) {
            addCriterion("OrderStatus like", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotLike(String value) {
            addCriterion("OrderStatus not like", value, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusIn(List<String> values) {
            addCriterion("OrderStatus in", values, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotIn(List<String> values) {
            addCriterion("OrderStatus not in", values, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusBetween(String value1, String value2) {
            addCriterion("OrderStatus between", value1, value2, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrderstatusNotBetween(String value1, String value2) {
            addCriterion("OrderStatus not between", value1, value2, "orderstatus");
            return (Criteria) this;
        }

        public Criteria andOrdersiteIsNull() {
            addCriterion("OrderSite is null");
            return (Criteria) this;
        }

        public Criteria andOrdersiteIsNotNull() {
            addCriterion("OrderSite is not null");
            return (Criteria) this;
        }

        public Criteria andOrdersiteEqualTo(String value) {
            addCriterion("OrderSite =", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteNotEqualTo(String value) {
            addCriterion("OrderSite <>", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteGreaterThan(String value) {
            addCriterion("OrderSite >", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteGreaterThanOrEqualTo(String value) {
            addCriterion("OrderSite >=", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteLessThan(String value) {
            addCriterion("OrderSite <", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteLessThanOrEqualTo(String value) {
            addCriterion("OrderSite <=", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteLike(String value) {
            addCriterion("OrderSite like", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteNotLike(String value) {
            addCriterion("OrderSite not like", value, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteIn(List<String> values) {
            addCriterion("OrderSite in", values, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteNotIn(List<String> values) {
            addCriterion("OrderSite not in", values, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteBetween(String value1, String value2) {
            addCriterion("OrderSite between", value1, value2, "ordersite");
            return (Criteria) this;
        }

        public Criteria andOrdersiteNotBetween(String value1, String value2) {
            addCriterion("OrderSite not between", value1, value2, "ordersite");
            return (Criteria) this;
        }

        public Criteria andSellaccountIsNull() {
            addCriterion("SellAccount is null");
            return (Criteria) this;
        }

        public Criteria andSellaccountIsNotNull() {
            addCriterion("SellAccount is not null");
            return (Criteria) this;
        }

        public Criteria andSellaccountEqualTo(String value) {
            addCriterion("SellAccount =", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountNotEqualTo(String value) {
            addCriterion("SellAccount <>", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountGreaterThan(String value) {
            addCriterion("SellAccount >", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountGreaterThanOrEqualTo(String value) {
            addCriterion("SellAccount >=", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountLessThan(String value) {
            addCriterion("SellAccount <", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountLessThanOrEqualTo(String value) {
            addCriterion("SellAccount <=", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountLike(String value) {
            addCriterion("SellAccount like", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountNotLike(String value) {
            addCriterion("SellAccount not like", value, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountIn(List<String> values) {
            addCriterion("SellAccount in", values, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountNotIn(List<String> values) {
            addCriterion("SellAccount not in", values, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountBetween(String value1, String value2) {
            addCriterion("SellAccount between", value1, value2, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andSellaccountNotBetween(String value1, String value2) {
            addCriterion("SellAccount not between", value1, value2, "sellaccount");
            return (Criteria) this;
        }

        public Criteria andOrderamountIsNull() {
            addCriterion("OrderAmount is null");
            return (Criteria) this;
        }

        public Criteria andOrderamountIsNotNull() {
            addCriterion("OrderAmount is not null");
            return (Criteria) this;
        }

        public Criteria andOrderamountEqualTo(BigDecimal value) {
            addCriterion("OrderAmount =", value, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountNotEqualTo(BigDecimal value) {
            addCriterion("OrderAmount <>", value, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountGreaterThan(BigDecimal value) {
            addCriterion("OrderAmount >", value, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OrderAmount >=", value, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountLessThan(BigDecimal value) {
            addCriterion("OrderAmount <", value, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OrderAmount <=", value, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountIn(List<BigDecimal> values) {
            addCriterion("OrderAmount in", values, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountNotIn(List<BigDecimal> values) {
            addCriterion("OrderAmount not in", values, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OrderAmount between", value1, value2, "orderamount");
            return (Criteria) this;
        }

        public Criteria andOrderamountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OrderAmount not between", value1, value2, "orderamount");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseIsNull() {
            addCriterion("ShipWarehouse is null");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseIsNotNull() {
            addCriterion("ShipWarehouse is not null");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseEqualTo(String value) {
            addCriterion("ShipWarehouse =", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseNotEqualTo(String value) {
            addCriterion("ShipWarehouse <>", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseGreaterThan(String value) {
            addCriterion("ShipWarehouse >", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseGreaterThanOrEqualTo(String value) {
            addCriterion("ShipWarehouse >=", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseLessThan(String value) {
            addCriterion("ShipWarehouse <", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseLessThanOrEqualTo(String value) {
            addCriterion("ShipWarehouse <=", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseLike(String value) {
            addCriterion("ShipWarehouse like", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseNotLike(String value) {
            addCriterion("ShipWarehouse not like", value, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseIn(List<String> values) {
            addCriterion("ShipWarehouse in", values, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseNotIn(List<String> values) {
            addCriterion("ShipWarehouse not in", values, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseBetween(String value1, String value2) {
            addCriterion("ShipWarehouse between", value1, value2, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andShipwarehouseNotBetween(String value1, String value2) {
            addCriterion("ShipWarehouse not between", value1, value2, "shipwarehouse");
            return (Criteria) this;
        }

        public Criteria andProducttitleIsNull() {
            addCriterion("ProductTitle is null");
            return (Criteria) this;
        }

        public Criteria andProducttitleIsNotNull() {
            addCriterion("ProductTitle is not null");
            return (Criteria) this;
        }

        public Criteria andProducttitleEqualTo(String value) {
            addCriterion("ProductTitle =", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleNotEqualTo(String value) {
            addCriterion("ProductTitle <>", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleGreaterThan(String value) {
            addCriterion("ProductTitle >", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleGreaterThanOrEqualTo(String value) {
            addCriterion("ProductTitle >=", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleLessThan(String value) {
            addCriterion("ProductTitle <", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleLessThanOrEqualTo(String value) {
            addCriterion("ProductTitle <=", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleLike(String value) {
            addCriterion("ProductTitle like", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleNotLike(String value) {
            addCriterion("ProductTitle not like", value, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleIn(List<String> values) {
            addCriterion("ProductTitle in", values, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleNotIn(List<String> values) {
            addCriterion("ProductTitle not in", values, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleBetween(String value1, String value2) {
            addCriterion("ProductTitle between", value1, value2, "producttitle");
            return (Criteria) this;
        }

        public Criteria andProducttitleNotBetween(String value1, String value2) {
            addCriterion("ProductTitle not between", value1, value2, "producttitle");
            return (Criteria) this;
        }

        public Criteria andOrdertimeIsNull() {
            addCriterion("OrderTime is null");
            return (Criteria) this;
        }

        public Criteria andOrdertimeIsNotNull() {
            addCriterion("OrderTime is not null");
            return (Criteria) this;
        }

        public Criteria andOrdertimeEqualTo(LocalDateTime value) {
            addCriterion("OrderTime =", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeNotEqualTo(LocalDateTime value) {
            addCriterion("OrderTime <>", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeGreaterThan(LocalDateTime value) {
            addCriterion("OrderTime >", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("OrderTime >=", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeLessThan(LocalDateTime value) {
            addCriterion("OrderTime <", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("OrderTime <=", value, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeIn(List<LocalDateTime> values) {
            addCriterion("OrderTime in", values, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeNotIn(List<LocalDateTime> values) {
            addCriterion("OrderTime not in", values, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OrderTime between", value1, value2, "ordertime");
            return (Criteria) this;
        }

        public Criteria andOrdertimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OrderTime not between", value1, value2, "ordertime");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountIsNull() {
            addCriterion("PaypalInAccount is null");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountIsNotNull() {
            addCriterion("PaypalInAccount is not null");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountEqualTo(String value) {
            addCriterion("PaypalInAccount =", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountNotEqualTo(String value) {
            addCriterion("PaypalInAccount <>", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountGreaterThan(String value) {
            addCriterion("PaypalInAccount >", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountGreaterThanOrEqualTo(String value) {
            addCriterion("PaypalInAccount >=", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountLessThan(String value) {
            addCriterion("PaypalInAccount <", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountLessThanOrEqualTo(String value) {
            addCriterion("PaypalInAccount <=", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountLike(String value) {
            addCriterion("PaypalInAccount like", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountNotLike(String value) {
            addCriterion("PaypalInAccount not like", value, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountIn(List<String> values) {
            addCriterion("PaypalInAccount in", values, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountNotIn(List<String> values) {
            addCriterion("PaypalInAccount not in", values, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountBetween(String value1, String value2) {
            addCriterion("PaypalInAccount between", value1, value2, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypalinaccountNotBetween(String value1, String value2) {
            addCriterion("PaypalInAccount not between", value1, value2, "paypalinaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountIsNull() {
            addCriterion("PaypalOutAccount is null");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountIsNotNull() {
            addCriterion("PaypalOutAccount is not null");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountEqualTo(String value) {
            addCriterion("PaypalOutAccount =", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountNotEqualTo(String value) {
            addCriterion("PaypalOutAccount <>", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountGreaterThan(String value) {
            addCriterion("PaypalOutAccount >", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountGreaterThanOrEqualTo(String value) {
            addCriterion("PaypalOutAccount >=", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountLessThan(String value) {
            addCriterion("PaypalOutAccount <", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountLessThanOrEqualTo(String value) {
            addCriterion("PaypalOutAccount <=", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountLike(String value) {
            addCriterion("PaypalOutAccount like", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountNotLike(String value) {
            addCriterion("PaypalOutAccount not like", value, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountIn(List<String> values) {
            addCriterion("PaypalOutAccount in", values, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountNotIn(List<String> values) {
            addCriterion("PaypalOutAccount not in", values, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountBetween(String value1, String value2) {
            addCriterion("PaypalOutAccount between", value1, value2, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andPaypaloutaccountNotBetween(String value1, String value2) {
            addCriterion("PaypalOutAccount not between", value1, value2, "paypaloutaccount");
            return (Criteria) this;
        }

        public Criteria andBuyeridIsNull() {
            addCriterion("BuyerId is null");
            return (Criteria) this;
        }

        public Criteria andBuyeridIsNotNull() {
            addCriterion("BuyerId is not null");
            return (Criteria) this;
        }

        public Criteria andBuyeridEqualTo(String value) {
            addCriterion("BuyerId =", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridNotEqualTo(String value) {
            addCriterion("BuyerId <>", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridGreaterThan(String value) {
            addCriterion("BuyerId >", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridGreaterThanOrEqualTo(String value) {
            addCriterion("BuyerId >=", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridLessThan(String value) {
            addCriterion("BuyerId <", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridLessThanOrEqualTo(String value) {
            addCriterion("BuyerId <=", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridLike(String value) {
            addCriterion("BuyerId like", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridNotLike(String value) {
            addCriterion("BuyerId not like", value, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridIn(List<String> values) {
            addCriterion("BuyerId in", values, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridNotIn(List<String> values) {
            addCriterion("BuyerId not in", values, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridBetween(String value1, String value2) {
            addCriterion("BuyerId between", value1, value2, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyeridNotBetween(String value1, String value2) {
            addCriterion("BuyerId not between", value1, value2, "buyerid");
            return (Criteria) this;
        }

        public Criteria andBuyernameIsNull() {
            addCriterion("BuyerName is null");
            return (Criteria) this;
        }

        public Criteria andBuyernameIsNotNull() {
            addCriterion("BuyerName is not null");
            return (Criteria) this;
        }

        public Criteria andBuyernameEqualTo(String value) {
            addCriterion("BuyerName =", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameNotEqualTo(String value) {
            addCriterion("BuyerName <>", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameGreaterThan(String value) {
            addCriterion("BuyerName >", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameGreaterThanOrEqualTo(String value) {
            addCriterion("BuyerName >=", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameLessThan(String value) {
            addCriterion("BuyerName <", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameLessThanOrEqualTo(String value) {
            addCriterion("BuyerName <=", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameLike(String value) {
            addCriterion("BuyerName like", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameNotLike(String value) {
            addCriterion("BuyerName not like", value, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameIn(List<String> values) {
            addCriterion("BuyerName in", values, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameNotIn(List<String> values) {
            addCriterion("BuyerName not in", values, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameBetween(String value1, String value2) {
            addCriterion("BuyerName between", value1, value2, "buyername");
            return (Criteria) this;
        }

        public Criteria andBuyernameNotBetween(String value1, String value2) {
            addCriterion("BuyerName not between", value1, value2, "buyername");
            return (Criteria) this;
        }

        public Criteria andCountryIsNull() {
            addCriterion("Country is null");
            return (Criteria) this;
        }

        public Criteria andCountryIsNotNull() {
            addCriterion("Country is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEqualTo(String value) {
            addCriterion("Country =", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotEqualTo(String value) {
            addCriterion("Country <>", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThan(String value) {
            addCriterion("Country >", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryGreaterThanOrEqualTo(String value) {
            addCriterion("Country >=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThan(String value) {
            addCriterion("Country <", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLessThanOrEqualTo(String value) {
            addCriterion("Country <=", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryLike(String value) {
            addCriterion("Country like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotLike(String value) {
            addCriterion("Country not like", value, "country");
            return (Criteria) this;
        }

        public Criteria andCountryIn(List<String> values) {
            addCriterion("Country in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotIn(List<String> values) {
            addCriterion("Country not in", values, "country");
            return (Criteria) this;
        }

        public Criteria andCountryBetween(String value1, String value2) {
            addCriterion("Country between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andCountryNotBetween(String value1, String value2) {
            addCriterion("Country not between", value1, value2, "country");
            return (Criteria) this;
        }

        public Criteria andAddress1IsNull() {
            addCriterion("Address1 is null");
            return (Criteria) this;
        }

        public Criteria andAddress1IsNotNull() {
            addCriterion("Address1 is not null");
            return (Criteria) this;
        }

        public Criteria andAddress1EqualTo(String value) {
            addCriterion("Address1 =", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1NotEqualTo(String value) {
            addCriterion("Address1 <>", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1GreaterThan(String value) {
            addCriterion("Address1 >", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1GreaterThanOrEqualTo(String value) {
            addCriterion("Address1 >=", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1LessThan(String value) {
            addCriterion("Address1 <", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1LessThanOrEqualTo(String value) {
            addCriterion("Address1 <=", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1Like(String value) {
            addCriterion("Address1 like", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1NotLike(String value) {
            addCriterion("Address1 not like", value, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1In(List<String> values) {
            addCriterion("Address1 in", values, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1NotIn(List<String> values) {
            addCriterion("Address1 not in", values, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1Between(String value1, String value2) {
            addCriterion("Address1 between", value1, value2, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress1NotBetween(String value1, String value2) {
            addCriterion("Address1 not between", value1, value2, "address1");
            return (Criteria) this;
        }

        public Criteria andAddress2IsNull() {
            addCriterion("Address2 is null");
            return (Criteria) this;
        }

        public Criteria andAddress2IsNotNull() {
            addCriterion("Address2 is not null");
            return (Criteria) this;
        }

        public Criteria andAddress2EqualTo(String value) {
            addCriterion("Address2 =", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2NotEqualTo(String value) {
            addCriterion("Address2 <>", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2GreaterThan(String value) {
            addCriterion("Address2 >", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2GreaterThanOrEqualTo(String value) {
            addCriterion("Address2 >=", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2LessThan(String value) {
            addCriterion("Address2 <", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2LessThanOrEqualTo(String value) {
            addCriterion("Address2 <=", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2Like(String value) {
            addCriterion("Address2 like", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2NotLike(String value) {
            addCriterion("Address2 not like", value, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2In(List<String> values) {
            addCriterion("Address2 in", values, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2NotIn(List<String> values) {
            addCriterion("Address2 not in", values, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2Between(String value1, String value2) {
            addCriterion("Address2 between", value1, value2, "address2");
            return (Criteria) this;
        }

        public Criteria andAddress2NotBetween(String value1, String value2) {
            addCriterion("Address2 not between", value1, value2, "address2");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("City is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("City is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("City =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("City <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("City >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("City >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("City <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("City <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("City like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("City not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("City in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("City not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("City between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("City not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNull() {
            addCriterion("Province is null");
            return (Criteria) this;
        }

        public Criteria andProvinceIsNotNull() {
            addCriterion("Province is not null");
            return (Criteria) this;
        }

        public Criteria andProvinceEqualTo(String value) {
            addCriterion("Province =", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotEqualTo(String value) {
            addCriterion("Province <>", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThan(String value) {
            addCriterion("Province >", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceGreaterThanOrEqualTo(String value) {
            addCriterion("Province >=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThan(String value) {
            addCriterion("Province <", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLessThanOrEqualTo(String value) {
            addCriterion("Province <=", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceLike(String value) {
            addCriterion("Province like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotLike(String value) {
            addCriterion("Province not like", value, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceIn(List<String> values) {
            addCriterion("Province in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotIn(List<String> values) {
            addCriterion("Province not in", values, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceBetween(String value1, String value2) {
            addCriterion("Province between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andProvinceNotBetween(String value1, String value2) {
            addCriterion("Province not between", value1, value2, "province");
            return (Criteria) this;
        }

        public Criteria andPostcodeIsNull() {
            addCriterion("PostCode is null");
            return (Criteria) this;
        }

        public Criteria andPostcodeIsNotNull() {
            addCriterion("PostCode is not null");
            return (Criteria) this;
        }

        public Criteria andPostcodeEqualTo(String value) {
            addCriterion("PostCode =", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotEqualTo(String value) {
            addCriterion("PostCode <>", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeGreaterThan(String value) {
            addCriterion("PostCode >", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("PostCode >=", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLessThan(String value) {
            addCriterion("PostCode <", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLessThanOrEqualTo(String value) {
            addCriterion("PostCode <=", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeLike(String value) {
            addCriterion("PostCode like", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotLike(String value) {
            addCriterion("PostCode not like", value, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeIn(List<String> values) {
            addCriterion("PostCode in", values, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotIn(List<String> values) {
            addCriterion("PostCode not in", values, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeBetween(String value1, String value2) {
            addCriterion("PostCode between", value1, value2, "postcode");
            return (Criteria) this;
        }

        public Criteria andPostcodeNotBetween(String value1, String value2) {
            addCriterion("PostCode not between", value1, value2, "postcode");
            return (Criteria) this;
        }

        public Criteria andPhonenumberIsNull() {
            addCriterion("PhoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andPhonenumberIsNotNull() {
            addCriterion("PhoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPhonenumberEqualTo(String value) {
            addCriterion("PhoneNumber =", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotEqualTo(String value) {
            addCriterion("PhoneNumber <>", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberGreaterThan(String value) {
            addCriterion("PhoneNumber >", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberGreaterThanOrEqualTo(String value) {
            addCriterion("PhoneNumber >=", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberLessThan(String value) {
            addCriterion("PhoneNumber <", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberLessThanOrEqualTo(String value) {
            addCriterion("PhoneNumber <=", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberLike(String value) {
            addCriterion("PhoneNumber like", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotLike(String value) {
            addCriterion("PhoneNumber not like", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberIn(List<String> values) {
            addCriterion("PhoneNumber in", values, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotIn(List<String> values) {
            addCriterion("PhoneNumber not in", values, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberBetween(String value1, String value2) {
            addCriterion("PhoneNumber between", value1, value2, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotBetween(String value1, String value2) {
            addCriterion("PhoneNumber not between", value1, value2, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberIsNull() {
            addCriterion("MobileNumber is null");
            return (Criteria) this;
        }

        public Criteria andMobilenumberIsNotNull() {
            addCriterion("MobileNumber is not null");
            return (Criteria) this;
        }

        public Criteria andMobilenumberEqualTo(Integer value) {
            addCriterion("MobileNumber =", value, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberNotEqualTo(Integer value) {
            addCriterion("MobileNumber <>", value, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberGreaterThan(Integer value) {
            addCriterion("MobileNumber >", value, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("MobileNumber >=", value, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberLessThan(Integer value) {
            addCriterion("MobileNumber <", value, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberLessThanOrEqualTo(Integer value) {
            addCriterion("MobileNumber <=", value, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberIn(List<Integer> values) {
            addCriterion("MobileNumber in", values, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberNotIn(List<Integer> values) {
            addCriterion("MobileNumber not in", values, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberBetween(Integer value1, Integer value2) {
            addCriterion("MobileNumber between", value1, value2, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andMobilenumberNotBetween(Integer value1, Integer value2) {
            addCriterion("MobileNumber not between", value1, value2, "mobilenumber");
            return (Criteria) this;
        }

        public Criteria andEmailIsNull() {
            addCriterion("Email is null");
            return (Criteria) this;
        }

        public Criteria andEmailIsNotNull() {
            addCriterion("Email is not null");
            return (Criteria) this;
        }

        public Criteria andEmailEqualTo(String value) {
            addCriterion("Email =", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotEqualTo(String value) {
            addCriterion("Email <>", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThan(String value) {
            addCriterion("Email >", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailGreaterThanOrEqualTo(String value) {
            addCriterion("Email >=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThan(String value) {
            addCriterion("Email <", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLessThanOrEqualTo(String value) {
            addCriterion("Email <=", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailLike(String value) {
            addCriterion("Email like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotLike(String value) {
            addCriterion("Email not like", value, "email");
            return (Criteria) this;
        }

        public Criteria andEmailIn(List<String> values) {
            addCriterion("Email in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotIn(List<String> values) {
            addCriterion("Email not in", values, "email");
            return (Criteria) this;
        }

        public Criteria andEmailBetween(String value1, String value2) {
            addCriterion("Email between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andEmailNotBetween(String value1, String value2) {
            addCriterion("Email not between", value1, value2, "email");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(LocalDateTime value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(LocalDateTime value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(LocalDateTime value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(LocalDateTime value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<LocalDateTime> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<LocalDateTime> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(LocalDateTime value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(LocalDateTime value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(LocalDateTime value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(LocalDateTime value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<LocalDateTime> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<LocalDateTime> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andHidIsNull() {
            addCriterion("Hid is null");
            return (Criteria) this;
        }

        public Criteria andHidIsNotNull() {
            addCriterion("Hid is not null");
            return (Criteria) this;
        }

        public Criteria andHidEqualTo(Long value) {
            addCriterion("Hid =", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidNotEqualTo(Long value) {
            addCriterion("Hid <>", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidGreaterThan(Long value) {
            addCriterion("Hid >", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidGreaterThanOrEqualTo(Long value) {
            addCriterion("Hid >=", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidLessThan(Long value) {
            addCriterion("Hid <", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidLessThanOrEqualTo(Long value) {
            addCriterion("Hid <=", value, "hid");
            return (Criteria) this;
        }

        public Criteria andHidIn(List<Long> values) {
            addCriterion("Hid in", values, "hid");
            return (Criteria) this;
        }

        public Criteria andHidNotIn(List<Long> values) {
            addCriterion("Hid not in", values, "hid");
            return (Criteria) this;
        }

        public Criteria andHidBetween(Long value1, Long value2) {
            addCriterion("Hid between", value1, value2, "hid");
            return (Criteria) this;
        }

        public Criteria andHidNotBetween(Long value1, Long value2) {
            addCriterion("Hid not between", value1, value2, "hid");
            return (Criteria) this;
        }

        public Criteria andItemidIsNull() {
            addCriterion("ItemId is null");
            return (Criteria) this;
        }

        public Criteria andItemidIsNotNull() {
            addCriterion("ItemId is not null");
            return (Criteria) this;
        }

        public Criteria andItemidEqualTo(String value) {
            addCriterion("ItemId =", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidNotEqualTo(String value) {
            addCriterion("ItemId <>", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidGreaterThan(String value) {
            addCriterion("ItemId >", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidGreaterThanOrEqualTo(String value) {
            addCriterion("ItemId >=", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidLessThan(String value) {
            addCriterion("ItemId <", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidLessThanOrEqualTo(String value) {
            addCriterion("ItemId <=", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidLike(String value) {
            addCriterion("ItemId like", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidNotLike(String value) {
            addCriterion("ItemId not like", value, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidIn(List<String> values) {
            addCriterion("ItemId in", values, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidNotIn(List<String> values) {
            addCriterion("ItemId not in", values, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidBetween(String value1, String value2) {
            addCriterion("ItemId between", value1, value2, "itemid");
            return (Criteria) this;
        }

        public Criteria andItemidNotBetween(String value1, String value2) {
            addCriterion("ItemId not between", value1, value2, "itemid");
            return (Criteria) this;
        }

        public Criteria andFreightIsNull() {
            addCriterion("Freight is null");
            return (Criteria) this;
        }

        public Criteria andFreightIsNotNull() {
            addCriterion("Freight is not null");
            return (Criteria) this;
        }

        public Criteria andFreightEqualTo(BigDecimal value) {
            addCriterion("Freight =", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightNotEqualTo(BigDecimal value) {
            addCriterion("Freight <>", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightGreaterThan(BigDecimal value) {
            addCriterion("Freight >", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Freight >=", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightLessThan(BigDecimal value) {
            addCriterion("Freight <", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Freight <=", value, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightIn(List<BigDecimal> values) {
            addCriterion("Freight in", values, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightNotIn(List<BigDecimal> values) {
            addCriterion("Freight not in", values, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Freight between", value1, value2, "freight");
            return (Criteria) this;
        }

        public Criteria andFreightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Freight not between", value1, value2, "freight");
            return (Criteria) this;
        }

        public Criteria andIssystemshipIsNull() {
            addCriterion("IsSystemShip is null");
            return (Criteria) this;
        }

        public Criteria andIssystemshipIsNotNull() {
            addCriterion("IsSystemShip is not null");
            return (Criteria) this;
        }

        public Criteria andIssystemshipEqualTo(Integer value) {
            addCriterion("IsSystemShip =", value, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipNotEqualTo(Integer value) {
            addCriterion("IsSystemShip <>", value, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipGreaterThan(Integer value) {
            addCriterion("IsSystemShip >", value, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipGreaterThanOrEqualTo(Integer value) {
            addCriterion("IsSystemShip >=", value, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipLessThan(Integer value) {
            addCriterion("IsSystemShip <", value, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipLessThanOrEqualTo(Integer value) {
            addCriterion("IsSystemShip <=", value, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipIn(List<Integer> values) {
            addCriterion("IsSystemShip in", values, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipNotIn(List<Integer> values) {
            addCriterion("IsSystemShip not in", values, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipBetween(Integer value1, Integer value2) {
            addCriterion("IsSystemShip between", value1, value2, "issystemship");
            return (Criteria) this;
        }

        public Criteria andIssystemshipNotBetween(Integer value1, Integer value2) {
            addCriterion("IsSystemShip not between", value1, value2, "issystemship");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeIsNull() {
            addCriterion("OmsUpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeIsNotNull() {
            addCriterion("OmsUpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeEqualTo(LocalDateTime value) {
            addCriterion("OmsUpdateTime =", value, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeNotEqualTo(LocalDateTime value) {
            addCriterion("OmsUpdateTime <>", value, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeGreaterThan(LocalDateTime value) {
            addCriterion("OmsUpdateTime >", value, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("OmsUpdateTime >=", value, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeLessThan(LocalDateTime value) {
            addCriterion("OmsUpdateTime <", value, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("OmsUpdateTime <=", value, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeIn(List<LocalDateTime> values) {
            addCriterion("OmsUpdateTime in", values, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeNotIn(List<LocalDateTime> values) {
            addCriterion("OmsUpdateTime not in", values, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OmsUpdateTime between", value1, value2, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmsupdatetimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OmsUpdateTime not between", value1, value2, "omsupdatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeIsNull() {
            addCriterion("OmsCreateTime is null");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeIsNotNull() {
            addCriterion("OmsCreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeEqualTo(LocalDateTime value) {
            addCriterion("OmsCreateTime =", value, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeNotEqualTo(LocalDateTime value) {
            addCriterion("OmsCreateTime <>", value, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeGreaterThan(LocalDateTime value) {
            addCriterion("OmsCreateTime >", value, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("OmsCreateTime >=", value, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeLessThan(LocalDateTime value) {
            addCriterion("OmsCreateTime <", value, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("OmsCreateTime <=", value, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeIn(List<LocalDateTime> values) {
            addCriterion("OmsCreateTime in", values, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeNotIn(List<LocalDateTime> values) {
            addCriterion("OmsCreateTime not in", values, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OmsCreateTime between", value1, value2, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andOmscreatetimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OmsCreateTime not between", value1, value2, "omscreatetime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeIsNull() {
            addCriterion("MatchTime is null");
            return (Criteria) this;
        }

        public Criteria andMatchtimeIsNotNull() {
            addCriterion("MatchTime is not null");
            return (Criteria) this;
        }

        public Criteria andMatchtimeEqualTo(LocalDateTime value) {
            addCriterion("MatchTime =", value, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeNotEqualTo(LocalDateTime value) {
            addCriterion("MatchTime <>", value, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeGreaterThan(LocalDateTime value) {
            addCriterion("MatchTime >", value, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("MatchTime >=", value, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeLessThan(LocalDateTime value) {
            addCriterion("MatchTime <", value, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("MatchTime <=", value, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeIn(List<LocalDateTime> values) {
            addCriterion("MatchTime in", values, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeNotIn(List<LocalDateTime> values) {
            addCriterion("MatchTime not in", values, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("MatchTime between", value1, value2, "matchtime");
            return (Criteria) this;
        }

        public Criteria andMatchtimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("MatchTime not between", value1, value2, "matchtime");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyIsNull() {
            addCriterion("OriginalCurrency is null");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyIsNotNull() {
            addCriterion("OriginalCurrency is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyEqualTo(String value) {
            addCriterion("OriginalCurrency =", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyNotEqualTo(String value) {
            addCriterion("OriginalCurrency <>", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyGreaterThan(String value) {
            addCriterion("OriginalCurrency >", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyGreaterThanOrEqualTo(String value) {
            addCriterion("OriginalCurrency >=", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyLessThan(String value) {
            addCriterion("OriginalCurrency <", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyLessThanOrEqualTo(String value) {
            addCriterion("OriginalCurrency <=", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyLike(String value) {
            addCriterion("OriginalCurrency like", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyNotLike(String value) {
            addCriterion("OriginalCurrency not like", value, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyIn(List<String> values) {
            addCriterion("OriginalCurrency in", values, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyNotIn(List<String> values) {
            addCriterion("OriginalCurrency not in", values, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyBetween(String value1, String value2) {
            addCriterion("OriginalCurrency between", value1, value2, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginalcurrencyNotBetween(String value1, String value2) {
            addCriterion("OriginalCurrency not between", value1, value2, "originalcurrency");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalIsNull() {
            addCriterion("OriginalTotal is null");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalIsNotNull() {
            addCriterion("OriginalTotal is not null");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalEqualTo(BigDecimal value) {
            addCriterion("OriginalTotal =", value, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalNotEqualTo(BigDecimal value) {
            addCriterion("OriginalTotal <>", value, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalGreaterThan(BigDecimal value) {
            addCriterion("OriginalTotal >", value, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OriginalTotal >=", value, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalLessThan(BigDecimal value) {
            addCriterion("OriginalTotal <", value, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OriginalTotal <=", value, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalIn(List<BigDecimal> values) {
            addCriterion("OriginalTotal in", values, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalNotIn(List<BigDecimal> values) {
            addCriterion("OriginalTotal not in", values, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OriginalTotal between", value1, value2, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andOriginaltotalNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OriginalTotal not between", value1, value2, "originaltotal");
            return (Criteria) this;
        }

        public Criteria andIsrefundIsNull() {
            addCriterion("IsRefund is null");
            return (Criteria) this;
        }

        public Criteria andIsrefundIsNotNull() {
            addCriterion("IsRefund is not null");
            return (Criteria) this;
        }

        public Criteria andIsrefundEqualTo(Integer value) {
            addCriterion("IsRefund =", value, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundNotEqualTo(Integer value) {
            addCriterion("IsRefund <>", value, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundGreaterThan(Integer value) {
            addCriterion("IsRefund >", value, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundGreaterThanOrEqualTo(Integer value) {
            addCriterion("IsRefund >=", value, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundLessThan(Integer value) {
            addCriterion("IsRefund <", value, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundLessThanOrEqualTo(Integer value) {
            addCriterion("IsRefund <=", value, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundIn(List<Integer> values) {
            addCriterion("IsRefund in", values, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundNotIn(List<Integer> values) {
            addCriterion("IsRefund not in", values, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundBetween(Integer value1, Integer value2) {
            addCriterion("IsRefund between", value1, value2, "isrefund");
            return (Criteria) this;
        }

        public Criteria andIsrefundNotBetween(Integer value1, Integer value2) {
            addCriterion("IsRefund not between", value1, value2, "isrefund");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeIsNull() {
            addCriterion("BjPayTime is null");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeIsNotNull() {
            addCriterion("BjPayTime is not null");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeEqualTo(LocalDateTime value) {
            addCriterion("BjPayTime =", value, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeNotEqualTo(LocalDateTime value) {
            addCriterion("BjPayTime <>", value, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeGreaterThan(LocalDateTime value) {
            addCriterion("BjPayTime >", value, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("BjPayTime >=", value, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeLessThan(LocalDateTime value) {
            addCriterion("BjPayTime <", value, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("BjPayTime <=", value, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeIn(List<LocalDateTime> values) {
            addCriterion("BjPayTime in", values, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeNotIn(List<LocalDateTime> values) {
            addCriterion("BjPayTime not in", values, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("BjPayTime between", value1, value2, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andBjpaytimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("BjPayTime not between", value1, value2, "bjpaytime");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusIsNull() {
            addCriterion("InterceptStatus is null");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusIsNotNull() {
            addCriterion("InterceptStatus is not null");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusEqualTo(Integer value) {
            addCriterion("InterceptStatus =", value, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusNotEqualTo(Integer value) {
            addCriterion("InterceptStatus <>", value, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusGreaterThan(Integer value) {
            addCriterion("InterceptStatus >", value, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("InterceptStatus >=", value, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusLessThan(Integer value) {
            addCriterion("InterceptStatus <", value, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusLessThanOrEqualTo(Integer value) {
            addCriterion("InterceptStatus <=", value, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusIn(List<Integer> values) {
            addCriterion("InterceptStatus in", values, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusNotIn(List<Integer> values) {
            addCriterion("InterceptStatus not in", values, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusBetween(Integer value1, Integer value2) {
            addCriterion("InterceptStatus between", value1, value2, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andInterceptstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("InterceptStatus not between", value1, value2, "interceptstatus");
            return (Criteria) this;
        }

        public Criteria andTsIsNull() {
            addCriterion("_ts is null");
            return (Criteria) this;
        }

        public Criteria andTsIsNotNull() {
            addCriterion("_ts is not null");
            return (Criteria) this;
        }

        public Criteria andTsEqualTo(LocalDateTime value) {
            addCriterion("_ts =", value, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotEqualTo(LocalDateTime value) {
            addCriterion("_ts <>", value, "ts");
            return (Criteria) this;
        }

        public Criteria andTsGreaterThan(LocalDateTime value) {
            addCriterion("_ts >", value, "ts");
            return (Criteria) this;
        }

        public Criteria andTsGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("_ts >=", value, "ts");
            return (Criteria) this;
        }

        public Criteria andTsLessThan(LocalDateTime value) {
            addCriterion("_ts <", value, "ts");
            return (Criteria) this;
        }

        public Criteria andTsLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("_ts <=", value, "ts");
            return (Criteria) this;
        }

        public Criteria andTsIn(List<LocalDateTime> values) {
            addCriterion("_ts in", values, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotIn(List<LocalDateTime> values) {
            addCriterion("_ts not in", values, "ts");
            return (Criteria) this;
        }

        public Criteria andTsBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("_ts between", value1, value2, "ts");
            return (Criteria) this;
        }

        public Criteria andTsNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("_ts not between", value1, value2, "ts");
            return (Criteria) this;
        }

        public Criteria andIsAbroadIsNull() {
            addCriterion("is_abroad is null");
            return (Criteria) this;
        }

        public Criteria andIsAbroadIsNotNull() {
            addCriterion("is_abroad is not null");
            return (Criteria) this;
        }

        public Criteria andIsAbroadEqualTo(Integer value) {
            addCriterion("is_abroad =", value, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadNotEqualTo(Integer value) {
            addCriterion("is_abroad <>", value, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadGreaterThan(Integer value) {
            addCriterion("is_abroad >", value, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_abroad >=", value, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadLessThan(Integer value) {
            addCriterion("is_abroad <", value, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadLessThanOrEqualTo(Integer value) {
            addCriterion("is_abroad <=", value, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadIn(List<Integer> values) {
            addCriterion("is_abroad in", values, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadNotIn(List<Integer> values) {
            addCriterion("is_abroad not in", values, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadBetween(Integer value1, Integer value2) {
            addCriterion("is_abroad between", value1, value2, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andIsAbroadNotBetween(Integer value1, Integer value2) {
            addCriterion("is_abroad not between", value1, value2, "isAbroad");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameIsNull() {
            addCriterion("country_en_name is null");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameIsNotNull() {
            addCriterion("country_en_name is not null");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameEqualTo(String value) {
            addCriterion("country_en_name =", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameNotEqualTo(String value) {
            addCriterion("country_en_name <>", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameGreaterThan(String value) {
            addCriterion("country_en_name >", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameGreaterThanOrEqualTo(String value) {
            addCriterion("country_en_name >=", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameLessThan(String value) {
            addCriterion("country_en_name <", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameLessThanOrEqualTo(String value) {
            addCriterion("country_en_name <=", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameLike(String value) {
            addCriterion("country_en_name like", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameNotLike(String value) {
            addCriterion("country_en_name not like", value, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameIn(List<String> values) {
            addCriterion("country_en_name in", values, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameNotIn(List<String> values) {
            addCriterion("country_en_name not in", values, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameBetween(String value1, String value2) {
            addCriterion("country_en_name between", value1, value2, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andCountryEnNameNotBetween(String value1, String value2) {
            addCriterion("country_en_name not between", value1, value2, "countryEnName");
            return (Criteria) this;
        }

        public Criteria andOrderSystemIsNull() {
            addCriterion("order_system is null");
            return (Criteria) this;
        }

        public Criteria andOrderSystemIsNotNull() {
            addCriterion("order_system is not null");
            return (Criteria) this;
        }

        public Criteria andOrderSystemEqualTo(String value) {
            addCriterion("order_system =", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemNotEqualTo(String value) {
            addCriterion("order_system <>", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemGreaterThan(String value) {
            addCriterion("order_system >", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemGreaterThanOrEqualTo(String value) {
            addCriterion("order_system >=", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemLessThan(String value) {
            addCriterion("order_system <", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemLessThanOrEqualTo(String value) {
            addCriterion("order_system <=", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemLike(String value) {
            addCriterion("order_system like", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemNotLike(String value) {
            addCriterion("order_system not like", value, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemIn(List<String> values) {
            addCriterion("order_system in", values, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemNotIn(List<String> values) {
            addCriterion("order_system not in", values, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemBetween(String value1, String value2) {
            addCriterion("order_system between", value1, value2, "orderSystem");
            return (Criteria) this;
        }

        public Criteria andOrderSystemNotBetween(String value1, String value2) {
            addCriterion("order_system not between", value1, value2, "orderSystem");
            return (Criteria) this;
        }
    }

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

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

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

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