添加获取购物车中商品可用优惠券接口

This commit is contained in:
zhh
2018-08-29 17:08:16 +08:00
parent 201b405a08
commit 61a67c9aa9
16 changed files with 604 additions and 79 deletions

View File

@@ -104,6 +104,13 @@ public class OmsCartItem implements Serializable {
*/
private Integer deleteStatus;
/**
* 商品分类
*
* @mbggenerated
*/
private Long productCategoryId;
private static final long serialVersionUID = 1L;
public Long getId() {
@@ -242,6 +249,14 @@ public class OmsCartItem implements Serializable {
this.deleteStatus = deleteStatus;
}
public Long getProductCategoryId() {
return productCategoryId;
}
public void setProductCategoryId(Long productCategoryId) {
this.productCategoryId = productCategoryId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
@@ -265,6 +280,7 @@ public class OmsCartItem implements Serializable {
sb.append(", createDate=").append(createDate);
sb.append(", modifyDate=").append(modifyDate);
sb.append(", deleteStatus=").append(deleteStatus);
sb.append(", productCategoryId=").append(productCategoryId);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();

View File

@@ -1205,6 +1205,66 @@ public class OmsCartItemExample {
addCriterion("delete_status not between", value1, value2, "deleteStatus");
return (Criteria) this;
}
public Criteria andProductCategoryIdIsNull() {
addCriterion("product_category_id is null");
return (Criteria) this;
}
public Criteria andProductCategoryIdIsNotNull() {
addCriterion("product_category_id is not null");
return (Criteria) this;
}
public Criteria andProductCategoryIdEqualTo(Long value) {
addCriterion("product_category_id =", value, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdNotEqualTo(Long value) {
addCriterion("product_category_id <>", value, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdGreaterThan(Long value) {
addCriterion("product_category_id >", value, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) {
addCriterion("product_category_id >=", value, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdLessThan(Long value) {
addCriterion("product_category_id <", value, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) {
addCriterion("product_category_id <=", value, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdIn(List<Long> values) {
addCriterion("product_category_id in", values, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdNotIn(List<Long> values) {
addCriterion("product_category_id not in", values, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdBetween(Long value1, Long value2) {
addCriterion("product_category_id between", value1, value2, "productCategoryId");
return (Criteria) this;
}
public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) {
addCriterion("product_category_id not between", value1, value2, "productCategoryId");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {