package com.bailuntec.domain.example;

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andOrderexceptionstatusIsNotNull() {
            addCriterion("OrderExceptionStatus is not null");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusEqualTo(String value) {
            addCriterion("OrderExceptionStatus =", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusNotEqualTo(String value) {
            addCriterion("OrderExceptionStatus <>", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusGreaterThan(String value) {
            addCriterion("OrderExceptionStatus >", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusGreaterThanOrEqualTo(String value) {
            addCriterion("OrderExceptionStatus >=", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusLessThan(String value) {
            addCriterion("OrderExceptionStatus <", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusLessThanOrEqualTo(String value) {
            addCriterion("OrderExceptionStatus <=", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusLike(String value) {
            addCriterion("OrderExceptionStatus like", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusNotLike(String value) {
            addCriterion("OrderExceptionStatus not like", value, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusIn(List<String> values) {
            addCriterion("OrderExceptionStatus in", values, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusNotIn(List<String> values) {
            addCriterion("OrderExceptionStatus not in", values, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusBetween(String value1, String value2) {
            addCriterion("OrderExceptionStatus between", value1, value2, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andOrderexceptionstatusNotBetween(String value1, String value2) {
            addCriterion("OrderExceptionStatus not between", value1, value2, "orderexceptionstatus");
            return (Criteria) this;
        }

        public Criteria andExceptionnameIsNull() {
            addCriterion("ExceptionName is null");
            return (Criteria) this;
        }

        public Criteria andExceptionnameIsNotNull() {
            addCriterion("ExceptionName is not null");
            return (Criteria) this;
        }

        public Criteria andExceptionnameEqualTo(String value) {
            addCriterion("ExceptionName =", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameNotEqualTo(String value) {
            addCriterion("ExceptionName <>", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameGreaterThan(String value) {
            addCriterion("ExceptionName >", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameGreaterThanOrEqualTo(String value) {
            addCriterion("ExceptionName >=", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameLessThan(String value) {
            addCriterion("ExceptionName <", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameLessThanOrEqualTo(String value) {
            addCriterion("ExceptionName <=", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameLike(String value) {
            addCriterion("ExceptionName like", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameNotLike(String value) {
            addCriterion("ExceptionName not like", value, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameIn(List<String> values) {
            addCriterion("ExceptionName in", values, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameNotIn(List<String> values) {
            addCriterion("ExceptionName not in", values, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameBetween(String value1, String value2) {
            addCriterion("ExceptionName between", value1, value2, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andExceptionnameNotBetween(String value1, String value2) {
            addCriterion("ExceptionName not between", value1, value2, "exceptionname");
            return (Criteria) this;
        }

        public Criteria andIsshipagainIsNull() {
            addCriterion("IsShipAgain is null");
            return (Criteria) this;
        }

        public Criteria andIsshipagainIsNotNull() {
            addCriterion("IsShipAgain is not null");
            return (Criteria) this;
        }

        public Criteria andIsshipagainEqualTo(Integer value) {
            addCriterion("IsShipAgain =", value, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainNotEqualTo(Integer value) {
            addCriterion("IsShipAgain <>", value, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainGreaterThan(Integer value) {
            addCriterion("IsShipAgain >", value, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainGreaterThanOrEqualTo(Integer value) {
            addCriterion("IsShipAgain >=", value, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainLessThan(Integer value) {
            addCriterion("IsShipAgain <", value, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainLessThanOrEqualTo(Integer value) {
            addCriterion("IsShipAgain <=", value, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainIn(List<Integer> values) {
            addCriterion("IsShipAgain in", values, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainNotIn(List<Integer> values) {
            addCriterion("IsShipAgain not in", values, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainBetween(Integer value1, Integer value2) {
            addCriterion("IsShipAgain between", value1, value2, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andIsshipagainNotBetween(Integer value1, Integer value2) {
            addCriterion("IsShipAgain not between", value1, value2, "isshipagain");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusIsNull() {
            addCriterion("PeihuoStatus is null");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusIsNotNull() {
            addCriterion("PeihuoStatus is not null");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusEqualTo(String value) {
            addCriterion("PeihuoStatus =", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusNotEqualTo(String value) {
            addCriterion("PeihuoStatus <>", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusGreaterThan(String value) {
            addCriterion("PeihuoStatus >", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusGreaterThanOrEqualTo(String value) {
            addCriterion("PeihuoStatus >=", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusLessThan(String value) {
            addCriterion("PeihuoStatus <", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusLessThanOrEqualTo(String value) {
            addCriterion("PeihuoStatus <=", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusLike(String value) {
            addCriterion("PeihuoStatus like", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusNotLike(String value) {
            addCriterion("PeihuoStatus not like", value, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusIn(List<String> values) {
            addCriterion("PeihuoStatus in", values, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusNotIn(List<String> values) {
            addCriterion("PeihuoStatus not in", values, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusBetween(String value1, String value2) {
            addCriterion("PeihuoStatus between", value1, value2, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuostatusNotBetween(String value1, String value2) {
            addCriterion("PeihuoStatus not between", value1, value2, "peihuostatus");
            return (Criteria) this;
        }

        public Criteria andPeihuonoIsNull() {
            addCriterion("PeihuoNo is null");
            return (Criteria) this;
        }

        public Criteria andPeihuonoIsNotNull() {
            addCriterion("PeihuoNo is not null");
            return (Criteria) this;
        }

        public Criteria andPeihuonoEqualTo(String value) {
            addCriterion("PeihuoNo =", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoNotEqualTo(String value) {
            addCriterion("PeihuoNo <>", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoGreaterThan(String value) {
            addCriterion("PeihuoNo >", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoGreaterThanOrEqualTo(String value) {
            addCriterion("PeihuoNo >=", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoLessThan(String value) {
            addCriterion("PeihuoNo <", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoLessThanOrEqualTo(String value) {
            addCriterion("PeihuoNo <=", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoLike(String value) {
            addCriterion("PeihuoNo like", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoNotLike(String value) {
            addCriterion("PeihuoNo not like", value, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoIn(List<String> values) {
            addCriterion("PeihuoNo in", values, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoNotIn(List<String> values) {
            addCriterion("PeihuoNo not in", values, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoBetween(String value1, String value2) {
            addCriterion("PeihuoNo between", value1, value2, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuonoNotBetween(String value1, String value2) {
            addCriterion("PeihuoNo not between", value1, value2, "peihuono");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeIsNull() {
            addCriterion("PeihuoTime is null");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeIsNotNull() {
            addCriterion("PeihuoTime is not null");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeEqualTo(LocalDateTime value) {
            addCriterion("PeihuoTime =", value, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeNotEqualTo(LocalDateTime value) {
            addCriterion("PeihuoTime <>", value, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeGreaterThan(LocalDateTime value) {
            addCriterion("PeihuoTime >", value, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("PeihuoTime >=", value, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeLessThan(LocalDateTime value) {
            addCriterion("PeihuoTime <", value, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("PeihuoTime <=", value, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeIn(List<LocalDateTime> values) {
            addCriterion("PeihuoTime in", values, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeNotIn(List<LocalDateTime> values) {
            addCriterion("PeihuoTime not in", values, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("PeihuoTime between", value1, value2, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andPeihuotimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("PeihuoTime not between", value1, value2, "peihuotime");
            return (Criteria) this;
        }

        public Criteria andShipstatusIsNull() {
            addCriterion("ShipStatus is null");
            return (Criteria) this;
        }

        public Criteria andShipstatusIsNotNull() {
            addCriterion("ShipStatus is not null");
            return (Criteria) this;
        }

        public Criteria andShipstatusEqualTo(String value) {
            addCriterion("ShipStatus =", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusNotEqualTo(String value) {
            addCriterion("ShipStatus <>", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusGreaterThan(String value) {
            addCriterion("ShipStatus >", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusGreaterThanOrEqualTo(String value) {
            addCriterion("ShipStatus >=", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusLessThan(String value) {
            addCriterion("ShipStatus <", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusLessThanOrEqualTo(String value) {
            addCriterion("ShipStatus <=", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusLike(String value) {
            addCriterion("ShipStatus like", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusNotLike(String value) {
            addCriterion("ShipStatus not like", value, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusIn(List<String> values) {
            addCriterion("ShipStatus in", values, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusNotIn(List<String> values) {
            addCriterion("ShipStatus not in", values, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusBetween(String value1, String value2) {
            addCriterion("ShipStatus between", value1, value2, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andShipstatusNotBetween(String value1, String value2) {
            addCriterion("ShipStatus not between", value1, value2, "shipstatus");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeIsNull() {
            addCriterion("OutWarehouseTime is null");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeIsNotNull() {
            addCriterion("OutWarehouseTime is not null");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeEqualTo(LocalDateTime value) {
            addCriterion("OutWarehouseTime =", value, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeNotEqualTo(LocalDateTime value) {
            addCriterion("OutWarehouseTime <>", value, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeGreaterThan(LocalDateTime value) {
            addCriterion("OutWarehouseTime >", value, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("OutWarehouseTime >=", value, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeLessThan(LocalDateTime value) {
            addCriterion("OutWarehouseTime <", value, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("OutWarehouseTime <=", value, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeIn(List<LocalDateTime> values) {
            addCriterion("OutWarehouseTime in", values, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeNotIn(List<LocalDateTime> values) {
            addCriterion("OutWarehouseTime not in", values, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OutWarehouseTime between", value1, value2, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutwarehousetimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("OutWarehouseTime not between", value1, value2, "outwarehousetime");
            return (Criteria) this;
        }

        public Criteria andOutweightIsNull() {
            addCriterion("OutWeight is null");
            return (Criteria) this;
        }

        public Criteria andOutweightIsNotNull() {
            addCriterion("OutWeight is not null");
            return (Criteria) this;
        }

        public Criteria andOutweightEqualTo(BigDecimal value) {
            addCriterion("OutWeight =", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightNotEqualTo(BigDecimal value) {
            addCriterion("OutWeight <>", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightGreaterThan(BigDecimal value) {
            addCriterion("OutWeight >", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("OutWeight >=", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightLessThan(BigDecimal value) {
            addCriterion("OutWeight <", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("OutWeight <=", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightIn(List<BigDecimal> values) {
            addCriterion("OutWeight in", values, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightNotIn(List<BigDecimal> values) {
            addCriterion("OutWeight not in", values, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OutWeight between", value1, value2, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("OutWeight not between", value1, value2, "outweight");
            return (Criteria) this;
        }

        public Criteria andPackagenoIsNull() {
            addCriterion("PackageNo is null");
            return (Criteria) this;
        }

        public Criteria andPackagenoIsNotNull() {
            addCriterion("PackageNo is not null");
            return (Criteria) this;
        }

        public Criteria andPackagenoEqualTo(String value) {
            addCriterion("PackageNo =", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoNotEqualTo(String value) {
            addCriterion("PackageNo <>", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoGreaterThan(String value) {
            addCriterion("PackageNo >", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoGreaterThanOrEqualTo(String value) {
            addCriterion("PackageNo >=", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoLessThan(String value) {
            addCriterion("PackageNo <", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoLessThanOrEqualTo(String value) {
            addCriterion("PackageNo <=", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoLike(String value) {
            addCriterion("PackageNo like", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoNotLike(String value) {
            addCriterion("PackageNo not like", value, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoIn(List<String> values) {
            addCriterion("PackageNo in", values, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoNotIn(List<String> values) {
            addCriterion("PackageNo not in", values, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoBetween(String value1, String value2) {
            addCriterion("PackageNo between", value1, value2, "packageno");
            return (Criteria) this;
        }

        public Criteria andPackagenoNotBetween(String value1, String value2) {
            addCriterion("PackageNo not between", value1, value2, "packageno");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsIsNull() {
            addCriterion("IsAssignLogistics is null");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsIsNotNull() {
            addCriterion("IsAssignLogistics is not null");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsEqualTo(Integer value) {
            addCriterion("IsAssignLogistics =", value, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsNotEqualTo(Integer value) {
            addCriterion("IsAssignLogistics <>", value, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsGreaterThan(Integer value) {
            addCriterion("IsAssignLogistics >", value, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsGreaterThanOrEqualTo(Integer value) {
            addCriterion("IsAssignLogistics >=", value, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsLessThan(Integer value) {
            addCriterion("IsAssignLogistics <", value, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsLessThanOrEqualTo(Integer value) {
            addCriterion("IsAssignLogistics <=", value, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsIn(List<Integer> values) {
            addCriterion("IsAssignLogistics in", values, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsNotIn(List<Integer> values) {
            addCriterion("IsAssignLogistics not in", values, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsBetween(Integer value1, Integer value2) {
            addCriterion("IsAssignLogistics between", value1, value2, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andIsassignlogisticsNotBetween(Integer value1, Integer value2) {
            addCriterion("IsAssignLogistics not between", value1, value2, "isassignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsIsNull() {
            addCriterion("AssignLogistics is null");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsIsNotNull() {
            addCriterion("AssignLogistics is not null");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsEqualTo(String value) {
            addCriterion("AssignLogistics =", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsNotEqualTo(String value) {
            addCriterion("AssignLogistics <>", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsGreaterThan(String value) {
            addCriterion("AssignLogistics >", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsGreaterThanOrEqualTo(String value) {
            addCriterion("AssignLogistics >=", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsLessThan(String value) {
            addCriterion("AssignLogistics <", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsLessThanOrEqualTo(String value) {
            addCriterion("AssignLogistics <=", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsLike(String value) {
            addCriterion("AssignLogistics like", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsNotLike(String value) {
            addCriterion("AssignLogistics not like", value, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsIn(List<String> values) {
            addCriterion("AssignLogistics in", values, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsNotIn(List<String> values) {
            addCriterion("AssignLogistics not in", values, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsBetween(String value1, String value2) {
            addCriterion("AssignLogistics between", value1, value2, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andAssignlogisticsNotBetween(String value1, String value2) {
            addCriterion("AssignLogistics not between", value1, value2, "assignlogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsIsNull() {
            addCriterion("ShipLogistics is null");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsIsNotNull() {
            addCriterion("ShipLogistics is not null");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsEqualTo(String value) {
            addCriterion("ShipLogistics =", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsNotEqualTo(String value) {
            addCriterion("ShipLogistics <>", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsGreaterThan(String value) {
            addCriterion("ShipLogistics >", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsGreaterThanOrEqualTo(String value) {
            addCriterion("ShipLogistics >=", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsLessThan(String value) {
            addCriterion("ShipLogistics <", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsLessThanOrEqualTo(String value) {
            addCriterion("ShipLogistics <=", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsLike(String value) {
            addCriterion("ShipLogistics like", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsNotLike(String value) {
            addCriterion("ShipLogistics not like", value, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsIn(List<String> values) {
            addCriterion("ShipLogistics in", values, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsNotIn(List<String> values) {
            addCriterion("ShipLogistics not in", values, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsBetween(String value1, String value2) {
            addCriterion("ShipLogistics between", value1, value2, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andShiplogisticsNotBetween(String value1, String value2) {
            addCriterion("ShipLogistics not between", value1, value2, "shiplogistics");
            return (Criteria) this;
        }

        public Criteria andIsfarawayIsNull() {
            addCriterion("IsFaraway is null");
            return (Criteria) this;
        }

        public Criteria andIsfarawayIsNotNull() {
            addCriterion("IsFaraway is not null");
            return (Criteria) this;
        }

        public Criteria andIsfarawayEqualTo(Integer value) {
            addCriterion("IsFaraway =", value, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayNotEqualTo(Integer value) {
            addCriterion("IsFaraway <>", value, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayGreaterThan(Integer value) {
            addCriterion("IsFaraway >", value, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayGreaterThanOrEqualTo(Integer value) {
            addCriterion("IsFaraway >=", value, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayLessThan(Integer value) {
            addCriterion("IsFaraway <", value, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayLessThanOrEqualTo(Integer value) {
            addCriterion("IsFaraway <=", value, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayIn(List<Integer> values) {
            addCriterion("IsFaraway in", values, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayNotIn(List<Integer> values) {
            addCriterion("IsFaraway not in", values, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayBetween(Integer value1, Integer value2) {
            addCriterion("IsFaraway between", value1, value2, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andIsfarawayNotBetween(Integer value1, Integer value2) {
            addCriterion("IsFaraway not between", value1, value2, "isfaraway");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoIsNull() {
            addCriterion("LogisticsNo is null");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoIsNotNull() {
            addCriterion("LogisticsNo is not null");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoEqualTo(String value) {
            addCriterion("LogisticsNo =", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoNotEqualTo(String value) {
            addCriterion("LogisticsNo <>", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoGreaterThan(String value) {
            addCriterion("LogisticsNo >", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoGreaterThanOrEqualTo(String value) {
            addCriterion("LogisticsNo >=", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoLessThan(String value) {
            addCriterion("LogisticsNo <", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoLessThanOrEqualTo(String value) {
            addCriterion("LogisticsNo <=", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoLike(String value) {
            addCriterion("LogisticsNo like", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoNotLike(String value) {
            addCriterion("LogisticsNo not like", value, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoIn(List<String> values) {
            addCriterion("LogisticsNo in", values, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoNotIn(List<String> values) {
            addCriterion("LogisticsNo not in", values, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoBetween(String value1, String value2) {
            addCriterion("LogisticsNo between", value1, value2, "logisticsno");
            return (Criteria) this;
        }

        public Criteria andLogisticsnoNotBetween(String value1, String value2) {
            addCriterion("LogisticsNo not between", value1, value2, "logisticsno");
            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 andPlatformexpressIsNull() {
            addCriterion("PlatformExpress is null");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressIsNotNull() {
            addCriterion("PlatformExpress is not null");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressEqualTo(String value) {
            addCriterion("PlatformExpress =", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressNotEqualTo(String value) {
            addCriterion("PlatformExpress <>", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressGreaterThan(String value) {
            addCriterion("PlatformExpress >", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressGreaterThanOrEqualTo(String value) {
            addCriterion("PlatformExpress >=", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressLessThan(String value) {
            addCriterion("PlatformExpress <", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressLessThanOrEqualTo(String value) {
            addCriterion("PlatformExpress <=", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressLike(String value) {
            addCriterion("PlatformExpress like", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressNotLike(String value) {
            addCriterion("PlatformExpress not like", value, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressIn(List<String> values) {
            addCriterion("PlatformExpress in", values, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressNotIn(List<String> values) {
            addCriterion("PlatformExpress not in", values, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressBetween(String value1, String value2) {
            addCriterion("PlatformExpress between", value1, value2, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andPlatformexpressNotBetween(String value1, String value2) {
            addCriterion("PlatformExpress not between", value1, value2, "platformexpress");
            return (Criteria) this;
        }

        public Criteria andShipaddressIsNull() {
            addCriterion("ShipAddress is null");
            return (Criteria) this;
        }

        public Criteria andShipaddressIsNotNull() {
            addCriterion("ShipAddress is not null");
            return (Criteria) this;
        }

        public Criteria andShipaddressEqualTo(String value) {
            addCriterion("ShipAddress =", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressNotEqualTo(String value) {
            addCriterion("ShipAddress <>", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressGreaterThan(String value) {
            addCriterion("ShipAddress >", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressGreaterThanOrEqualTo(String value) {
            addCriterion("ShipAddress >=", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressLessThan(String value) {
            addCriterion("ShipAddress <", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressLessThanOrEqualTo(String value) {
            addCriterion("ShipAddress <=", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressLike(String value) {
            addCriterion("ShipAddress like", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressNotLike(String value) {
            addCriterion("ShipAddress not like", value, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressIn(List<String> values) {
            addCriterion("ShipAddress in", values, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressNotIn(List<String> values) {
            addCriterion("ShipAddress not in", values, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressBetween(String value1, String value2) {
            addCriterion("ShipAddress between", value1, value2, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipaddressNotBetween(String value1, String value2) {
            addCriterion("ShipAddress not between", value1, value2, "shipaddress");
            return (Criteria) this;
        }

        public Criteria andShipcountryIsNull() {
            addCriterion("ShipCountry is null");
            return (Criteria) this;
        }

        public Criteria andShipcountryIsNotNull() {
            addCriterion("ShipCountry is not null");
            return (Criteria) this;
        }

        public Criteria andShipcountryEqualTo(String value) {
            addCriterion("ShipCountry =", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryNotEqualTo(String value) {
            addCriterion("ShipCountry <>", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryGreaterThan(String value) {
            addCriterion("ShipCountry >", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryGreaterThanOrEqualTo(String value) {
            addCriterion("ShipCountry >=", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryLessThan(String value) {
            addCriterion("ShipCountry <", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryLessThanOrEqualTo(String value) {
            addCriterion("ShipCountry <=", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryLike(String value) {
            addCriterion("ShipCountry like", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryNotLike(String value) {
            addCriterion("ShipCountry not like", value, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryIn(List<String> values) {
            addCriterion("ShipCountry in", values, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryNotIn(List<String> values) {
            addCriterion("ShipCountry not in", values, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryBetween(String value1, String value2) {
            addCriterion("ShipCountry between", value1, value2, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipcountryNotBetween(String value1, String value2) {
            addCriterion("ShipCountry not between", value1, value2, "shipcountry");
            return (Criteria) this;
        }

        public Criteria andShipfeeIsNull() {
            addCriterion("ShipFee is null");
            return (Criteria) this;
        }

        public Criteria andShipfeeIsNotNull() {
            addCriterion("ShipFee is not null");
            return (Criteria) this;
        }

        public Criteria andShipfeeEqualTo(BigDecimal value) {
            addCriterion("ShipFee =", value, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeNotEqualTo(BigDecimal value) {
            addCriterion("ShipFee <>", value, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeGreaterThan(BigDecimal value) {
            addCriterion("ShipFee >", value, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ShipFee >=", value, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeLessThan(BigDecimal value) {
            addCriterion("ShipFee <", value, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ShipFee <=", value, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeIn(List<BigDecimal> values) {
            addCriterion("ShipFee in", values, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeNotIn(List<BigDecimal> values) {
            addCriterion("ShipFee not in", values, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ShipFee between", value1, value2, "shipfee");
            return (Criteria) this;
        }

        public Criteria andShipfeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ShipFee not between", value1, value2, "shipfee");
            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_shippings
     *
     * @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_shippings
         *
         * @mbg.generated
         * @project https://github.com/itfsw/mybatis-generator-plugin
         */
        private TOrderShippingsExample example;

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

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

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