|
@@ -0,0 +1,951 @@
|
|
|
+package cn.kdan.pdf.backend.core.model;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class PricingDiscountsExample {
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ public PricingDiscountsExample() {
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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<Criterion>();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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(Integer value) {
|
|
|
+ addCriterion("id =", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotEqualTo(Integer value) {
|
|
|
+ addCriterion("id <>", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThan(Integer value) {
|
|
|
+ addCriterion("id >", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("id >=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThan(Integer value) {
|
|
|
+ addCriterion("id <", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("id <=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdIn(List<Integer> values) {
|
|
|
+ addCriterion("id in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotIn(List<Integer> values) {
|
|
|
+ addCriterion("id not in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("id between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("id not between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleIsNull() {
|
|
|
+ addCriterion("title is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleIsNotNull() {
|
|
|
+ addCriterion("title is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleEqualTo(String value) {
|
|
|
+ addCriterion("title =", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotEqualTo(String value) {
|
|
|
+ addCriterion("title <>", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleGreaterThan(String value) {
|
|
|
+ addCriterion("title >", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("title >=", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLessThan(String value) {
|
|
|
+ addCriterion("title <", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("title <=", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLike(String value) {
|
|
|
+ addCriterion("title like", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotLike(String value) {
|
|
|
+ addCriterion("title not like", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleIn(List<String> values) {
|
|
|
+ addCriterion("title in", values, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotIn(List<String> values) {
|
|
|
+ addCriterion("title not in", values, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleBetween(String value1, String value2) {
|
|
|
+ addCriterion("title between", value1, value2, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("title not between", value1, value2, "title");
|
|
|
+ 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(Float value) {
|
|
|
+ addCriterion("price =", value, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceNotEqualTo(Float value) {
|
|
|
+ addCriterion("price <>", value, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceGreaterThan(Float value) {
|
|
|
+ addCriterion("price >", value, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceGreaterThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("price >=", value, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceLessThan(Float value) {
|
|
|
+ addCriterion("price <", value, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceLessThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("price <=", value, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceIn(List<Float> values) {
|
|
|
+ addCriterion("price in", values, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceNotIn(List<Float> values) {
|
|
|
+ addCriterion("price not in", values, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("price between", value1, value2, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPriceNotBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("price not between", value1, value2, "price");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsIsNull() {
|
|
|
+ addCriterion("discounts is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsIsNotNull() {
|
|
|
+ addCriterion("discounts is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsEqualTo(Float value) {
|
|
|
+ addCriterion("discounts =", value, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsNotEqualTo(Float value) {
|
|
|
+ addCriterion("discounts <>", value, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsGreaterThan(Float value) {
|
|
|
+ addCriterion("discounts >", value, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsGreaterThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("discounts >=", value, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsLessThan(Float value) {
|
|
|
+ addCriterion("discounts <", value, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsLessThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("discounts <=", value, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsIn(List<Float> values) {
|
|
|
+ addCriterion("discounts in", values, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsNotIn(List<Float> values) {
|
|
|
+ addCriterion("discounts not in", values, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("discounts between", value1, value2, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDiscountsNotBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("discounts not between", value1, value2, "discounts");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsIsNull() {
|
|
|
+ addCriterion("extra_points is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsIsNotNull() {
|
|
|
+ addCriterion("extra_points is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsEqualTo(Integer value) {
|
|
|
+ addCriterion("extra_points =", value, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsNotEqualTo(Integer value) {
|
|
|
+ addCriterion("extra_points <>", value, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsGreaterThan(Integer value) {
|
|
|
+ addCriterion("extra_points >", value, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("extra_points >=", value, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsLessThan(Integer value) {
|
|
|
+ addCriterion("extra_points <", value, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("extra_points <=", value, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsIn(List<Integer> values) {
|
|
|
+ addCriterion("extra_points in", values, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsNotIn(List<Integer> values) {
|
|
|
+ addCriterion("extra_points not in", values, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("extra_points between", value1, value2, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPointsNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("extra_points not between", value1, value2, "extraPoints");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodIsNull() {
|
|
|
+ addCriterion("extra_period is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodIsNotNull() {
|
|
|
+ addCriterion("extra_period is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodEqualTo(String value) {
|
|
|
+ addCriterion("extra_period =", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodNotEqualTo(String value) {
|
|
|
+ addCriterion("extra_period <>", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodGreaterThan(String value) {
|
|
|
+ addCriterion("extra_period >", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("extra_period >=", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodLessThan(String value) {
|
|
|
+ addCriterion("extra_period <", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("extra_period <=", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodLike(String value) {
|
|
|
+ addCriterion("extra_period like", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodNotLike(String value) {
|
|
|
+ addCriterion("extra_period not like", value, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodIn(List<String> values) {
|
|
|
+ addCriterion("extra_period in", values, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodNotIn(List<String> values) {
|
|
|
+ addCriterion("extra_period not in", values, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodBetween(String value1, String value2) {
|
|
|
+ addCriterion("extra_period between", value1, value2, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("extra_period not between", value1, value2, "extraPeriod");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateIsNull() {
|
|
|
+ addCriterion("start_date is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateIsNotNull() {
|
|
|
+ addCriterion("start_date is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateEqualTo(Date value) {
|
|
|
+ addCriterion("start_date =", value, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateNotEqualTo(Date value) {
|
|
|
+ addCriterion("start_date <>", value, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateGreaterThan(Date value) {
|
|
|
+ addCriterion("start_date >", value, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("start_date >=", value, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateLessThan(Date value) {
|
|
|
+ addCriterion("start_date <", value, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("start_date <=", value, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateIn(List<Date> values) {
|
|
|
+ addCriterion("start_date in", values, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateNotIn(List<Date> values) {
|
|
|
+ addCriterion("start_date not in", values, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("start_date between", value1, value2, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStartDateNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("start_date not between", value1, value2, "startDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateIsNull() {
|
|
|
+ addCriterion("end_date is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateIsNotNull() {
|
|
|
+ addCriterion("end_date is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateEqualTo(Date value) {
|
|
|
+ addCriterion("end_date =", value, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateNotEqualTo(Date value) {
|
|
|
+ addCriterion("end_date <>", value, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateGreaterThan(Date value) {
|
|
|
+ addCriterion("end_date >", value, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("end_date >=", value, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateLessThan(Date value) {
|
|
|
+ addCriterion("end_date <", value, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("end_date <=", value, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateIn(List<Date> values) {
|
|
|
+ addCriterion("end_date in", values, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateNotIn(List<Date> values) {
|
|
|
+ addCriterion("end_date not in", values, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("end_date between", value1, value2, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEndDateNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("end_date not between", value1, value2, "endDate");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtIsNull() {
|
|
|
+ addCriterion("created_at is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtIsNotNull() {
|
|
|
+ addCriterion("created_at is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtEqualTo(Date value) {
|
|
|
+ addCriterion("created_at =", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtNotEqualTo(Date value) {
|
|
|
+ addCriterion("created_at <>", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtGreaterThan(Date value) {
|
|
|
+ addCriterion("created_at >", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("created_at >=", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtLessThan(Date value) {
|
|
|
+ addCriterion("created_at <", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("created_at <=", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtIn(List<Date> values) {
|
|
|
+ addCriterion("created_at in", values, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtNotIn(List<Date> values) {
|
|
|
+ addCriterion("created_at not in", values, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("created_at between", value1, value2, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("created_at not between", value1, value2, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtIsNull() {
|
|
|
+ addCriterion("updated_at is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtIsNotNull() {
|
|
|
+ addCriterion("updated_at is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtEqualTo(Date value) {
|
|
|
+ addCriterion("updated_at =", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtNotEqualTo(Date value) {
|
|
|
+ addCriterion("updated_at <>", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtGreaterThan(Date value) {
|
|
|
+ addCriterion("updated_at >", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("updated_at >=", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtLessThan(Date value) {
|
|
|
+ addCriterion("updated_at <", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("updated_at <=", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtIn(List<Date> values) {
|
|
|
+ addCriterion("updated_at in", values, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtNotIn(List<Date> values) {
|
|
|
+ addCriterion("updated_at not in", values, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("updated_at between", value1, value2, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesIsNull() {
|
|
|
+ addCriterion("limit_times is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesIsNotNull() {
|
|
|
+ addCriterion("limit_times is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesEqualTo(Integer value) {
|
|
|
+ addCriterion("limit_times =", value, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesNotEqualTo(Integer value) {
|
|
|
+ addCriterion("limit_times <>", value, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesGreaterThan(Integer value) {
|
|
|
+ addCriterion("limit_times >", value, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("limit_times >=", value, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesLessThan(Integer value) {
|
|
|
+ addCriterion("limit_times <", value, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("limit_times <=", value, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesIn(List<Integer> values) {
|
|
|
+ addCriterion("limit_times in", values, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesNotIn(List<Integer> values) {
|
|
|
+ addCriterion("limit_times not in", values, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("limit_times between", value1, value2, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLimitTimesNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("limit_times not between", value1, value2, "limitTimes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeIsNull() {
|
|
|
+ addCriterion("subscription_type is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeIsNotNull() {
|
|
|
+ addCriterion("subscription_type is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeEqualTo(Integer value) {
|
|
|
+ addCriterion("subscription_type =", value, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeNotEqualTo(Integer value) {
|
|
|
+ addCriterion("subscription_type <>", value, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeGreaterThan(Integer value) {
|
|
|
+ addCriterion("subscription_type >", value, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("subscription_type >=", value, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeLessThan(Integer value) {
|
|
|
+ addCriterion("subscription_type <", value, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("subscription_type <=", value, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeIn(List<Integer> values) {
|
|
|
+ addCriterion("subscription_type in", values, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeNotIn(List<Integer> values) {
|
|
|
+ addCriterion("subscription_type not in", values, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("subscription_type between", value1, value2, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSubscriptionTypeNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("subscription_type not between", value1, value2, "subscriptionType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(title) like", value.toUpperCase(), "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtraPeriodLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(extra_period) like", value.toUpperCase(), "extraPeriod");
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|