dev798
parent
50c2c0cdfd
commit
8f614b0702
|
@ -2,16 +2,37 @@ package com.macro.mall.model;
|
|||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
public class PmsProductFullReduction implements Serializable {
|
||||
public class PmsProductCategory implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Long productId;
|
||||
@ApiModelProperty(value = "上机分类的编号:0表示一级分类")
|
||||
private Long parentId;
|
||||
|
||||
private BigDecimal fullPrice;
|
||||
private String name;
|
||||
|
||||
private BigDecimal reducePrice;
|
||||
@ApiModelProperty(value = "分类级别:0->1级;1->2级")
|
||||
private Integer level;
|
||||
|
||||
private Integer productCount;
|
||||
|
||||
private String productUnit;
|
||||
|
||||
@ApiModelProperty(value = "是否显示在导航栏:0->不显示;1->显示")
|
||||
private Integer navStatus;
|
||||
|
||||
@ApiModelProperty(value = "显示状态:0->不显示;1->显示")
|
||||
private Integer showStatus;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty(value = "图标")
|
||||
private String icon;
|
||||
|
||||
private String keywords;
|
||||
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String description;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
@ -23,28 +44,92 @@ public class PmsProductFullReduction implements Serializable {
|
|||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getProductId() {
|
||||
return productId;
|
||||
public Long getParentId() {
|
||||
return parentId;
|
||||
}
|
||||
|
||||
public void setProductId(Long productId) {
|
||||
this.productId = productId;
|
||||
public void setParentId(Long parentId) {
|
||||
this.parentId = parentId;
|
||||
}
|
||||
|
||||
public BigDecimal getFullPrice() {
|
||||
return fullPrice;
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setFullPrice(BigDecimal fullPrice) {
|
||||
this.fullPrice = fullPrice;
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public BigDecimal getReducePrice() {
|
||||
return reducePrice;
|
||||
public Integer getLevel() {
|
||||
return level;
|
||||
}
|
||||
|
||||
public void setReducePrice(BigDecimal reducePrice) {
|
||||
this.reducePrice = reducePrice;
|
||||
public void setLevel(Integer level) {
|
||||
this.level = level;
|
||||
}
|
||||
|
||||
public Integer getProductCount() {
|
||||
return productCount;
|
||||
}
|
||||
|
||||
public void setProductCount(Integer productCount) {
|
||||
this.productCount = productCount;
|
||||
}
|
||||
|
||||
public String getProductUnit() {
|
||||
return productUnit;
|
||||
}
|
||||
|
||||
public void setProductUnit(String productUnit) {
|
||||
this.productUnit = productUnit;
|
||||
}
|
||||
|
||||
public Integer getNavStatus() {
|
||||
return navStatus;
|
||||
}
|
||||
|
||||
public void setNavStatus(Integer navStatus) {
|
||||
this.navStatus = navStatus;
|
||||
}
|
||||
|
||||
public Integer getShowStatus() {
|
||||
return showStatus;
|
||||
}
|
||||
|
||||
public void setShowStatus(Integer showStatus) {
|
||||
this.showStatus = showStatus;
|
||||
}
|
||||
|
||||
public Integer getSort() {
|
||||
return sort;
|
||||
}
|
||||
|
||||
public void setSort(Integer sort) {
|
||||
this.sort = sort;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getKeywords() {
|
||||
return keywords;
|
||||
}
|
||||
|
||||
public void setKeywords(String keywords) {
|
||||
this.keywords = keywords;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -54,9 +139,17 @@ public class PmsProductFullReduction implements Serializable {
|
|||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", productId=").append(productId);
|
||||
sb.append(", fullPrice=").append(fullPrice);
|
||||
sb.append(", reducePrice=").append(reducePrice);
|
||||
sb.append(", parentId=").append(parentId);
|
||||
sb.append(", name=").append(name);
|
||||
sb.append(", level=").append(level);
|
||||
sb.append(", productCount=").append(productCount);
|
||||
sb.append(", productUnit=").append(productUnit);
|
||||
sb.append(", navStatus=").append(navStatus);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", sort=").append(sort);
|
||||
sb.append(", icon=").append(icon);
|
||||
sb.append(", keywords=").append(keywords);
|
||||
sb.append(", description=").append(description);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
|
|
|
@ -3,6 +3,7 @@ package com.muyu.product.domain.dto;
|
|||
import com.muyu.product.domain.model.PmsProductAttribute;
|
||||
import com.muyu.product.domain.model.PmsProductAttributeCategory;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
|
@ -13,11 +14,10 @@ import java.util.List;
|
|||
* @Author: wangxinyuan
|
||||
* @Date: 2024/3/24 10:08
|
||||
*/
|
||||
@Data
|
||||
public class PmsProductAttributeCategoryItem extends PmsProductAttributeCategory {
|
||||
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
@ApiModelProperty(value = "商品属性列表")
|
||||
private List<PmsProductAttribute>productAttributeList;
|
||||
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package com.muyu.product.domain.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class PmsProductAttributeExample {
|
||||
protected String orderByClause;
|
||||
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
package com.muyu.product.domain.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangxinyuan
|
||||
* @Date: 2024/3/24 14:26
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@SuperBuilder
|
||||
public class PmsProductCategory implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "上机分类的编号:0表示一级分类")
|
||||
private Long parentId;
|
||||
|
||||
private String name;
|
||||
|
||||
@ApiModelProperty(value = "分类级别:0->1级;1->2级")
|
||||
private Integer level;
|
||||
|
||||
private Integer productCount;
|
||||
|
||||
private String productUnit;
|
||||
|
||||
@ApiModelProperty(value = "是否显示在导航栏:0->不显示;1->显示")
|
||||
private Integer navStatus;
|
||||
|
||||
@ApiModelProperty(value = "显示状态:0->不显示;1->显示")
|
||||
private Integer showStatus;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
@ApiModelProperty(value = "图标")
|
||||
private Integer icon;
|
||||
|
||||
private String keywords;
|
||||
|
||||
@ApiModelProperty(value = "描述")
|
||||
private String description;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
|
||||
}
|
|
@ -1,14 +1,64 @@
|
|||
package com.muyu.product.domain.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Author: wangxinyuan
|
||||
* @Date: 2024/3/24 11:35
|
||||
*/
|
||||
public class PmsProductFullReduction implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long productId;
|
||||
|
||||
private BigDecimal fullPrice;
|
||||
|
||||
private BigDecimal reducePrice;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Long getProductId() {
|
||||
return productId;
|
||||
}
|
||||
|
||||
public void setProductId(Long productId) {
|
||||
this.productId = productId;
|
||||
}
|
||||
|
||||
public BigDecimal getFullPrice() {
|
||||
return fullPrice;
|
||||
}
|
||||
|
||||
public void setFullPrice(BigDecimal fullPrice) {
|
||||
this.fullPrice = fullPrice;
|
||||
}
|
||||
|
||||
public BigDecimal getReducePrice() {
|
||||
return reducePrice;
|
||||
}
|
||||
|
||||
public void setReducePrice(BigDecimal reducePrice) {
|
||||
this.reducePrice = reducePrice;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.append(getClass().getSimpleName());
|
||||
sb.append(" [");
|
||||
sb.append("Hash = ").append(hashCode());
|
||||
sb.append(", id=").append(id);
|
||||
sb.append(", productId=").append(productId);
|
||||
sb.append(", fullPrice=").append(fullPrice);
|
||||
sb.append(", reducePrice=").append(reducePrice);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
return sb.toString();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
package com.muyu.product.domain.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Author: wangxinyuan
|
||||
* @Date: 2024/3/24 14:06
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@SuperBuilder
|
||||
public class PmsProductLadder implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long productId;
|
||||
|
||||
@ApiModelProperty(value = "满足商品的数量")
|
||||
private Integer count;
|
||||
|
||||
@ApiModelProperty(value = "折扣")
|
||||
private BigDecimal discount;
|
||||
|
||||
@ApiModelProperty(value = "折扣价格")
|
||||
private BigDecimal price;
|
||||
|
||||
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
package com.muyu.product.domain.model;
|
||||
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.experimental.SuperBuilder;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Author: wangxinyuan
|
||||
* @Date: 2024/3/24 14:13
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@SuperBuilder
|
||||
public class PmsSkuStock implements Serializable {
|
||||
|
||||
private Long id;
|
||||
|
||||
private Long productId;
|
||||
|
||||
@ApiModelProperty(value = "sku编码")
|
||||
private String skuCode;
|
||||
|
||||
private BigDecimal price;
|
||||
|
||||
@ApiModelProperty(value = "库存")
|
||||
private Integer stock;
|
||||
|
||||
@ApiModelProperty(value = "预警库存")
|
||||
private Integer lowStock;
|
||||
|
||||
|
||||
@ApiModelProperty(value = "展示图片")
|
||||
private String pic;
|
||||
|
||||
@ApiModelProperty(value = "销量")
|
||||
private Integer sale;
|
||||
|
||||
@ApiModelProperty(value = "单品促销价格")
|
||||
private BigDecimal promotionPrice;
|
||||
|
||||
@ApiModelProperty(value = "锁定库存")
|
||||
private Integer lockStock;
|
||||
|
||||
@ApiModelProperty(value = "商品销售属性,json格式")
|
||||
private String spData;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
|
@ -0,0 +1,890 @@
|
|||
package com.muyu.product.domain.model;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public class PmsSkuStockExample {
|
||||
protected String orderByClause;
|
||||
|
||||
protected boolean distinct;
|
||||
|
||||
protected List<Criteria> oredCriteria;
|
||||
|
||||
public PmsSkuStockExample() {
|
||||
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<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;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
protected GeneratedCriteria() {
|
||||
super();
|
||||
criteria = new ArrayList<>();
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return criteria.size() > 0;
|
||||
}
|
||||
|
||||
public List<Criterion> getAllCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
public List<Criterion> getCriteria() {
|
||||
return criteria;
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition) {
|
||||
if (condition == null) {
|
||||
throw new RuntimeException("Value for condition cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value, String property) {
|
||||
if (value == null) {
|
||||
throw new RuntimeException("Value for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value));
|
||||
}
|
||||
|
||||
protected void addCriterion(String condition, Object value1, Object value2, String property) {
|
||||
if (value1 == null || value2 == null) {
|
||||
throw new RuntimeException("Between values for " + property + " cannot be null");
|
||||
}
|
||||
criteria.add(new Criterion(condition, value1, value2));
|
||||
}
|
||||
|
||||
public Criteria andIdIsNull() {
|
||||
addCriterion("id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIsNotNull() {
|
||||
addCriterion("id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdEqualTo(Long value) {
|
||||
addCriterion("id =", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotEqualTo(Long value) {
|
||||
addCriterion("id <>", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThan(Long value) {
|
||||
addCriterion("id >", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("id >=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThan(Long value) {
|
||||
addCriterion("id <", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("id <=", value, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdIn(List<Long> values) {
|
||||
addCriterion("id in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotIn(List<Long> values) {
|
||||
addCriterion("id not in", values, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdBetween(Long value1, Long value2) {
|
||||
addCriterion("id between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("id not between", value1, value2, "id");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIsNull() {
|
||||
addCriterion("product_id is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIsNotNull() {
|
||||
addCriterion("product_id is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdEqualTo(Long value) {
|
||||
addCriterion("product_id =", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotEqualTo(Long value) {
|
||||
addCriterion("product_id <>", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdGreaterThan(Long value) {
|
||||
addCriterion("product_id >", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("product_id >=", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdLessThan(Long value) {
|
||||
addCriterion("product_id <", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("product_id <=", value, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdIn(List<Long> values) {
|
||||
addCriterion("product_id in", values, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotIn(List<Long> values) {
|
||||
addCriterion("product_id not in", values, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdBetween(Long value1, Long value2) {
|
||||
addCriterion("product_id between", value1, value2, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andProductIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("product_id not between", value1, value2, "productId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeIsNull() {
|
||||
addCriterion("sku_code is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeIsNotNull() {
|
||||
addCriterion("sku_code is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeEqualTo(String value) {
|
||||
addCriterion("sku_code =", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeNotEqualTo(String value) {
|
||||
addCriterion("sku_code <>", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeGreaterThan(String value) {
|
||||
addCriterion("sku_code >", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("sku_code >=", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeLessThan(String value) {
|
||||
addCriterion("sku_code <", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeLessThanOrEqualTo(String value) {
|
||||
addCriterion("sku_code <=", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeLike(String value) {
|
||||
addCriterion("sku_code like", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeNotLike(String value) {
|
||||
addCriterion("sku_code not like", value, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeIn(List<String> values) {
|
||||
addCriterion("sku_code in", values, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeNotIn(List<String> values) {
|
||||
addCriterion("sku_code not in", values, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeBetween(String value1, String value2) {
|
||||
addCriterion("sku_code between", value1, value2, "skuCode");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSkuCodeNotBetween(String value1, String value2) {
|
||||
addCriterion("sku_code not between", value1, value2, "skuCode");
|
||||
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 andStockIsNull() {
|
||||
addCriterion("stock is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockIsNotNull() {
|
||||
addCriterion("stock is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockEqualTo(Integer value) {
|
||||
addCriterion("stock =", value, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockNotEqualTo(Integer value) {
|
||||
addCriterion("stock <>", value, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockGreaterThan(Integer value) {
|
||||
addCriterion("stock >", value, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("stock >=", value, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockLessThan(Integer value) {
|
||||
addCriterion("stock <", value, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("stock <=", value, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockIn(List<Integer> values) {
|
||||
addCriterion("stock in", values, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockNotIn(List<Integer> values) {
|
||||
addCriterion("stock not in", values, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockBetween(Integer value1, Integer value2) {
|
||||
addCriterion("stock between", value1, value2, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andStockNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("stock not between", value1, value2, "stock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockIsNull() {
|
||||
addCriterion("low_stock is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockIsNotNull() {
|
||||
addCriterion("low_stock is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockEqualTo(Integer value) {
|
||||
addCriterion("low_stock =", value, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockNotEqualTo(Integer value) {
|
||||
addCriterion("low_stock <>", value, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockGreaterThan(Integer value) {
|
||||
addCriterion("low_stock >", value, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("low_stock >=", value, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockLessThan(Integer value) {
|
||||
addCriterion("low_stock <", value, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("low_stock <=", value, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockIn(List<Integer> values) {
|
||||
addCriterion("low_stock in", values, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockNotIn(List<Integer> values) {
|
||||
addCriterion("low_stock not in", values, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockBetween(Integer value1, Integer value2) {
|
||||
addCriterion("low_stock between", value1, value2, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLowStockNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("low_stock not between", value1, value2, "lowStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicIsNull() {
|
||||
addCriterion("pic is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicIsNotNull() {
|
||||
addCriterion("pic is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicEqualTo(String value) {
|
||||
addCriterion("pic =", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicNotEqualTo(String value) {
|
||||
addCriterion("pic <>", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicGreaterThan(String value) {
|
||||
addCriterion("pic >", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("pic >=", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicLessThan(String value) {
|
||||
addCriterion("pic <", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicLessThanOrEqualTo(String value) {
|
||||
addCriterion("pic <=", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicLike(String value) {
|
||||
addCriterion("pic like", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicNotLike(String value) {
|
||||
addCriterion("pic not like", value, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicIn(List<String> values) {
|
||||
addCriterion("pic in", values, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicNotIn(List<String> values) {
|
||||
addCriterion("pic not in", values, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicBetween(String value1, String value2) {
|
||||
addCriterion("pic between", value1, value2, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPicNotBetween(String value1, String value2) {
|
||||
addCriterion("pic not between", value1, value2, "pic");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleIsNull() {
|
||||
addCriterion("sale is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleIsNotNull() {
|
||||
addCriterion("sale is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleEqualTo(Integer value) {
|
||||
addCriterion("sale =", value, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleNotEqualTo(Integer value) {
|
||||
addCriterion("sale <>", value, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleGreaterThan(Integer value) {
|
||||
addCriterion("sale >", value, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("sale >=", value, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleLessThan(Integer value) {
|
||||
addCriterion("sale <", value, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("sale <=", value, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleIn(List<Integer> values) {
|
||||
addCriterion("sale in", values, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleNotIn(List<Integer> values) {
|
||||
addCriterion("sale not in", values, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sale between", value1, value2, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSaleNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("sale not between", value1, value2, "sale");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceIsNull() {
|
||||
addCriterion("promotion_price is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceIsNotNull() {
|
||||
addCriterion("promotion_price is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceEqualTo(BigDecimal value) {
|
||||
addCriterion("promotion_price =", value, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceNotEqualTo(BigDecimal value) {
|
||||
addCriterion("promotion_price <>", value, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceGreaterThan(BigDecimal value) {
|
||||
addCriterion("promotion_price >", value, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceGreaterThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("promotion_price >=", value, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceLessThan(BigDecimal value) {
|
||||
addCriterion("promotion_price <", value, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceLessThanOrEqualTo(BigDecimal value) {
|
||||
addCriterion("promotion_price <=", value, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceIn(List<BigDecimal> values) {
|
||||
addCriterion("promotion_price in", values, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceNotIn(List<BigDecimal> values) {
|
||||
addCriterion("promotion_price not in", values, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("promotion_price between", value1, value2, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) {
|
||||
addCriterion("promotion_price not between", value1, value2, "promotionPrice");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockIsNull() {
|
||||
addCriterion("lock_stock is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockIsNotNull() {
|
||||
addCriterion("lock_stock is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockEqualTo(Integer value) {
|
||||
addCriterion("lock_stock =", value, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockNotEqualTo(Integer value) {
|
||||
addCriterion("lock_stock <>", value, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockGreaterThan(Integer value) {
|
||||
addCriterion("lock_stock >", value, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("lock_stock >=", value, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockLessThan(Integer value) {
|
||||
addCriterion("lock_stock <", value, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("lock_stock <=", value, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockIn(List<Integer> values) {
|
||||
addCriterion("lock_stock in", values, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockNotIn(List<Integer> values) {
|
||||
addCriterion("lock_stock not in", values, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockBetween(Integer value1, Integer value2) {
|
||||
addCriterion("lock_stock between", value1, value2, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andLockStockNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("lock_stock not between", value1, value2, "lockStock");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataIsNull() {
|
||||
addCriterion("sp_data is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataIsNotNull() {
|
||||
addCriterion("sp_data is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataEqualTo(String value) {
|
||||
addCriterion("sp_data =", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataNotEqualTo(String value) {
|
||||
addCriterion("sp_data <>", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataGreaterThan(String value) {
|
||||
addCriterion("sp_data >", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("sp_data >=", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataLessThan(String value) {
|
||||
addCriterion("sp_data <", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataLessThanOrEqualTo(String value) {
|
||||
addCriterion("sp_data <=", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataLike(String value) {
|
||||
addCriterion("sp_data like", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataNotLike(String value) {
|
||||
addCriterion("sp_data not like", value, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataIn(List<String> values) {
|
||||
addCriterion("sp_data in", values, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataNotIn(List<String> values) {
|
||||
addCriterion("sp_data not in", values, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataBetween(String value1, String value2) {
|
||||
addCriterion("sp_data between", value1, value2, "spData");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andSpDataNotBetween(String value1, String value2) {
|
||||
addCriterion("sp_data not between", value1, value2, "spData");
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue