添加优惠券管理接口
This commit is contained in:
@@ -21,7 +21,7 @@ public class SmsCoupon implements Serializable {
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String platform;
|
||||
private Integer platform;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
@@ -137,11 +137,11 @@ public class SmsCoupon implements Serializable {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getPlatform() {
|
||||
public Integer getPlatform() {
|
||||
return platform;
|
||||
}
|
||||
|
||||
public void setPlatform(String platform) {
|
||||
public void setPlatform(Integer platform) {
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
|
||||
@@ -306,62 +306,52 @@ public class SmsCouponExample {
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformEqualTo(String value) {
|
||||
public Criteria andPlatformEqualTo(Integer value) {
|
||||
addCriterion("platform =", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformNotEqualTo(String value) {
|
||||
public Criteria andPlatformNotEqualTo(Integer value) {
|
||||
addCriterion("platform <>", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformGreaterThan(String value) {
|
||||
public Criteria andPlatformGreaterThan(Integer value) {
|
||||
addCriterion("platform >", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformGreaterThanOrEqualTo(String value) {
|
||||
public Criteria andPlatformGreaterThanOrEqualTo(Integer value) {
|
||||
addCriterion("platform >=", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformLessThan(String value) {
|
||||
public Criteria andPlatformLessThan(Integer value) {
|
||||
addCriterion("platform <", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformLessThanOrEqualTo(String value) {
|
||||
public Criteria andPlatformLessThanOrEqualTo(Integer value) {
|
||||
addCriterion("platform <=", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformLike(String value) {
|
||||
addCriterion("platform like", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformNotLike(String value) {
|
||||
addCriterion("platform not like", value, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformIn(List<String> values) {
|
||||
public Criteria andPlatformIn(List<Integer> values) {
|
||||
addCriterion("platform in", values, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformNotIn(List<String> values) {
|
||||
public Criteria andPlatformNotIn(List<Integer> values) {
|
||||
addCriterion("platform not in", values, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformBetween(String value1, String value2) {
|
||||
public Criteria andPlatformBetween(Integer value1, Integer value2) {
|
||||
addCriterion("platform between", value1, value2, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andPlatformNotBetween(String value1, String value2) {
|
||||
public Criteria andPlatformNotBetween(Integer value1, Integer value2) {
|
||||
addCriterion("platform not between", value1, value2, "platform");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ import java.io.Serializable;
|
||||
public class SmsCouponProductRelation implements Serializable {
|
||||
private Long id;
|
||||
|
||||
private Integer couponId;
|
||||
private Long couponId;
|
||||
|
||||
private Long productId;
|
||||
|
||||
@@ -19,11 +19,11 @@ public class SmsCouponProductRelation implements Serializable {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Integer getCouponId() {
|
||||
public Long getCouponId() {
|
||||
return couponId;
|
||||
}
|
||||
|
||||
public void setCouponId(Integer couponId) {
|
||||
public void setCouponId(Long couponId) {
|
||||
this.couponId = couponId;
|
||||
}
|
||||
|
||||
|
||||
@@ -174,52 +174,52 @@ public class SmsCouponProductRelationExample {
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdEqualTo(Integer value) {
|
||||
public Criteria andCouponIdEqualTo(Long value) {
|
||||
addCriterion("coupon_id =", value, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdNotEqualTo(Integer value) {
|
||||
public Criteria andCouponIdNotEqualTo(Long value) {
|
||||
addCriterion("coupon_id <>", value, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdGreaterThan(Integer value) {
|
||||
public Criteria andCouponIdGreaterThan(Long value) {
|
||||
addCriterion("coupon_id >", value, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdGreaterThanOrEqualTo(Integer value) {
|
||||
public Criteria andCouponIdGreaterThanOrEqualTo(Long value) {
|
||||
addCriterion("coupon_id >=", value, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdLessThan(Integer value) {
|
||||
public Criteria andCouponIdLessThan(Long value) {
|
||||
addCriterion("coupon_id <", value, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdLessThanOrEqualTo(Integer value) {
|
||||
public Criteria andCouponIdLessThanOrEqualTo(Long value) {
|
||||
addCriterion("coupon_id <=", value, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdIn(List<Integer> values) {
|
||||
public Criteria andCouponIdIn(List<Long> values) {
|
||||
addCriterion("coupon_id in", values, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdNotIn(List<Integer> values) {
|
||||
public Criteria andCouponIdNotIn(List<Long> values) {
|
||||
addCriterion("coupon_id not in", values, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdBetween(Integer value1, Integer value2) {
|
||||
public Criteria andCouponIdBetween(Long value1, Long value2) {
|
||||
addCriterion("coupon_id between", value1, value2, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCouponIdNotBetween(Integer value1, Integer value2) {
|
||||
public Criteria andCouponIdNotBetween(Long value1, Long value2) {
|
||||
addCriterion("coupon_id not between", value1, value2, "couponId");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user