package com.farriver.bwf.data.master.model; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; public class ShoppingCartProductExample { protected String orderByClause; protected boolean distinct; protected List oredCriteria; /** * 这是Mybatis Generator拓展插件生成的属性(请勿删除). * This field corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ protected Integer offset; /** * 这是Mybatis Generator拓展插件生成的属性(请勿删除). * This field corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ protected Integer rows; public ShoppingCartProductExample() { oredCriteria = new ArrayList(); } 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 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; rows = null; offset = null; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public void setOffset(Integer offset) { this.offset = offset; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public Integer getOffset() { return offset; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public void setRows(Integer rows) { this.rows = rows; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public Integer getRows() { return rows; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public ShoppingCartProductExample limit(Integer rows) { this.rows = rows; return this; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public ShoppingCartProductExample limit(Integer offset, Integer rows) { this.offset = offset; this.rows = rows; return this; } /** * 这是Mybatis Generator拓展插件生成的方法(请勿删除). * This method corresponds to the database table fr_bwf..shopping_cart_product * * @mbg.generated * @author hewei */ public ShoppingCartProductExample page(Integer page, Integer pageSize) { this.offset = page * pageSize; this.rows = pageSize; return this; } protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List 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(String value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(String value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(String value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(String value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(String value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(String value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdLike(String value) { addCriterion("id like", value, "id"); return (Criteria) this; } public Criteria andIdNotLike(String value) { addCriterion("id not like", value, "id"); return (Criteria) this; } public Criteria andIdIn(List values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(String value1, String value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(String value1, String value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andIsdeletedIsNull() { addCriterion("isdeleted is null"); return (Criteria) this; } public Criteria andIsdeletedIsNotNull() { addCriterion("isdeleted is not null"); return (Criteria) this; } public Criteria andIsdeletedEqualTo(Boolean value) { addCriterion("isdeleted =", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedNotEqualTo(Boolean value) { addCriterion("isdeleted <>", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedGreaterThan(Boolean value) { addCriterion("isdeleted >", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedGreaterThanOrEqualTo(Boolean value) { addCriterion("isdeleted >=", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedLessThan(Boolean value) { addCriterion("isdeleted <", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedLessThanOrEqualTo(Boolean value) { addCriterion("isdeleted <=", value, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedIn(List values) { addCriterion("isdeleted in", values, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedNotIn(List values) { addCriterion("isdeleted not in", values, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedBetween(Boolean value1, Boolean value2) { addCriterion("isdeleted between", value1, value2, "isdeleted"); return (Criteria) this; } public Criteria andIsdeletedNotBetween(Boolean value1, Boolean value2) { addCriterion("isdeleted not between", value1, value2, "isdeleted"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andCreatetimeIsNull() { addCriterion("createtime is null"); return (Criteria) this; } public Criteria andCreatetimeIsNotNull() { addCriterion("createtime is not null"); return (Criteria) this; } public Criteria andCreatetimeEqualTo(Date value) { addCriterion("createtime =", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeNotEqualTo(Date value) { addCriterion("createtime <>", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeGreaterThan(Date value) { addCriterion("createtime >", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { addCriterion("createtime >=", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeLessThan(Date value) { addCriterion("createtime <", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeLessThanOrEqualTo(Date value) { addCriterion("createtime <=", value, "createtime"); return (Criteria) this; } public Criteria andCreatetimeIn(List values) { addCriterion("createtime in", values, "createtime"); return (Criteria) this; } public Criteria andCreatetimeNotIn(List values) { addCriterion("createtime not in", values, "createtime"); return (Criteria) this; } public Criteria andCreatetimeBetween(Date value1, Date value2) { addCriterion("createtime between", value1, value2, "createtime"); return (Criteria) this; } public Criteria andCreatetimeNotBetween(Date value1, Date value2) { addCriterion("createtime not between", value1, value2, "createtime"); return (Criteria) this; } public Criteria andUpdatetimeIsNull() { addCriterion("updatetime is null"); return (Criteria) this; } public Criteria andUpdatetimeIsNotNull() { addCriterion("updatetime is not null"); return (Criteria) this; } public Criteria andUpdatetimeEqualTo(Date value) { addCriterion("updatetime =", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeNotEqualTo(Date value) { addCriterion("updatetime <>", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeGreaterThan(Date value) { addCriterion("updatetime >", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) { addCriterion("updatetime >=", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeLessThan(Date value) { addCriterion("updatetime <", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeLessThanOrEqualTo(Date value) { addCriterion("updatetime <=", value, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeIn(List values) { addCriterion("updatetime in", values, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeNotIn(List values) { addCriterion("updatetime not in", values, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeBetween(Date value1, Date value2) { addCriterion("updatetime between", value1, value2, "updatetime"); return (Criteria) this; } public Criteria andUpdatetimeNotBetween(Date value1, Date value2) { addCriterion("updatetime not between", value1, value2, "updatetime"); return (Criteria) this; } public Criteria andProductidIsNull() { addCriterion("productid is null"); return (Criteria) this; } public Criteria andProductidIsNotNull() { addCriterion("productid is not null"); return (Criteria) this; } public Criteria andProductidEqualTo(String value) { addCriterion("productid =", value, "productid"); return (Criteria) this; } public Criteria andProductidNotEqualTo(String value) { addCriterion("productid <>", value, "productid"); return (Criteria) this; } public Criteria andProductidGreaterThan(String value) { addCriterion("productid >", value, "productid"); return (Criteria) this; } public Criteria andProductidGreaterThanOrEqualTo(String value) { addCriterion("productid >=", value, "productid"); return (Criteria) this; } public Criteria andProductidLessThan(String value) { addCriterion("productid <", value, "productid"); return (Criteria) this; } public Criteria andProductidLessThanOrEqualTo(String value) { addCriterion("productid <=", value, "productid"); return (Criteria) this; } public Criteria andProductidLike(String value) { addCriterion("productid like", value, "productid"); return (Criteria) this; } public Criteria andProductidNotLike(String value) { addCriterion("productid not like", value, "productid"); return (Criteria) this; } public Criteria andProductidIn(List values) { addCriterion("productid in", values, "productid"); return (Criteria) this; } public Criteria andProductidNotIn(List values) { addCriterion("productid not in", values, "productid"); return (Criteria) this; } public Criteria andProductidBetween(String value1, String value2) { addCriterion("productid between", value1, value2, "productid"); return (Criteria) this; } public Criteria andProductidNotBetween(String value1, String value2) { addCriterion("productid not between", value1, value2, "productid"); return (Criteria) this; } public Criteria andProductcodeIsNull() { addCriterion("productcode is null"); return (Criteria) this; } public Criteria andProductcodeIsNotNull() { addCriterion("productcode is not null"); return (Criteria) this; } public Criteria andProductcodeEqualTo(String value) { addCriterion("productcode =", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeNotEqualTo(String value) { addCriterion("productcode <>", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeGreaterThan(String value) { addCriterion("productcode >", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeGreaterThanOrEqualTo(String value) { addCriterion("productcode >=", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeLessThan(String value) { addCriterion("productcode <", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeLessThanOrEqualTo(String value) { addCriterion("productcode <=", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeLike(String value) { addCriterion("productcode like", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeNotLike(String value) { addCriterion("productcode not like", value, "productcode"); return (Criteria) this; } public Criteria andProductcodeIn(List values) { addCriterion("productcode in", values, "productcode"); return (Criteria) this; } public Criteria andProductcodeNotIn(List values) { addCriterion("productcode not in", values, "productcode"); return (Criteria) this; } public Criteria andProductcodeBetween(String value1, String value2) { addCriterion("productcode between", value1, value2, "productcode"); return (Criteria) this; } public Criteria andProductcodeNotBetween(String value1, String value2) { addCriterion("productcode not between", value1, value2, "productcode"); return (Criteria) this; } public Criteria andProductnameIsNull() { addCriterion("productname is null"); return (Criteria) this; } public Criteria andProductnameIsNotNull() { addCriterion("productname is not null"); return (Criteria) this; } public Criteria andProductnameEqualTo(String value) { addCriterion("productname =", value, "productname"); return (Criteria) this; } public Criteria andProductnameNotEqualTo(String value) { addCriterion("productname <>", value, "productname"); return (Criteria) this; } public Criteria andProductnameGreaterThan(String value) { addCriterion("productname >", value, "productname"); return (Criteria) this; } public Criteria andProductnameGreaterThanOrEqualTo(String value) { addCriterion("productname >=", value, "productname"); return (Criteria) this; } public Criteria andProductnameLessThan(String value) { addCriterion("productname <", value, "productname"); return (Criteria) this; } public Criteria andProductnameLessThanOrEqualTo(String value) { addCriterion("productname <=", value, "productname"); return (Criteria) this; } public Criteria andProductnameLike(String value) { addCriterion("productname like", value, "productname"); return (Criteria) this; } public Criteria andProductnameNotLike(String value) { addCriterion("productname not like", value, "productname"); return (Criteria) this; } public Criteria andProductnameIn(List values) { addCriterion("productname in", values, "productname"); return (Criteria) this; } public Criteria andProductnameNotIn(List values) { addCriterion("productname not in", values, "productname"); return (Criteria) this; } public Criteria andProductnameBetween(String value1, String value2) { addCriterion("productname between", value1, value2, "productname"); return (Criteria) this; } public Criteria andProductnameNotBetween(String value1, String value2) { addCriterion("productname not between", value1, value2, "productname"); 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(Integer value) { addCriterion("status =", value, "status"); return (Criteria) this; } public Criteria andStatusNotEqualTo(Integer value) { addCriterion("status <>", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThan(Integer value) { addCriterion("status >", value, "status"); return (Criteria) this; } public Criteria andStatusGreaterThanOrEqualTo(Integer value) { addCriterion("status >=", value, "status"); return (Criteria) this; } public Criteria andStatusLessThan(Integer value) { addCriterion("status <", value, "status"); return (Criteria) this; } public Criteria andStatusLessThanOrEqualTo(Integer value) { addCriterion("status <=", value, "status"); return (Criteria) this; } public Criteria andStatusIn(List values) { addCriterion("status in", values, "status"); return (Criteria) this; } public Criteria andStatusNotIn(List values) { addCriterion("status not in", values, "status"); return (Criteria) this; } public Criteria andStatusBetween(Integer value1, Integer value2) { addCriterion("status between", value1, value2, "status"); return (Criteria) this; } public Criteria andStatusNotBetween(Integer value1, Integer value2) { addCriterion("status not between", value1, value2, "status"); return (Criteria) this; } public Criteria andColorIsNull() { addCriterion("color is null"); return (Criteria) this; } public Criteria andColorIsNotNull() { addCriterion("color is not null"); return (Criteria) this; } public Criteria andColorEqualTo(String value) { addCriterion("color =", value, "color"); return (Criteria) this; } public Criteria andColorNotEqualTo(String value) { addCriterion("color <>", value, "color"); return (Criteria) this; } public Criteria andColorGreaterThan(String value) { addCriterion("color >", value, "color"); return (Criteria) this; } public Criteria andColorGreaterThanOrEqualTo(String value) { addCriterion("color >=", value, "color"); return (Criteria) this; } public Criteria andColorLessThan(String value) { addCriterion("color <", value, "color"); return (Criteria) this; } public Criteria andColorLessThanOrEqualTo(String value) { addCriterion("color <=", value, "color"); return (Criteria) this; } public Criteria andColorLike(String value) { addCriterion("color like", value, "color"); return (Criteria) this; } public Criteria andColorNotLike(String value) { addCriterion("color not like", value, "color"); return (Criteria) this; } public Criteria andColorIn(List values) { addCriterion("color in", values, "color"); return (Criteria) this; } public Criteria andColorNotIn(List values) { addCriterion("color not in", values, "color"); return (Criteria) this; } public Criteria andColorBetween(String value1, String value2) { addCriterion("color between", value1, value2, "color"); return (Criteria) this; } public Criteria andColorNotBetween(String value1, String value2) { addCriterion("color not between", value1, value2, "color"); return (Criteria) this; } public Criteria andSizeIsNull() { addCriterion("size is null"); return (Criteria) this; } public Criteria andSizeIsNotNull() { addCriterion("size is not null"); return (Criteria) this; } public Criteria andSizeEqualTo(String value) { addCriterion("size =", value, "size"); return (Criteria) this; } public Criteria andSizeNotEqualTo(String value) { addCriterion("size <>", value, "size"); return (Criteria) this; } public Criteria andSizeGreaterThan(String value) { addCriterion("size >", value, "size"); return (Criteria) this; } public Criteria andSizeGreaterThanOrEqualTo(String value) { addCriterion("size >=", value, "size"); return (Criteria) this; } public Criteria andSizeLessThan(String value) { addCriterion("size <", value, "size"); return (Criteria) this; } public Criteria andSizeLessThanOrEqualTo(String value) { addCriterion("size <=", value, "size"); return (Criteria) this; } public Criteria andSizeLike(String value) { addCriterion("size like", value, "size"); return (Criteria) this; } public Criteria andSizeNotLike(String value) { addCriterion("size not like", value, "size"); return (Criteria) this; } public Criteria andSizeIn(List values) { addCriterion("size in", values, "size"); return (Criteria) this; } public Criteria andSizeNotIn(List values) { addCriterion("size not in", values, "size"); return (Criteria) this; } public Criteria andSizeBetween(String value1, String value2) { addCriterion("size between", value1, value2, "size"); return (Criteria) this; } public Criteria andSizeNotBetween(String value1, String value2) { addCriterion("size not between", value1, value2, "size"); return (Criteria) this; } public Criteria andCountIsNull() { addCriterion("count is null"); return (Criteria) this; } public Criteria andCountIsNotNull() { addCriterion("count is not null"); return (Criteria) this; } public Criteria andCountEqualTo(Integer value) { addCriterion("count =", value, "count"); return (Criteria) this; } public Criteria andCountNotEqualTo(Integer value) { addCriterion("count <>", value, "count"); return (Criteria) this; } public Criteria andCountGreaterThan(Integer value) { addCriterion("count >", value, "count"); return (Criteria) this; } public Criteria andCountGreaterThanOrEqualTo(Integer value) { addCriterion("count >=", value, "count"); return (Criteria) this; } public Criteria andCountLessThan(Integer value) { addCriterion("count <", value, "count"); return (Criteria) this; } public Criteria andCountLessThanOrEqualTo(Integer value) { addCriterion("count <=", value, "count"); return (Criteria) this; } public Criteria andCountIn(List values) { addCriterion("count in", values, "count"); return (Criteria) this; } public Criteria andCountNotIn(List values) { addCriterion("count not in", values, "count"); return (Criteria) this; } public Criteria andCountBetween(Integer value1, Integer value2) { addCriterion("count between", value1, value2, "count"); return (Criteria) this; } public Criteria andCountNotBetween(Integer value1, Integer value2) { addCriterion("count not between", value1, value2, "count"); return (Criteria) this; } public Criteria andImageIsNull() { addCriterion("image is null"); return (Criteria) this; } public Criteria andImageIsNotNull() { addCriterion("image is not null"); return (Criteria) this; } public Criteria andImageEqualTo(String value) { addCriterion("image =", value, "image"); return (Criteria) this; } public Criteria andImageNotEqualTo(String value) { addCriterion("image <>", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThan(String value) { addCriterion("image >", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThanOrEqualTo(String value) { addCriterion("image >=", value, "image"); return (Criteria) this; } public Criteria andImageLessThan(String value) { addCriterion("image <", value, "image"); return (Criteria) this; } public Criteria andImageLessThanOrEqualTo(String value) { addCriterion("image <=", value, "image"); return (Criteria) this; } public Criteria andImageLike(String value) { addCriterion("image like", value, "image"); return (Criteria) this; } public Criteria andImageNotLike(String value) { addCriterion("image not like", value, "image"); return (Criteria) this; } public Criteria andImageIn(List values) { addCriterion("image in", values, "image"); return (Criteria) this; } public Criteria andImageNotIn(List values) { addCriterion("image not in", values, "image"); return (Criteria) this; } public Criteria andImageBetween(String value1, String value2) { addCriterion("image between", value1, value2, "image"); return (Criteria) this; } public Criteria andImageNotBetween(String value1, String value2) { addCriterion("image not between", value1, value2, "image"); 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 values) { addCriterion("price in", values, "price"); return (Criteria) this; } public Criteria andPriceNotIn(List 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 andSalepriceIsNull() { addCriterion("saleprice is null"); return (Criteria) this; } public Criteria andSalepriceIsNotNull() { addCriterion("saleprice is not null"); return (Criteria) this; } public Criteria andSalepriceEqualTo(BigDecimal value) { addCriterion("saleprice =", value, "saleprice"); return (Criteria) this; } public Criteria andSalepriceNotEqualTo(BigDecimal value) { addCriterion("saleprice <>", value, "saleprice"); return (Criteria) this; } public Criteria andSalepriceGreaterThan(BigDecimal value) { addCriterion("saleprice >", value, "saleprice"); return (Criteria) this; } public Criteria andSalepriceGreaterThanOrEqualTo(BigDecimal value) { addCriterion("saleprice >=", value, "saleprice"); return (Criteria) this; } public Criteria andSalepriceLessThan(BigDecimal value) { addCriterion("saleprice <", value, "saleprice"); return (Criteria) this; } public Criteria andSalepriceLessThanOrEqualTo(BigDecimal value) { addCriterion("saleprice <=", value, "saleprice"); return (Criteria) this; } public Criteria andSalepriceIn(List values) { addCriterion("saleprice in", values, "saleprice"); return (Criteria) this; } public Criteria andSalepriceNotIn(List values) { addCriterion("saleprice not in", values, "saleprice"); return (Criteria) this; } public Criteria andSalepriceBetween(BigDecimal value1, BigDecimal value2) { addCriterion("saleprice between", value1, value2, "saleprice"); return (Criteria) this; } public Criteria andSalepriceNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("saleprice not between", value1, value2, "saleprice"); return (Criteria) this; } public Criteria andCartidIsNull() { addCriterion("cartid is null"); return (Criteria) this; } public Criteria andCartidIsNotNull() { addCriterion("cartid is not null"); return (Criteria) this; } public Criteria andCartidEqualTo(String value) { addCriterion("cartid =", value, "cartid"); return (Criteria) this; } public Criteria andCartidNotEqualTo(String value) { addCriterion("cartid <>", value, "cartid"); return (Criteria) this; } public Criteria andCartidGreaterThan(String value) { addCriterion("cartid >", value, "cartid"); return (Criteria) this; } public Criteria andCartidGreaterThanOrEqualTo(String value) { addCriterion("cartid >=", value, "cartid"); return (Criteria) this; } public Criteria andCartidLessThan(String value) { addCriterion("cartid <", value, "cartid"); return (Criteria) this; } public Criteria andCartidLessThanOrEqualTo(String value) { addCriterion("cartid <=", value, "cartid"); return (Criteria) this; } public Criteria andCartidLike(String value) { addCriterion("cartid like", value, "cartid"); return (Criteria) this; } public Criteria andCartidNotLike(String value) { addCriterion("cartid not like", value, "cartid"); return (Criteria) this; } public Criteria andCartidIn(List values) { addCriterion("cartid in", values, "cartid"); return (Criteria) this; } public Criteria andCartidNotIn(List values) { addCriterion("cartid not in", values, "cartid"); return (Criteria) this; } public Criteria andCartidBetween(String value1, String value2) { addCriterion("cartid between", value1, value2, "cartid"); return (Criteria) this; } public Criteria andCartidNotBetween(String value1, String value2) { addCriterion("cartid not between", value1, value2, "cartid"); return (Criteria) this; } public Criteria andCartcodeIsNull() { addCriterion("cartcode is null"); return (Criteria) this; } public Criteria andCartcodeIsNotNull() { addCriterion("cartcode is not null"); return (Criteria) this; } public Criteria andCartcodeEqualTo(String value) { addCriterion("cartcode =", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeNotEqualTo(String value) { addCriterion("cartcode <>", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeGreaterThan(String value) { addCriterion("cartcode >", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeGreaterThanOrEqualTo(String value) { addCriterion("cartcode >=", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeLessThan(String value) { addCriterion("cartcode <", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeLessThanOrEqualTo(String value) { addCriterion("cartcode <=", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeLike(String value) { addCriterion("cartcode like", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeNotLike(String value) { addCriterion("cartcode not like", value, "cartcode"); return (Criteria) this; } public Criteria andCartcodeIn(List values) { addCriterion("cartcode in", values, "cartcode"); return (Criteria) this; } public Criteria andCartcodeNotIn(List values) { addCriterion("cartcode not in", values, "cartcode"); return (Criteria) this; } public Criteria andCartcodeBetween(String value1, String value2) { addCriterion("cartcode between", value1, value2, "cartcode"); return (Criteria) this; } public Criteria andCartcodeNotBetween(String value1, String value2) { addCriterion("cartcode not between", value1, value2, "cartcode"); 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); } } }