package com.hfkj.entity;

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

public class CyymallGoodsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Long offset;

    public CyymallGoodsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Long offset) {
        this.offset = offset;
    }

    public Long getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

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

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

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

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

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

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

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

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

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

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andStoreIdIsNull() {
            addCriterion("store_id is null");
            return (Criteria) this;
        }

        public Criteria andStoreIdIsNotNull() {
            addCriterion("store_id is not null");
            return (Criteria) this;
        }

        public Criteria andStoreIdEqualTo(Integer value) {
            addCriterion("store_id =", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotEqualTo(Integer value) {
            addCriterion("store_id <>", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThan(Integer value) {
            addCriterion("store_id >", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("store_id >=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThan(Integer value) {
            addCriterion("store_id <", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdLessThanOrEqualTo(Integer value) {
            addCriterion("store_id <=", value, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdIn(List<Integer> values) {
            addCriterion("store_id in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotIn(List<Integer> values) {
            addCriterion("store_id not in", values, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdBetween(Integer value1, Integer value2) {
            addCriterion("store_id between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andStoreIdNotBetween(Integer value1, Integer value2) {
            addCriterion("store_id not between", value1, value2, "storeId");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("`name` is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("`name` is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("`name` =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("`name` like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("`name` not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("`name` in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("`name` not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("`name` between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("`name` not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(BigDecimal value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

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

        public Criteria andPriceGreaterThan(BigDecimal value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

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

        public Criteria andPriceLessThan(BigDecimal value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andOriginalPriceIsNull() {
            addCriterion("original_price is null");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIsNotNull() {
            addCriterion("original_price is not null");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceEqualTo(BigDecimal value) {
            addCriterion("original_price =", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotEqualTo(BigDecimal value) {
            addCriterion("original_price <>", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceGreaterThan(BigDecimal value) {
            addCriterion("original_price >", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("original_price >=", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceLessThan(BigDecimal value) {
            addCriterion("original_price <", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("original_price <=", value, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceIn(List<BigDecimal> values) {
            addCriterion("original_price in", values, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotIn(List<BigDecimal> values) {
            addCriterion("original_price not in", values, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("original_price between", value1, value2, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andOriginalPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("original_price not between", value1, value2, "originalPrice");
            return (Criteria) this;
        }

        public Criteria andCatIdIsNull() {
            addCriterion("cat_id is null");
            return (Criteria) this;
        }

        public Criteria andCatIdIsNotNull() {
            addCriterion("cat_id is not null");
            return (Criteria) this;
        }

        public Criteria andCatIdEqualTo(Integer value) {
            addCriterion("cat_id =", value, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdNotEqualTo(Integer value) {
            addCriterion("cat_id <>", value, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdGreaterThan(Integer value) {
            addCriterion("cat_id >", value, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("cat_id >=", value, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdLessThan(Integer value) {
            addCriterion("cat_id <", value, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdLessThanOrEqualTo(Integer value) {
            addCriterion("cat_id <=", value, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdIn(List<Integer> values) {
            addCriterion("cat_id in", values, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdNotIn(List<Integer> values) {
            addCriterion("cat_id not in", values, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdBetween(Integer value1, Integer value2) {
            addCriterion("cat_id between", value1, value2, "catId");
            return (Criteria) this;
        }

        public Criteria andCatIdNotBetween(Integer value1, Integer value2) {
            addCriterion("cat_id not between", value1, value2, "catId");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Short value) {
            addCriterion("`status` =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Short value) {
            addCriterion("`status` <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Short value) {
            addCriterion("`status` >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Short value) {
            addCriterion("`status` >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Short value) {
            addCriterion("`status` <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Short value) {
            addCriterion("`status` <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Short> values) {
            addCriterion("`status` in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Short> values) {
            addCriterion("`status` not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Short value1, Short value2) {
            addCriterion("`status` between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Short value1, Short value2) {
            addCriterion("`status` not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Integer value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

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

        public Criteria andAddtimeGreaterThan(Integer value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

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

        public Criteria andAddtimeLessThan(Integer value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(Short value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(Short value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(Short value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(Short value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(Short value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(Short value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<Short> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<Short> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(Short value1, Short value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(Short value1, Short value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andServiceIsNull() {
            addCriterion("service is null");
            return (Criteria) this;
        }

        public Criteria andServiceIsNotNull() {
            addCriterion("service is not null");
            return (Criteria) this;
        }

        public Criteria andServiceEqualTo(String value) {
            addCriterion("service =", value, "service");
            return (Criteria) this;
        }

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

        public Criteria andServiceGreaterThan(String value) {
            addCriterion("service >", value, "service");
            return (Criteria) this;
        }

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

        public Criteria andServiceLessThan(String value) {
            addCriterion("service <", value, "service");
            return (Criteria) this;
        }

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

        public Criteria andServiceLike(String value) {
            addCriterion("service like", value, "service");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andSortIsNull() {
            addCriterion("sort is null");
            return (Criteria) this;
        }

        public Criteria andSortIsNotNull() {
            addCriterion("sort is not null");
            return (Criteria) this;
        }

        public Criteria andSortEqualTo(Integer value) {
            addCriterion("sort =", value, "sort");
            return (Criteria) this;
        }

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

        public Criteria andSortGreaterThan(Integer value) {
            addCriterion("sort >", value, "sort");
            return (Criteria) this;
        }

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

        public Criteria andSortLessThan(Integer value) {
            addCriterion("sort <", value, "sort");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andVirtualSalesIsNull() {
            addCriterion("virtual_sales is null");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesIsNotNull() {
            addCriterion("virtual_sales is not null");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesEqualTo(Integer value) {
            addCriterion("virtual_sales =", value, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesNotEqualTo(Integer value) {
            addCriterion("virtual_sales <>", value, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesGreaterThan(Integer value) {
            addCriterion("virtual_sales >", value, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesGreaterThanOrEqualTo(Integer value) {
            addCriterion("virtual_sales >=", value, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesLessThan(Integer value) {
            addCriterion("virtual_sales <", value, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesLessThanOrEqualTo(Integer value) {
            addCriterion("virtual_sales <=", value, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesIn(List<Integer> values) {
            addCriterion("virtual_sales in", values, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesNotIn(List<Integer> values) {
            addCriterion("virtual_sales not in", values, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesBetween(Integer value1, Integer value2) {
            addCriterion("virtual_sales between", value1, value2, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVirtualSalesNotBetween(Integer value1, Integer value2) {
            addCriterion("virtual_sales not between", value1, value2, "virtualSales");
            return (Criteria) this;
        }

        public Criteria andVideoUrlIsNull() {
            addCriterion("video_url is null");
            return (Criteria) this;
        }

        public Criteria andVideoUrlIsNotNull() {
            addCriterion("video_url is not null");
            return (Criteria) this;
        }

        public Criteria andVideoUrlEqualTo(String value) {
            addCriterion("video_url =", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlNotEqualTo(String value) {
            addCriterion("video_url <>", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlGreaterThan(String value) {
            addCriterion("video_url >", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlGreaterThanOrEqualTo(String value) {
            addCriterion("video_url >=", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlLessThan(String value) {
            addCriterion("video_url <", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlLessThanOrEqualTo(String value) {
            addCriterion("video_url <=", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlLike(String value) {
            addCriterion("video_url like", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlNotLike(String value) {
            addCriterion("video_url not like", value, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlIn(List<String> values) {
            addCriterion("video_url in", values, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlNotIn(List<String> values) {
            addCriterion("video_url not in", values, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlBetween(String value1, String value2) {
            addCriterion("video_url between", value1, value2, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andVideoUrlNotBetween(String value1, String value2) {
            addCriterion("video_url not between", value1, value2, "videoUrl");
            return (Criteria) this;
        }

        public Criteria andUnitIsNull() {
            addCriterion("unit is null");
            return (Criteria) this;
        }

        public Criteria andUnitIsNotNull() {
            addCriterion("unit is not null");
            return (Criteria) this;
        }

        public Criteria andUnitEqualTo(String value) {
            addCriterion("unit =", value, "unit");
            return (Criteria) this;
        }

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

        public Criteria andUnitGreaterThan(String value) {
            addCriterion("unit >", value, "unit");
            return (Criteria) this;
        }

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

        public Criteria andUnitLessThan(String value) {
            addCriterion("unit <", value, "unit");
            return (Criteria) this;
        }

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

        public Criteria andUnitLike(String value) {
            addCriterion("unit like", value, "unit");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andIndividualShareIsNull() {
            addCriterion("individual_share is null");
            return (Criteria) this;
        }

        public Criteria andIndividualShareIsNotNull() {
            addCriterion("individual_share is not null");
            return (Criteria) this;
        }

        public Criteria andIndividualShareEqualTo(Short value) {
            addCriterion("individual_share =", value, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareNotEqualTo(Short value) {
            addCriterion("individual_share <>", value, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareGreaterThan(Short value) {
            addCriterion("individual_share >", value, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareGreaterThanOrEqualTo(Short value) {
            addCriterion("individual_share >=", value, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareLessThan(Short value) {
            addCriterion("individual_share <", value, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareLessThanOrEqualTo(Short value) {
            addCriterion("individual_share <=", value, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareIn(List<Short> values) {
            addCriterion("individual_share in", values, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareNotIn(List<Short> values) {
            addCriterion("individual_share not in", values, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareBetween(Short value1, Short value2) {
            addCriterion("individual_share between", value1, value2, "individualShare");
            return (Criteria) this;
        }

        public Criteria andIndividualShareNotBetween(Short value1, Short value2) {
            addCriterion("individual_share not between", value1, value2, "individualShare");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstIsNull() {
            addCriterion("share_commission_first is null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstIsNotNull() {
            addCriterion("share_commission_first is not null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstEqualTo(BigDecimal value) {
            addCriterion("share_commission_first =", value, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstNotEqualTo(BigDecimal value) {
            addCriterion("share_commission_first <>", value, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstGreaterThan(BigDecimal value) {
            addCriterion("share_commission_first >", value, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_first >=", value, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstLessThan(BigDecimal value) {
            addCriterion("share_commission_first <", value, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_first <=", value, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstIn(List<BigDecimal> values) {
            addCriterion("share_commission_first in", values, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstNotIn(List<BigDecimal> values) {
            addCriterion("share_commission_first not in", values, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_first between", value1, value2, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionFirstNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_first not between", value1, value2, "shareCommissionFirst");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondIsNull() {
            addCriterion("share_commission_second is null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondIsNotNull() {
            addCriterion("share_commission_second is not null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondEqualTo(BigDecimal value) {
            addCriterion("share_commission_second =", value, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondNotEqualTo(BigDecimal value) {
            addCriterion("share_commission_second <>", value, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondGreaterThan(BigDecimal value) {
            addCriterion("share_commission_second >", value, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_second >=", value, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondLessThan(BigDecimal value) {
            addCriterion("share_commission_second <", value, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_second <=", value, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondIn(List<BigDecimal> values) {
            addCriterion("share_commission_second in", values, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondNotIn(List<BigDecimal> values) {
            addCriterion("share_commission_second not in", values, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_second between", value1, value2, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionSecondNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_second not between", value1, value2, "shareCommissionSecond");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdIsNull() {
            addCriterion("share_commission_third is null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdIsNotNull() {
            addCriterion("share_commission_third is not null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdEqualTo(BigDecimal value) {
            addCriterion("share_commission_third =", value, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdNotEqualTo(BigDecimal value) {
            addCriterion("share_commission_third <>", value, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdGreaterThan(BigDecimal value) {
            addCriterion("share_commission_third >", value, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_third >=", value, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdLessThan(BigDecimal value) {
            addCriterion("share_commission_third <", value, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_third <=", value, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdIn(List<BigDecimal> values) {
            addCriterion("share_commission_third in", values, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdNotIn(List<BigDecimal> values) {
            addCriterion("share_commission_third not in", values, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_third between", value1, value2, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andShareCommissionThirdNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_third not between", value1, value2, "shareCommissionThird");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("weight is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("weight is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Double value) {
            addCriterion("weight =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Double value) {
            addCriterion("weight <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Double value) {
            addCriterion("weight >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("weight >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Double value) {
            addCriterion("weight <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Double value) {
            addCriterion("weight <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Double> values) {
            addCriterion("weight in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Double> values) {
            addCriterion("weight not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Double value1, Double value2) {
            addCriterion("weight between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Double value1, Double value2) {
            addCriterion("weight not between", value1, value2, "weight");
            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(Integer value) {
            addCriterion("freight =", value, "freight");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andUseAttrIsNull() {
            addCriterion("use_attr is null");
            return (Criteria) this;
        }

        public Criteria andUseAttrIsNotNull() {
            addCriterion("use_attr is not null");
            return (Criteria) this;
        }

        public Criteria andUseAttrEqualTo(Short value) {
            addCriterion("use_attr =", value, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrNotEqualTo(Short value) {
            addCriterion("use_attr <>", value, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrGreaterThan(Short value) {
            addCriterion("use_attr >", value, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrGreaterThanOrEqualTo(Short value) {
            addCriterion("use_attr >=", value, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrLessThan(Short value) {
            addCriterion("use_attr <", value, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrLessThanOrEqualTo(Short value) {
            addCriterion("use_attr <=", value, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrIn(List<Short> values) {
            addCriterion("use_attr in", values, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrNotIn(List<Short> values) {
            addCriterion("use_attr not in", values, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrBetween(Short value1, Short value2) {
            addCriterion("use_attr between", value1, value2, "useAttr");
            return (Criteria) this;
        }

        public Criteria andUseAttrNotBetween(Short value1, Short value2) {
            addCriterion("use_attr not between", value1, value2, "useAttr");
            return (Criteria) this;
        }

        public Criteria andShareTypeIsNull() {
            addCriterion("share_type is null");
            return (Criteria) this;
        }

        public Criteria andShareTypeIsNotNull() {
            addCriterion("share_type is not null");
            return (Criteria) this;
        }

        public Criteria andShareTypeEqualTo(Integer value) {
            addCriterion("share_type =", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotEqualTo(Integer value) {
            addCriterion("share_type <>", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeGreaterThan(Integer value) {
            addCriterion("share_type >", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("share_type >=", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLessThan(Integer value) {
            addCriterion("share_type <", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeLessThanOrEqualTo(Integer value) {
            addCriterion("share_type <=", value, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeIn(List<Integer> values) {
            addCriterion("share_type in", values, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotIn(List<Integer> values) {
            addCriterion("share_type not in", values, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeBetween(Integer value1, Integer value2) {
            addCriterion("share_type between", value1, value2, "shareType");
            return (Criteria) this;
        }

        public Criteria andShareTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("share_type not between", value1, value2, "shareType");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseIsNull() {
            addCriterion("quick_purchase is null");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseIsNotNull() {
            addCriterion("quick_purchase is not null");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseEqualTo(Short value) {
            addCriterion("quick_purchase =", value, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseNotEqualTo(Short value) {
            addCriterion("quick_purchase <>", value, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseGreaterThan(Short value) {
            addCriterion("quick_purchase >", value, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseGreaterThanOrEqualTo(Short value) {
            addCriterion("quick_purchase >=", value, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseLessThan(Short value) {
            addCriterion("quick_purchase <", value, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseLessThanOrEqualTo(Short value) {
            addCriterion("quick_purchase <=", value, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseIn(List<Short> values) {
            addCriterion("quick_purchase in", values, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseNotIn(List<Short> values) {
            addCriterion("quick_purchase not in", values, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseBetween(Short value1, Short value2) {
            addCriterion("quick_purchase between", value1, value2, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andQuickPurchaseNotBetween(Short value1, Short value2) {
            addCriterion("quick_purchase not between", value1, value2, "quickPurchase");
            return (Criteria) this;
        }

        public Criteria andHotCakesIsNull() {
            addCriterion("hot_cakes is null");
            return (Criteria) this;
        }

        public Criteria andHotCakesIsNotNull() {
            addCriterion("hot_cakes is not null");
            return (Criteria) this;
        }

        public Criteria andHotCakesEqualTo(Short value) {
            addCriterion("hot_cakes =", value, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesNotEqualTo(Short value) {
            addCriterion("hot_cakes <>", value, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesGreaterThan(Short value) {
            addCriterion("hot_cakes >", value, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesGreaterThanOrEqualTo(Short value) {
            addCriterion("hot_cakes >=", value, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesLessThan(Short value) {
            addCriterion("hot_cakes <", value, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesLessThanOrEqualTo(Short value) {
            addCriterion("hot_cakes <=", value, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesIn(List<Short> values) {
            addCriterion("hot_cakes in", values, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesNotIn(List<Short> values) {
            addCriterion("hot_cakes not in", values, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesBetween(Short value1, Short value2) {
            addCriterion("hot_cakes between", value1, value2, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andHotCakesNotBetween(Short value1, Short value2) {
            addCriterion("hot_cakes not between", value1, value2, "hotCakes");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNull() {
            addCriterion("cost_price is null");
            return (Criteria) this;
        }

        public Criteria andCostPriceIsNotNull() {
            addCriterion("cost_price is not null");
            return (Criteria) this;
        }

        public Criteria andCostPriceEqualTo(BigDecimal value) {
            addCriterion("cost_price =", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotEqualTo(BigDecimal value) {
            addCriterion("cost_price <>", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThan(BigDecimal value) {
            addCriterion("cost_price >", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price >=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThan(BigDecimal value) {
            addCriterion("cost_price <", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("cost_price <=", value, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceIn(List<BigDecimal> values) {
            addCriterion("cost_price in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotIn(List<BigDecimal> values) {
            addCriterion("cost_price not in", values, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andCostPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("cost_price not between", value1, value2, "costPrice");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountIsNull() {
            addCriterion("member_discount is null");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountIsNotNull() {
            addCriterion("member_discount is not null");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountEqualTo(Short value) {
            addCriterion("member_discount =", value, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountNotEqualTo(Short value) {
            addCriterion("member_discount <>", value, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountGreaterThan(Short value) {
            addCriterion("member_discount >", value, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountGreaterThanOrEqualTo(Short value) {
            addCriterion("member_discount >=", value, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountLessThan(Short value) {
            addCriterion("member_discount <", value, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountLessThanOrEqualTo(Short value) {
            addCriterion("member_discount <=", value, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountIn(List<Short> values) {
            addCriterion("member_discount in", values, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountNotIn(List<Short> values) {
            addCriterion("member_discount not in", values, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountBetween(Short value1, Short value2) {
            addCriterion("member_discount between", value1, value2, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andMemberDiscountNotBetween(Short value1, Short value2) {
            addCriterion("member_discount not between", value1, value2, "memberDiscount");
            return (Criteria) this;
        }

        public Criteria andRebateIsNull() {
            addCriterion("rebate is null");
            return (Criteria) this;
        }

        public Criteria andRebateIsNotNull() {
            addCriterion("rebate is not null");
            return (Criteria) this;
        }

        public Criteria andRebateEqualTo(BigDecimal value) {
            addCriterion("rebate =", value, "rebate");
            return (Criteria) this;
        }

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

        public Criteria andRebateGreaterThan(BigDecimal value) {
            addCriterion("rebate >", value, "rebate");
            return (Criteria) this;
        }

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

        public Criteria andRebateLessThan(BigDecimal value) {
            addCriterion("rebate <", value, "rebate");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andMchIdIsNull() {
            addCriterion("mch_id is null");
            return (Criteria) this;
        }

        public Criteria andMchIdIsNotNull() {
            addCriterion("mch_id is not null");
            return (Criteria) this;
        }

        public Criteria andMchIdEqualTo(Integer value) {
            addCriterion("mch_id =", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotEqualTo(Integer value) {
            addCriterion("mch_id <>", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdGreaterThan(Integer value) {
            addCriterion("mch_id >", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("mch_id >=", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLessThan(Integer value) {
            addCriterion("mch_id <", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdLessThanOrEqualTo(Integer value) {
            addCriterion("mch_id <=", value, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdIn(List<Integer> values) {
            addCriterion("mch_id in", values, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotIn(List<Integer> values) {
            addCriterion("mch_id not in", values, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdBetween(Integer value1, Integer value2) {
            addCriterion("mch_id between", value1, value2, "mchId");
            return (Criteria) this;
        }

        public Criteria andMchIdNotBetween(Integer value1, Integer value2) {
            addCriterion("mch_id not between", value1, value2, "mchId");
            return (Criteria) this;
        }

        public Criteria andGoodsNumIsNull() {
            addCriterion("goods_num is null");
            return (Criteria) this;
        }

        public Criteria andGoodsNumIsNotNull() {
            addCriterion("goods_num is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsNumEqualTo(Integer value) {
            addCriterion("goods_num =", value, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumNotEqualTo(Integer value) {
            addCriterion("goods_num <>", value, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumGreaterThan(Integer value) {
            addCriterion("goods_num >", value, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_num >=", value, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumLessThan(Integer value) {
            addCriterion("goods_num <", value, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumLessThanOrEqualTo(Integer value) {
            addCriterion("goods_num <=", value, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumIn(List<Integer> values) {
            addCriterion("goods_num in", values, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumNotIn(List<Integer> values) {
            addCriterion("goods_num not in", values, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumBetween(Integer value1, Integer value2) {
            addCriterion("goods_num between", value1, value2, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andGoodsNumNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_num not between", value1, value2, "goodsNum");
            return (Criteria) this;
        }

        public Criteria andMchSortIsNull() {
            addCriterion("mch_sort is null");
            return (Criteria) this;
        }

        public Criteria andMchSortIsNotNull() {
            addCriterion("mch_sort is not null");
            return (Criteria) this;
        }

        public Criteria andMchSortEqualTo(Integer value) {
            addCriterion("mch_sort =", value, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortNotEqualTo(Integer value) {
            addCriterion("mch_sort <>", value, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortGreaterThan(Integer value) {
            addCriterion("mch_sort >", value, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortGreaterThanOrEqualTo(Integer value) {
            addCriterion("mch_sort >=", value, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortLessThan(Integer value) {
            addCriterion("mch_sort <", value, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortLessThanOrEqualTo(Integer value) {
            addCriterion("mch_sort <=", value, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortIn(List<Integer> values) {
            addCriterion("mch_sort in", values, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortNotIn(List<Integer> values) {
            addCriterion("mch_sort not in", values, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortBetween(Integer value1, Integer value2) {
            addCriterion("mch_sort between", value1, value2, "mchSort");
            return (Criteria) this;
        }

        public Criteria andMchSortNotBetween(Integer value1, Integer value2) {
            addCriterion("mch_sort not between", value1, value2, "mchSort");
            return (Criteria) this;
        }

        public Criteria andConfineCountIsNull() {
            addCriterion("confine_count is null");
            return (Criteria) this;
        }

        public Criteria andConfineCountIsNotNull() {
            addCriterion("confine_count is not null");
            return (Criteria) this;
        }

        public Criteria andConfineCountEqualTo(Integer value) {
            addCriterion("confine_count =", value, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountNotEqualTo(Integer value) {
            addCriterion("confine_count <>", value, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountGreaterThan(Integer value) {
            addCriterion("confine_count >", value, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("confine_count >=", value, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountLessThan(Integer value) {
            addCriterion("confine_count <", value, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountLessThanOrEqualTo(Integer value) {
            addCriterion("confine_count <=", value, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountIn(List<Integer> values) {
            addCriterion("confine_count in", values, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountNotIn(List<Integer> values) {
            addCriterion("confine_count not in", values, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountBetween(Integer value1, Integer value2) {
            addCriterion("confine_count between", value1, value2, "confineCount");
            return (Criteria) this;
        }

        public Criteria andConfineCountNotBetween(Integer value1, Integer value2) {
            addCriterion("confine_count not between", value1, value2, "confineCount");
            return (Criteria) this;
        }

        public Criteria andIsLevelIsNull() {
            addCriterion("is_level is null");
            return (Criteria) this;
        }

        public Criteria andIsLevelIsNotNull() {
            addCriterion("is_level is not null");
            return (Criteria) this;
        }

        public Criteria andIsLevelEqualTo(Short value) {
            addCriterion("is_level =", value, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelNotEqualTo(Short value) {
            addCriterion("is_level <>", value, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelGreaterThan(Short value) {
            addCriterion("is_level >", value, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelGreaterThanOrEqualTo(Short value) {
            addCriterion("is_level >=", value, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelLessThan(Short value) {
            addCriterion("is_level <", value, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelLessThanOrEqualTo(Short value) {
            addCriterion("is_level <=", value, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelIn(List<Short> values) {
            addCriterion("is_level in", values, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelNotIn(List<Short> values) {
            addCriterion("is_level not in", values, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelBetween(Short value1, Short value2) {
            addCriterion("is_level between", value1, value2, "isLevel");
            return (Criteria) this;
        }

        public Criteria andIsLevelNotBetween(Short value1, Short value2) {
            addCriterion("is_level not between", value1, value2, "isLevel");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Short value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Short value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Short value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Short value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Short value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Short> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Short> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Short value1, Short value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Short value1, Short value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableIsNull() {
            addCriterion("is_negotiable is null");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableIsNotNull() {
            addCriterion("is_negotiable is not null");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableEqualTo(Short value) {
            addCriterion("is_negotiable =", value, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableNotEqualTo(Short value) {
            addCriterion("is_negotiable <>", value, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableGreaterThan(Short value) {
            addCriterion("is_negotiable >", value, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableGreaterThanOrEqualTo(Short value) {
            addCriterion("is_negotiable >=", value, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableLessThan(Short value) {
            addCriterion("is_negotiable <", value, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableLessThanOrEqualTo(Short value) {
            addCriterion("is_negotiable <=", value, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableIn(List<Short> values) {
            addCriterion("is_negotiable in", values, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableNotIn(List<Short> values) {
            addCriterion("is_negotiable not in", values, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableBetween(Short value1, Short value2) {
            addCriterion("is_negotiable between", value1, value2, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andIsNegotiableNotBetween(Short value1, Short value2) {
            addCriterion("is_negotiable not between", value1, value2, "isNegotiable");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeIsNull() {
            addCriterion("attr_setting_type is null");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeIsNotNull() {
            addCriterion("attr_setting_type is not null");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeEqualTo(Boolean value) {
            addCriterion("attr_setting_type =", value, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeNotEqualTo(Boolean value) {
            addCriterion("attr_setting_type <>", value, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeGreaterThan(Boolean value) {
            addCriterion("attr_setting_type >", value, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeGreaterThanOrEqualTo(Boolean value) {
            addCriterion("attr_setting_type >=", value, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeLessThan(Boolean value) {
            addCriterion("attr_setting_type <", value, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeLessThanOrEqualTo(Boolean value) {
            addCriterion("attr_setting_type <=", value, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeIn(List<Boolean> values) {
            addCriterion("attr_setting_type in", values, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeNotIn(List<Boolean> values) {
            addCriterion("attr_setting_type not in", values, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeBetween(Boolean value1, Boolean value2) {
            addCriterion("attr_setting_type between", value1, value2, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andAttrSettingTypeNotBetween(Boolean value1, Boolean value2) {
            addCriterion("attr_setting_type not between", value1, value2, "attrSettingType");
            return (Criteria) this;
        }

        public Criteria andViewsIsNull() {
            addCriterion("views is null");
            return (Criteria) this;
        }

        public Criteria andViewsIsNotNull() {
            addCriterion("views is not null");
            return (Criteria) this;
        }

        public Criteria andViewsEqualTo(Long value) {
            addCriterion("views =", value, "views");
            return (Criteria) this;
        }

        public Criteria andViewsNotEqualTo(Long value) {
            addCriterion("views <>", value, "views");
            return (Criteria) this;
        }

        public Criteria andViewsGreaterThan(Long value) {
            addCriterion("views >", value, "views");
            return (Criteria) this;
        }

        public Criteria andViewsGreaterThanOrEqualTo(Long value) {
            addCriterion("views >=", value, "views");
            return (Criteria) this;
        }

        public Criteria andViewsLessThan(Long value) {
            addCriterion("views <", value, "views");
            return (Criteria) this;
        }

        public Criteria andViewsLessThanOrEqualTo(Long value) {
            addCriterion("views <=", value, "views");
            return (Criteria) this;
        }

        public Criteria andViewsIn(List<Long> values) {
            addCriterion("views in", values, "views");
            return (Criteria) this;
        }

        public Criteria andViewsNotIn(List<Long> values) {
            addCriterion("views not in", values, "views");
            return (Criteria) this;
        }

        public Criteria andViewsBetween(Long value1, Long value2) {
            addCriterion("views between", value1, value2, "views");
            return (Criteria) this;
        }

        public Criteria andViewsNotBetween(Long value1, Long value2) {
            addCriterion("views not between", value1, value2, "views");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceIsNull() {
            addCriterion("supplier_price is null");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceIsNotNull() {
            addCriterion("supplier_price is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceEqualTo(BigDecimal value) {
            addCriterion("supplier_price =", value, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceNotEqualTo(BigDecimal value) {
            addCriterion("supplier_price <>", value, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceGreaterThan(BigDecimal value) {
            addCriterion("supplier_price >", value, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("supplier_price >=", value, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceLessThan(BigDecimal value) {
            addCriterion("supplier_price <", value, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("supplier_price <=", value, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceIn(List<BigDecimal> values) {
            addCriterion("supplier_price in", values, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceNotIn(List<BigDecimal> values) {
            addCriterion("supplier_price not in", values, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("supplier_price between", value1, value2, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("supplier_price not between", value1, value2, "supplierPrice");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdIsNull() {
            addCriterion("supplier_goods_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdIsNotNull() {
            addCriterion("supplier_goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdEqualTo(Integer value) {
            addCriterion("supplier_goods_id =", value, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdNotEqualTo(Integer value) {
            addCriterion("supplier_goods_id <>", value, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdGreaterThan(Integer value) {
            addCriterion("supplier_goods_id >", value, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_goods_id >=", value, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdLessThan(Integer value) {
            addCriterion("supplier_goods_id <", value, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_goods_id <=", value, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdIn(List<Integer> values) {
            addCriterion("supplier_goods_id in", values, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdNotIn(List<Integer> values) {
            addCriterion("supplier_goods_id not in", values, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("supplier_goods_id between", value1, value2, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_goods_id not between", value1, value2, "supplierGoodsId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNull() {
            addCriterion("supplier_id is null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIsNotNull() {
            addCriterion("supplier_id is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierIdEqualTo(Integer value) {
            addCriterion("supplier_id =", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotEqualTo(Integer value) {
            addCriterion("supplier_id <>", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThan(Integer value) {
            addCriterion("supplier_id >", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("supplier_id >=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThan(Integer value) {
            addCriterion("supplier_id <", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdLessThanOrEqualTo(Integer value) {
            addCriterion("supplier_id <=", value, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdIn(List<Integer> values) {
            addCriterion("supplier_id in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotIn(List<Integer> values) {
            addCriterion("supplier_id not in", values, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andSupplierIdNotBetween(Integer value1, Integer value2) {
            addCriterion("supplier_id not between", value1, value2, "supplierId");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleIsNull() {
            addCriterion("goods_share_title is null");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleIsNotNull() {
            addCriterion("goods_share_title is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleEqualTo(String value) {
            addCriterion("goods_share_title =", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleNotEqualTo(String value) {
            addCriterion("goods_share_title <>", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleGreaterThan(String value) {
            addCriterion("goods_share_title >", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleGreaterThanOrEqualTo(String value) {
            addCriterion("goods_share_title >=", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleLessThan(String value) {
            addCriterion("goods_share_title <", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleLessThanOrEqualTo(String value) {
            addCriterion("goods_share_title <=", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleLike(String value) {
            addCriterion("goods_share_title like", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleNotLike(String value) {
            addCriterion("goods_share_title not like", value, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleIn(List<String> values) {
            addCriterion("goods_share_title in", values, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleNotIn(List<String> values) {
            addCriterion("goods_share_title not in", values, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleBetween(String value1, String value2) {
            addCriterion("goods_share_title between", value1, value2, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareTitleNotBetween(String value1, String value2) {
            addCriterion("goods_share_title not between", value1, value2, "goodsShareTitle");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoIsNull() {
            addCriterion("goods_share_logo is null");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoIsNotNull() {
            addCriterion("goods_share_logo is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoEqualTo(String value) {
            addCriterion("goods_share_logo =", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoNotEqualTo(String value) {
            addCriterion("goods_share_logo <>", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoGreaterThan(String value) {
            addCriterion("goods_share_logo >", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoGreaterThanOrEqualTo(String value) {
            addCriterion("goods_share_logo >=", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoLessThan(String value) {
            addCriterion("goods_share_logo <", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoLessThanOrEqualTo(String value) {
            addCriterion("goods_share_logo <=", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoLike(String value) {
            addCriterion("goods_share_logo like", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoNotLike(String value) {
            addCriterion("goods_share_logo not like", value, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoIn(List<String> values) {
            addCriterion("goods_share_logo in", values, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoNotIn(List<String> values) {
            addCriterion("goods_share_logo not in", values, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoBetween(String value1, String value2) {
            addCriterion("goods_share_logo between", value1, value2, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareLogoNotBetween(String value1, String value2) {
            addCriterion("goods_share_logo not between", value1, value2, "goodsShareLogo");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescIsNull() {
            addCriterion("goods_share_desc is null");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescIsNotNull() {
            addCriterion("goods_share_desc is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescEqualTo(String value) {
            addCriterion("goods_share_desc =", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescNotEqualTo(String value) {
            addCriterion("goods_share_desc <>", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescGreaterThan(String value) {
            addCriterion("goods_share_desc >", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescGreaterThanOrEqualTo(String value) {
            addCriterion("goods_share_desc >=", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescLessThan(String value) {
            addCriterion("goods_share_desc <", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescLessThanOrEqualTo(String value) {
            addCriterion("goods_share_desc <=", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescLike(String value) {
            addCriterion("goods_share_desc like", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescNotLike(String value) {
            addCriterion("goods_share_desc not like", value, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescIn(List<String> values) {
            addCriterion("goods_share_desc in", values, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescNotIn(List<String> values) {
            addCriterion("goods_share_desc not in", values, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescBetween(String value1, String value2) {
            addCriterion("goods_share_desc between", value1, value2, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andGoodsShareDescNotBetween(String value1, String value2) {
            addCriterion("goods_share_desc not between", value1, value2, "goodsShareDesc");
            return (Criteria) this;
        }

        public Criteria andIsExamineIsNull() {
            addCriterion("is_examine is null");
            return (Criteria) this;
        }

        public Criteria andIsExamineIsNotNull() {
            addCriterion("is_examine is not null");
            return (Criteria) this;
        }

        public Criteria andIsExamineEqualTo(Integer value) {
            addCriterion("is_examine =", value, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineNotEqualTo(Integer value) {
            addCriterion("is_examine <>", value, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineGreaterThan(Integer value) {
            addCriterion("is_examine >", value, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_examine >=", value, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineLessThan(Integer value) {
            addCriterion("is_examine <", value, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineLessThanOrEqualTo(Integer value) {
            addCriterion("is_examine <=", value, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineIn(List<Integer> values) {
            addCriterion("is_examine in", values, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineNotIn(List<Integer> values) {
            addCriterion("is_examine not in", values, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineBetween(Integer value1, Integer value2) {
            addCriterion("is_examine between", value1, value2, "isExamine");
            return (Criteria) this;
        }

        public Criteria andIsExamineNotBetween(Integer value1, Integer value2) {
            addCriterion("is_examine not between", value1, value2, "isExamine");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceIsNull() {
            addCriterion("dabao_price is null");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceIsNotNull() {
            addCriterion("dabao_price is not null");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceEqualTo(BigDecimal value) {
            addCriterion("dabao_price =", value, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceNotEqualTo(BigDecimal value) {
            addCriterion("dabao_price <>", value, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceGreaterThan(BigDecimal value) {
            addCriterion("dabao_price >", value, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("dabao_price >=", value, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceLessThan(BigDecimal value) {
            addCriterion("dabao_price <", value, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("dabao_price <=", value, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceIn(List<BigDecimal> values) {
            addCriterion("dabao_price in", values, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceNotIn(List<BigDecimal> values) {
            addCriterion("dabao_price not in", values, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dabao_price between", value1, value2, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andDabaoPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dabao_price not between", value1, value2, "dabaoPrice");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNull() {
            addCriterion("brand_id is null");
            return (Criteria) this;
        }

        public Criteria andBrandIdIsNotNull() {
            addCriterion("brand_id is not null");
            return (Criteria) this;
        }

        public Criteria andBrandIdEqualTo(Integer value) {
            addCriterion("brand_id =", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotEqualTo(Integer value) {
            addCriterion("brand_id <>", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThan(Integer value) {
            addCriterion("brand_id >", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("brand_id >=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThan(Integer value) {
            addCriterion("brand_id <", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdLessThanOrEqualTo(Integer value) {
            addCriterion("brand_id <=", value, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdIn(List<Integer> values) {
            addCriterion("brand_id in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotIn(List<Integer> values) {
            addCriterion("brand_id not in", values, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdBetween(Integer value1, Integer value2) {
            addCriterion("brand_id between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andBrandIdNotBetween(Integer value1, Integer value2) {
            addCriterion("brand_id not between", value1, value2, "brandId");
            return (Criteria) this;
        }

        public Criteria andKeyWordIsNull() {
            addCriterion("key_word is null");
            return (Criteria) this;
        }

        public Criteria andKeyWordIsNotNull() {
            addCriterion("key_word is not null");
            return (Criteria) this;
        }

        public Criteria andKeyWordEqualTo(String value) {
            addCriterion("key_word =", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotEqualTo(String value) {
            addCriterion("key_word <>", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordGreaterThan(String value) {
            addCriterion("key_word >", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordGreaterThanOrEqualTo(String value) {
            addCriterion("key_word >=", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordLessThan(String value) {
            addCriterion("key_word <", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordLessThanOrEqualTo(String value) {
            addCriterion("key_word <=", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordLike(String value) {
            addCriterion("key_word like", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotLike(String value) {
            addCriterion("key_word not like", value, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordIn(List<String> values) {
            addCriterion("key_word in", values, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotIn(List<String> values) {
            addCriterion("key_word not in", values, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordBetween(String value1, String value2) {
            addCriterion("key_word between", value1, value2, "keyWord");
            return (Criteria) this;
        }

        public Criteria andKeyWordNotBetween(String value1, String value2) {
            addCriterion("key_word not between", value1, value2, "keyWord");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodIsNull() {
            addCriterion("buying_method is null");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodIsNotNull() {
            addCriterion("buying_method is not null");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodEqualTo(Integer value) {
            addCriterion("buying_method =", value, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodNotEqualTo(Integer value) {
            addCriterion("buying_method <>", value, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodGreaterThan(Integer value) {
            addCriterion("buying_method >", value, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodGreaterThanOrEqualTo(Integer value) {
            addCriterion("buying_method >=", value, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLessThan(Integer value) {
            addCriterion("buying_method <", value, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLessThanOrEqualTo(Integer value) {
            addCriterion("buying_method <=", value, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodIn(List<Integer> values) {
            addCriterion("buying_method in", values, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodNotIn(List<Integer> values) {
            addCriterion("buying_method not in", values, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodBetween(Integer value1, Integer value2) {
            addCriterion("buying_method between", value1, value2, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodNotBetween(Integer value1, Integer value2) {
            addCriterion("buying_method not between", value1, value2, "buyingMethod");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelIsNull() {
            addCriterion("buying_method_level is null");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelIsNotNull() {
            addCriterion("buying_method_level is not null");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelEqualTo(Integer value) {
            addCriterion("buying_method_level =", value, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelNotEqualTo(Integer value) {
            addCriterion("buying_method_level <>", value, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelGreaterThan(Integer value) {
            addCriterion("buying_method_level >", value, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("buying_method_level >=", value, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelLessThan(Integer value) {
            addCriterion("buying_method_level <", value, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelLessThanOrEqualTo(Integer value) {
            addCriterion("buying_method_level <=", value, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelIn(List<Integer> values) {
            addCriterion("buying_method_level in", values, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelNotIn(List<Integer> values) {
            addCriterion("buying_method_level not in", values, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelBetween(Integer value1, Integer value2) {
            addCriterion("buying_method_level between", value1, value2, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andBuyingMethodLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("buying_method_level not between", value1, value2, "buyingMethodLevel");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdIsNull() {
            addCriterion("home_block_id is null");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdIsNotNull() {
            addCriterion("home_block_id is not null");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdEqualTo(Integer value) {
            addCriterion("home_block_id =", value, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdNotEqualTo(Integer value) {
            addCriterion("home_block_id <>", value, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdGreaterThan(Integer value) {
            addCriterion("home_block_id >", value, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("home_block_id >=", value, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdLessThan(Integer value) {
            addCriterion("home_block_id <", value, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdLessThanOrEqualTo(Integer value) {
            addCriterion("home_block_id <=", value, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdIn(List<Integer> values) {
            addCriterion("home_block_id in", values, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdNotIn(List<Integer> values) {
            addCriterion("home_block_id not in", values, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdBetween(Integer value1, Integer value2) {
            addCriterion("home_block_id between", value1, value2, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andHomeBlockIdNotBetween(Integer value1, Integer value2) {
            addCriterion("home_block_id not between", value1, value2, "homeBlockId");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareIsNull() {
            addCriterion("new_individual_share is null");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareIsNotNull() {
            addCriterion("new_individual_share is not null");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareEqualTo(Integer value) {
            addCriterion("new_individual_share =", value, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareNotEqualTo(Integer value) {
            addCriterion("new_individual_share <>", value, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareGreaterThan(Integer value) {
            addCriterion("new_individual_share >", value, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_individual_share >=", value, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareLessThan(Integer value) {
            addCriterion("new_individual_share <", value, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareLessThanOrEqualTo(Integer value) {
            addCriterion("new_individual_share <=", value, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareIn(List<Integer> values) {
            addCriterion("new_individual_share in", values, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareNotIn(List<Integer> values) {
            addCriterion("new_individual_share not in", values, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareBetween(Integer value1, Integer value2) {
            addCriterion("new_individual_share between", value1, value2, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewIndividualShareNotBetween(Integer value1, Integer value2) {
            addCriterion("new_individual_share not between", value1, value2, "newIndividualShare");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeIsNull() {
            addCriterion("new_attr_setting_type is null");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeIsNotNull() {
            addCriterion("new_attr_setting_type is not null");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeEqualTo(Integer value) {
            addCriterion("new_attr_setting_type =", value, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeNotEqualTo(Integer value) {
            addCriterion("new_attr_setting_type <>", value, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeGreaterThan(Integer value) {
            addCriterion("new_attr_setting_type >", value, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("new_attr_setting_type >=", value, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeLessThan(Integer value) {
            addCriterion("new_attr_setting_type <", value, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeLessThanOrEqualTo(Integer value) {
            addCriterion("new_attr_setting_type <=", value, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeIn(List<Integer> values) {
            addCriterion("new_attr_setting_type in", values, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeNotIn(List<Integer> values) {
            addCriterion("new_attr_setting_type not in", values, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeBetween(Integer value1, Integer value2) {
            addCriterion("new_attr_setting_type between", value1, value2, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andNewAttrSettingTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("new_attr_setting_type not between", value1, value2, "newAttrSettingType");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseIsNull() {
            addCriterion("share_commission_base is null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseIsNotNull() {
            addCriterion("share_commission_base is not null");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseEqualTo(BigDecimal value) {
            addCriterion("share_commission_base =", value, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseNotEqualTo(BigDecimal value) {
            addCriterion("share_commission_base <>", value, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseGreaterThan(BigDecimal value) {
            addCriterion("share_commission_base >", value, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_base >=", value, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseLessThan(BigDecimal value) {
            addCriterion("share_commission_base <", value, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseLessThanOrEqualTo(BigDecimal value) {
            addCriterion("share_commission_base <=", value, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseIn(List<BigDecimal> values) {
            addCriterion("share_commission_base in", values, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseNotIn(List<BigDecimal> values) {
            addCriterion("share_commission_base not in", values, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_base between", value1, value2, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andShareCommissionBaseNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("share_commission_base not between", value1, value2, "shareCommissionBase");
            return (Criteria) this;
        }

        public Criteria andIsSjhtIsNull() {
            addCriterion("is_sjht is null");
            return (Criteria) this;
        }

        public Criteria andIsSjhtIsNotNull() {
            addCriterion("is_sjht is not null");
            return (Criteria) this;
        }

        public Criteria andIsSjhtEqualTo(Short value) {
            addCriterion("is_sjht =", value, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtNotEqualTo(Short value) {
            addCriterion("is_sjht <>", value, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtGreaterThan(Short value) {
            addCriterion("is_sjht >", value, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtGreaterThanOrEqualTo(Short value) {
            addCriterion("is_sjht >=", value, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtLessThan(Short value) {
            addCriterion("is_sjht <", value, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtLessThanOrEqualTo(Short value) {
            addCriterion("is_sjht <=", value, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtIn(List<Short> values) {
            addCriterion("is_sjht in", values, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtNotIn(List<Short> values) {
            addCriterion("is_sjht not in", values, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtBetween(Short value1, Short value2) {
            addCriterion("is_sjht between", value1, value2, "isSjht");
            return (Criteria) this;
        }

        public Criteria andIsSjhtNotBetween(Short value1, Short value2) {
            addCriterion("is_sjht not between", value1, value2, "isSjht");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentIsNull() {
            addCriterion("sjht_proIdent is null");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentIsNotNull() {
            addCriterion("sjht_proIdent is not null");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentEqualTo(String value) {
            addCriterion("sjht_proIdent =", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentNotEqualTo(String value) {
            addCriterion("sjht_proIdent <>", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentGreaterThan(String value) {
            addCriterion("sjht_proIdent >", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentGreaterThanOrEqualTo(String value) {
            addCriterion("sjht_proIdent >=", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentLessThan(String value) {
            addCriterion("sjht_proIdent <", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentLessThanOrEqualTo(String value) {
            addCriterion("sjht_proIdent <=", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentLike(String value) {
            addCriterion("sjht_proIdent like", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentNotLike(String value) {
            addCriterion("sjht_proIdent not like", value, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentIn(List<String> values) {
            addCriterion("sjht_proIdent in", values, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentNotIn(List<String> values) {
            addCriterion("sjht_proIdent not in", values, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentBetween(String value1, String value2) {
            addCriterion("sjht_proIdent between", value1, value2, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andSjhtProidentNotBetween(String value1, String value2) {
            addCriterion("sjht_proIdent not between", value1, value2, "sjhtProident");
            return (Criteria) this;
        }

        public Criteria andIsOilIsNull() {
            addCriterion("is_oil is null");
            return (Criteria) this;
        }

        public Criteria andIsOilIsNotNull() {
            addCriterion("is_oil is not null");
            return (Criteria) this;
        }

        public Criteria andIsOilEqualTo(Short value) {
            addCriterion("is_oil =", value, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilNotEqualTo(Short value) {
            addCriterion("is_oil <>", value, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilGreaterThan(Short value) {
            addCriterion("is_oil >", value, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilGreaterThanOrEqualTo(Short value) {
            addCriterion("is_oil >=", value, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilLessThan(Short value) {
            addCriterion("is_oil <", value, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilLessThanOrEqualTo(Short value) {
            addCriterion("is_oil <=", value, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilIn(List<Short> values) {
            addCriterion("is_oil in", values, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilNotIn(List<Short> values) {
            addCriterion("is_oil not in", values, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilBetween(Short value1, Short value2) {
            addCriterion("is_oil between", value1, value2, "isOil");
            return (Criteria) this;
        }

        public Criteria andIsOilNotBetween(Short value1, Short value2) {
            addCriterion("is_oil not between", value1, value2, "isOil");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeIsNull() {
            addCriterion("oil_couTypeCode is null");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeIsNotNull() {
            addCriterion("oil_couTypeCode is not null");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeEqualTo(String value) {
            addCriterion("oil_couTypeCode =", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeNotEqualTo(String value) {
            addCriterion("oil_couTypeCode <>", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeGreaterThan(String value) {
            addCriterion("oil_couTypeCode >", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeGreaterThanOrEqualTo(String value) {
            addCriterion("oil_couTypeCode >=", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeLessThan(String value) {
            addCriterion("oil_couTypeCode <", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeLessThanOrEqualTo(String value) {
            addCriterion("oil_couTypeCode <=", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeLike(String value) {
            addCriterion("oil_couTypeCode like", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeNotLike(String value) {
            addCriterion("oil_couTypeCode not like", value, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeIn(List<String> values) {
            addCriterion("oil_couTypeCode in", values, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeNotIn(List<String> values) {
            addCriterion("oil_couTypeCode not in", values, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeBetween(String value1, String value2) {
            addCriterion("oil_couTypeCode between", value1, value2, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andOilCoutypecodeNotBetween(String value1, String value2) {
            addCriterion("oil_couTypeCode not between", value1, value2, "oilCoutypecode");
            return (Criteria) this;
        }

        public Criteria andIsAbholungIsNull() {
            addCriterion("is_abholung is null");
            return (Criteria) this;
        }

        public Criteria andIsAbholungIsNotNull() {
            addCriterion("is_abholung is not null");
            return (Criteria) this;
        }

        public Criteria andIsAbholungEqualTo(Short value) {
            addCriterion("is_abholung =", value, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungNotEqualTo(Short value) {
            addCriterion("is_abholung <>", value, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungGreaterThan(Short value) {
            addCriterion("is_abholung >", value, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungGreaterThanOrEqualTo(Short value) {
            addCriterion("is_abholung >=", value, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungLessThan(Short value) {
            addCriterion("is_abholung <", value, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungLessThanOrEqualTo(Short value) {
            addCriterion("is_abholung <=", value, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungIn(List<Short> values) {
            addCriterion("is_abholung in", values, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungNotIn(List<Short> values) {
            addCriterion("is_abholung not in", values, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungBetween(Short value1, Short value2) {
            addCriterion("is_abholung between", value1, value2, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsAbholungNotBetween(Short value1, Short value2) {
            addCriterion("is_abholung not between", value1, value2, "isAbholung");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalIsNull() {
            addCriterion("is_transnational is null");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalIsNotNull() {
            addCriterion("is_transnational is not null");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalEqualTo(Short value) {
            addCriterion("is_transnational =", value, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalNotEqualTo(Short value) {
            addCriterion("is_transnational <>", value, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalGreaterThan(Short value) {
            addCriterion("is_transnational >", value, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalGreaterThanOrEqualTo(Short value) {
            addCriterion("is_transnational >=", value, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalLessThan(Short value) {
            addCriterion("is_transnational <", value, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalLessThanOrEqualTo(Short value) {
            addCriterion("is_transnational <=", value, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalIn(List<Short> values) {
            addCriterion("is_transnational in", values, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalNotIn(List<Short> values) {
            addCriterion("is_transnational not in", values, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalBetween(Short value1, Short value2) {
            addCriterion("is_transnational between", value1, value2, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andIsTransnationalNotBetween(Short value1, Short value2) {
            addCriterion("is_transnational not between", value1, value2, "isTransnational");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateIsNull() {
            addCriterion("goods_transfer_rate is null");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateIsNotNull() {
            addCriterion("goods_transfer_rate is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateEqualTo(Integer value) {
            addCriterion("goods_transfer_rate =", value, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateNotEqualTo(Integer value) {
            addCriterion("goods_transfer_rate <>", value, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateGreaterThan(Integer value) {
            addCriterion("goods_transfer_rate >", value, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_transfer_rate >=", value, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateLessThan(Integer value) {
            addCriterion("goods_transfer_rate <", value, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateLessThanOrEqualTo(Integer value) {
            addCriterion("goods_transfer_rate <=", value, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateIn(List<Integer> values) {
            addCriterion("goods_transfer_rate in", values, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateNotIn(List<Integer> values) {
            addCriterion("goods_transfer_rate not in", values, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateBetween(Integer value1, Integer value2) {
            addCriterion("goods_transfer_rate between", value1, value2, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andGoodsTransferRateNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_transfer_rate not between", value1, value2, "goodsTransferRate");
            return (Criteria) this;
        }

        public Criteria andOilDiscountIsNull() {
            addCriterion("oil_discount is null");
            return (Criteria) this;
        }

        public Criteria andOilDiscountIsNotNull() {
            addCriterion("oil_discount is not null");
            return (Criteria) this;
        }

        public Criteria andOilDiscountEqualTo(Integer value) {
            addCriterion("oil_discount =", value, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountNotEqualTo(Integer value) {
            addCriterion("oil_discount <>", value, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountGreaterThan(Integer value) {
            addCriterion("oil_discount >", value, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountGreaterThanOrEqualTo(Integer value) {
            addCriterion("oil_discount >=", value, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountLessThan(Integer value) {
            addCriterion("oil_discount <", value, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountLessThanOrEqualTo(Integer value) {
            addCriterion("oil_discount <=", value, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountIn(List<Integer> values) {
            addCriterion("oil_discount in", values, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountNotIn(List<Integer> values) {
            addCriterion("oil_discount not in", values, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountBetween(Integer value1, Integer value2) {
            addCriterion("oil_discount between", value1, value2, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilDiscountNotBetween(Integer value1, Integer value2) {
            addCriterion("oil_discount not between", value1, value2, "oilDiscount");
            return (Criteria) this;
        }

        public Criteria andOilTypeIsNull() {
            addCriterion("oil_type is null");
            return (Criteria) this;
        }

        public Criteria andOilTypeIsNotNull() {
            addCriterion("oil_type is not null");
            return (Criteria) this;
        }

        public Criteria andOilTypeEqualTo(Integer value) {
            addCriterion("oil_type =", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotEqualTo(Integer value) {
            addCriterion("oil_type <>", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeGreaterThan(Integer value) {
            addCriterion("oil_type >", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("oil_type >=", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeLessThan(Integer value) {
            addCriterion("oil_type <", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeLessThanOrEqualTo(Integer value) {
            addCriterion("oil_type <=", value, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeIn(List<Integer> values) {
            addCriterion("oil_type in", values, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotIn(List<Integer> values) {
            addCriterion("oil_type not in", values, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeBetween(Integer value1, Integer value2) {
            addCriterion("oil_type between", value1, value2, "oilType");
            return (Criteria) this;
        }

        public Criteria andOilTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("oil_type not between", value1, value2, "oilType");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    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);
        }
    }
}