|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.hai.entity; |
|
|
|
package com.hai.entity; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.Date; |
|
|
|
import java.util.List; |
|
|
|
import java.util.List; |
|
|
@ -185,6 +186,66 @@ public class HighDiscountUserRelExample { |
|
|
|
return (Criteria) this; |
|
|
|
return (Criteria) this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_company_id is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_company_id is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdEqualTo(Long value) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id =", value, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdNotEqualTo(Long value) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id <>", value, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdGreaterThan(Long value) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id >", value, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdGreaterThanOrEqualTo(Long value) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id >=", value, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdLessThan(Long value) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id <", value, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdLessThanOrEqualTo(Long value) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id <=", value, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdIn(List<Long> values) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id in", values, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdNotIn(List<Long> values) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id not in", values, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdBetween(Long value1, Long value2) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id between", value1, value2, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountCompanyIdNotBetween(Long value1, Long value2) { |
|
|
|
|
|
|
|
addCriterion("discount_company_id not between", value1, value2, "discountCompanyId"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountIdIsNull() { |
|
|
|
public Criteria andDiscountIdIsNull() { |
|
|
|
addCriterion("discount_id is null"); |
|
|
|
addCriterion("discount_id is null"); |
|
|
|
return (Criteria) this; |
|
|
|
return (Criteria) this; |
|
|
@ -245,6 +306,446 @@ public class HighDiscountUserRelExample { |
|
|
|
return (Criteria) this; |
|
|
|
return (Criteria) this; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_name is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_name is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name =", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameNotEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name <>", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameGreaterThan(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name >", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameGreaterThanOrEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name >=", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameLessThan(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name <", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameLessThanOrEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name <=", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameLike(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name like", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameNotLike(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_name not like", value, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameIn(List<String> values) { |
|
|
|
|
|
|
|
addCriterion("discount_name in", values, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameNotIn(List<String> values) { |
|
|
|
|
|
|
|
addCriterion("discount_name not in", values, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameBetween(String value1, String value2) { |
|
|
|
|
|
|
|
addCriterion("discount_name between", value1, value2, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountNameNotBetween(String value1, String value2) { |
|
|
|
|
|
|
|
addCriterion("discount_name not between", value1, value2, "discountName"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_img is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_img is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img =", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgNotEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img <>", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgGreaterThan(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img >", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgGreaterThanOrEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img >=", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgLessThan(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img <", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgLessThanOrEqualTo(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img <=", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgLike(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img like", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgNotLike(String value) { |
|
|
|
|
|
|
|
addCriterion("discount_img not like", value, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgIn(List<String> values) { |
|
|
|
|
|
|
|
addCriterion("discount_img in", values, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgNotIn(List<String> values) { |
|
|
|
|
|
|
|
addCriterion("discount_img not in", values, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgBetween(String value1, String value2) { |
|
|
|
|
|
|
|
addCriterion("discount_img between", value1, value2, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountImgNotBetween(String value1, String value2) { |
|
|
|
|
|
|
|
addCriterion("discount_img not between", value1, value2, "discountImg"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_using_range is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_using_range is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range =", value, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeNotEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range <>", value, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeGreaterThan(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range >", value, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeGreaterThanOrEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range >=", value, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeLessThan(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range <", value, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeLessThanOrEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range <=", value, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeIn(List<Integer> values) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range in", values, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeNotIn(List<Integer> values) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range not in", values, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeBetween(Integer value1, Integer value2) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range between", value1, value2, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUsingRangeNotBetween(Integer value1, Integer value2) { |
|
|
|
|
|
|
|
addCriterion("discount_using_range not between", value1, value2, "discountUsingRange"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope =", value, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeNotEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope <>", value, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeGreaterThan(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope >", value, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeGreaterThanOrEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope >=", value, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeLessThan(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope <", value, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeLessThanOrEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope <=", value, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeIn(List<Integer> values) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope in", values, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeNotIn(List<Integer> values) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope not in", values, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeBetween(Integer value1, Integer value2) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope between", value1, value2, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountUseScopeNotBetween(Integer value1, Integer value2) { |
|
|
|
|
|
|
|
addCriterion("discount_use_scope not between", value1, value2, "discountUseScope"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_type is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_type is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_type =", value, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeNotEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_type <>", value, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeGreaterThan(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_type >", value, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeGreaterThanOrEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_type >=", value, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeLessThan(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_type <", value, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeLessThanOrEqualTo(Integer value) { |
|
|
|
|
|
|
|
addCriterion("discount_type <=", value, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeIn(List<Integer> values) { |
|
|
|
|
|
|
|
addCriterion("discount_type in", values, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeNotIn(List<Integer> values) { |
|
|
|
|
|
|
|
addCriterion("discount_type not in", values, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeBetween(Integer value1, Integer value2) { |
|
|
|
|
|
|
|
addCriterion("discount_type between", value1, value2, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountTypeNotBetween(Integer value1, Integer value2) { |
|
|
|
|
|
|
|
addCriterion("discount_type not between", value1, value2, "discountType"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_condition is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_condition is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_condition =", value, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionNotEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_condition <>", value, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionGreaterThan(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_condition >", value, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionGreaterThanOrEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_condition >=", value, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionLessThan(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_condition <", value, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionLessThanOrEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_condition <=", value, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionIn(List<BigDecimal> values) { |
|
|
|
|
|
|
|
addCriterion("discount_condition in", values, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionNotIn(List<BigDecimal> values) { |
|
|
|
|
|
|
|
addCriterion("discount_condition not in", values, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionBetween(BigDecimal value1, BigDecimal value2) { |
|
|
|
|
|
|
|
addCriterion("discount_condition between", value1, value2, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountConditionNotBetween(BigDecimal value1, BigDecimal value2) { |
|
|
|
|
|
|
|
addCriterion("discount_condition not between", value1, value2, "discountCondition"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceIsNull() { |
|
|
|
|
|
|
|
addCriterion("discount_price is null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceIsNotNull() { |
|
|
|
|
|
|
|
addCriterion("discount_price is not null"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_price =", value, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceNotEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_price <>", value, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceGreaterThan(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_price >", value, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceGreaterThanOrEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_price >=", value, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceLessThan(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_price <", value, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceLessThanOrEqualTo(BigDecimal value) { |
|
|
|
|
|
|
|
addCriterion("discount_price <=", value, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceIn(List<BigDecimal> values) { |
|
|
|
|
|
|
|
addCriterion("discount_price in", values, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceNotIn(List<BigDecimal> values) { |
|
|
|
|
|
|
|
addCriterion("discount_price not in", values, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceBetween(BigDecimal value1, BigDecimal value2) { |
|
|
|
|
|
|
|
addCriterion("discount_price between", value1, value2, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Criteria andDiscountPriceNotBetween(BigDecimal value1, BigDecimal value2) { |
|
|
|
|
|
|
|
addCriterion("discount_price not between", value1, value2, "discountPrice"); |
|
|
|
|
|
|
|
return (Criteria) this; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public Criteria andAgentIdIsNull() { |
|
|
|
public Criteria andAgentIdIsNull() { |
|
|
|
addCriterion("agent_id is null"); |
|
|
|
addCriterion("agent_id is null"); |
|
|
|
return (Criteria) this; |
|
|
|
return (Criteria) this; |
|
|
|