|
|
|
@ -1,6 +1,7 @@ |
|
|
|
|
package com.hai.entity; |
|
|
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
|
|
public class HighUserCouponExample { |
|
|
|
@ -184,6 +185,126 @@ public class HighUserCouponExample { |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdIsNull() { |
|
|
|
|
addCriterion("merchant_id is null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdIsNotNull() { |
|
|
|
|
addCriterion("merchant_id is not null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdEqualTo(Long value) { |
|
|
|
|
addCriterion("merchant_id =", value, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdNotEqualTo(Long value) { |
|
|
|
|
addCriterion("merchant_id <>", value, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdGreaterThan(Long value) { |
|
|
|
|
addCriterion("merchant_id >", value, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdGreaterThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("merchant_id >=", value, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdLessThan(Long value) { |
|
|
|
|
addCriterion("merchant_id <", value, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdLessThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("merchant_id <=", value, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdIn(List<Long> values) { |
|
|
|
|
addCriterion("merchant_id in", values, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdNotIn(List<Long> values) { |
|
|
|
|
addCriterion("merchant_id not in", values, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("merchant_id between", value1, value2, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andMerchantIdNotBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("merchant_id not between", value1, value2, "merchantId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdIsNull() { |
|
|
|
|
addCriterion("coupon_id is null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdIsNotNull() { |
|
|
|
|
addCriterion("coupon_id is not null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_id =", value, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdNotEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_id <>", value, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdGreaterThan(Long value) { |
|
|
|
|
addCriterion("coupon_id >", value, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_id >=", value, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdLessThan(Long value) { |
|
|
|
|
addCriterion("coupon_id <", value, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdLessThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_id <=", value, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdIn(List<Long> values) { |
|
|
|
|
addCriterion("coupon_id in", values, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdNotIn(List<Long> values) { |
|
|
|
|
addCriterion("coupon_id not in", values, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("coupon_id between", value1, value2, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponIdNotBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("coupon_id not between", value1, value2, "couponId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdIsNull() { |
|
|
|
|
addCriterion("user_id is null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
@ -194,62 +315,52 @@ public class HighUserCouponExample { |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdEqualTo(String value) { |
|
|
|
|
public Criteria andUserIdEqualTo(Long value) { |
|
|
|
|
addCriterion("user_id =", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdNotEqualTo(String value) { |
|
|
|
|
public Criteria andUserIdNotEqualTo(Long value) { |
|
|
|
|
addCriterion("user_id <>", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdGreaterThan(String value) { |
|
|
|
|
public Criteria andUserIdGreaterThan(Long value) { |
|
|
|
|
addCriterion("user_id >", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdGreaterThanOrEqualTo(String value) { |
|
|
|
|
public Criteria andUserIdGreaterThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("user_id >=", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdLessThan(String value) { |
|
|
|
|
public Criteria andUserIdLessThan(Long value) { |
|
|
|
|
addCriterion("user_id <", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdLessThanOrEqualTo(String value) { |
|
|
|
|
public Criteria andUserIdLessThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("user_id <=", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdLike(String value) { |
|
|
|
|
addCriterion("user_id like", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdNotLike(String value) { |
|
|
|
|
addCriterion("user_id not like", value, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdIn(List<String> values) { |
|
|
|
|
public Criteria andUserIdIn(List<Long> values) { |
|
|
|
|
addCriterion("user_id in", values, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdNotIn(List<String> values) { |
|
|
|
|
public Criteria andUserIdNotIn(List<Long> values) { |
|
|
|
|
addCriterion("user_id not in", values, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdBetween(String value1, String value2) { |
|
|
|
|
public Criteria andUserIdBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("user_id between", value1, value2, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUserIdNotBetween(String value1, String value2) { |
|
|
|
|
public Criteria andUserIdNotBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("user_id not between", value1, value2, "userId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
@ -264,63 +375,173 @@ public class HighUserCouponExample { |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdEqualTo(String value) { |
|
|
|
|
public Criteria andCouponCodeIdEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_code_id =", value, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdNotEqualTo(String value) { |
|
|
|
|
public Criteria andCouponCodeIdNotEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_code_id <>", value, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdGreaterThan(String value) { |
|
|
|
|
public Criteria andCouponCodeIdGreaterThan(Long value) { |
|
|
|
|
addCriterion("coupon_code_id >", value, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdGreaterThanOrEqualTo(String value) { |
|
|
|
|
public Criteria andCouponCodeIdGreaterThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_code_id >=", value, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdLessThan(String value) { |
|
|
|
|
public Criteria andCouponCodeIdLessThan(Long value) { |
|
|
|
|
addCriterion("coupon_code_id <", value, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdLessThanOrEqualTo(String value) { |
|
|
|
|
public Criteria andCouponCodeIdLessThanOrEqualTo(Long value) { |
|
|
|
|
addCriterion("coupon_code_id <=", value, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdLike(String value) { |
|
|
|
|
addCriterion("coupon_code_id like", value, "couponCodeId"); |
|
|
|
|
public Criteria andCouponCodeIdIn(List<Long> values) { |
|
|
|
|
addCriterion("coupon_code_id in", values, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdNotLike(String value) { |
|
|
|
|
addCriterion("coupon_code_id not like", value, "couponCodeId"); |
|
|
|
|
public Criteria andCouponCodeIdNotIn(List<Long> values) { |
|
|
|
|
addCriterion("coupon_code_id not in", values, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdIn(List<String> values) { |
|
|
|
|
addCriterion("coupon_code_id in", values, "couponCodeId"); |
|
|
|
|
public Criteria andCouponCodeIdBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("coupon_code_id between", value1, value2, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdNotIn(List<String> values) { |
|
|
|
|
addCriterion("coupon_code_id not in", values, "couponCodeId"); |
|
|
|
|
public Criteria andCouponCodeIdNotBetween(Long value1, Long value2) { |
|
|
|
|
addCriterion("coupon_code_id not between", value1, value2, "couponCodeId"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdBetween(String value1, String value2) { |
|
|
|
|
addCriterion("coupon_code_id between", value1, value2, "couponCodeId"); |
|
|
|
|
public Criteria andUseEndTimeIsNull() { |
|
|
|
|
addCriterion("use_end_time is null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andCouponCodeIdNotBetween(String value1, String value2) { |
|
|
|
|
addCriterion("coupon_code_id not between", value1, value2, "couponCodeId"); |
|
|
|
|
public Criteria andUseEndTimeIsNotNull() { |
|
|
|
|
addCriterion("use_end_time is not null"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeEqualTo(Date value) { |
|
|
|
|
addCriterion("use_end_time =", value, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeNotEqualTo(Date value) { |
|
|
|
|
addCriterion("use_end_time <>", value, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeGreaterThan(Date value) { |
|
|
|
|
addCriterion("use_end_time >", value, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeGreaterThanOrEqualTo(Date value) { |
|
|
|
|
addCriterion("use_end_time >=", value, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeLessThan(Date value) { |
|
|
|
|
addCriterion("use_end_time <", value, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeLessThanOrEqualTo(Date value) { |
|
|
|
|
addCriterion("use_end_time <=", value, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeIn(List<Date> values) { |
|
|
|
|
addCriterion("use_end_time in", values, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeNotIn(List<Date> values) { |
|
|
|
|
addCriterion("use_end_time not in", values, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeBetween(Date value1, Date value2) { |
|
|
|
|
addCriterion("use_end_time between", value1, value2, "useEndTime"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andUseEndTimeNotBetween(Date value1, Date value2) { |
|
|
|
|
addCriterion("use_end_time not between", value1, value2, "useEndTime"); |
|
|
|
|
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<Integer> values) { |
|
|
|
|
addCriterion("`status` in", values, "status"); |
|
|
|
|
return (Criteria) this; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Criteria andStatusNotIn(List<Integer> 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; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|