|
@@ -0,0 +1,816 @@
|
|
|
+package cn.kdan.pdf.backend.core.model;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class ExpensesExample {
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ public ExpensesExample() {
|
|
|
+ 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(String value) {
|
|
|
+ addCriterion("id =", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotEqualTo(String value) {
|
|
|
+ addCriterion("id <>", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThan(String value) {
|
|
|
+ addCriterion("id >", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("id >=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThan(String value) {
|
|
|
+ addCriterion("id <", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("id <=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLike(String value) {
|
|
|
+ addCriterion("id like", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotLike(String value) {
|
|
|
+ addCriterion("id not like", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdIn(List<String> values) {
|
|
|
+ addCriterion("id in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotIn(List<String> values) {
|
|
|
+ addCriterion("id not in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdBetween(String value1, String value2) {
|
|
|
+ addCriterion("id between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("id not between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdIsNull() {
|
|
|
+ addCriterion("member_id is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdIsNotNull() {
|
|
|
+ addCriterion("member_id is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdEqualTo(String value) {
|
|
|
+ addCriterion("member_id =", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdNotEqualTo(String value) {
|
|
|
+ addCriterion("member_id <>", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdGreaterThan(String value) {
|
|
|
+ addCriterion("member_id >", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("member_id >=", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdLessThan(String value) {
|
|
|
+ addCriterion("member_id <", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("member_id <=", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdLike(String value) {
|
|
|
+ addCriterion("member_id like", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdNotLike(String value) {
|
|
|
+ addCriterion("member_id not like", value, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdIn(List<String> values) {
|
|
|
+ addCriterion("member_id in", values, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdNotIn(List<String> values) {
|
|
|
+ addCriterion("member_id not in", values, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdBetween(String value1, String value2) {
|
|
|
+ addCriterion("member_id between", value1, value2, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("member_id not between", value1, value2, "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyIsNull() {
|
|
|
+ addCriterion("unique_key is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyIsNotNull() {
|
|
|
+ addCriterion("unique_key is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyEqualTo(String value) {
|
|
|
+ addCriterion("unique_key =", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyNotEqualTo(String value) {
|
|
|
+ addCriterion("unique_key <>", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyGreaterThan(String value) {
|
|
|
+ addCriterion("unique_key >", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("unique_key >=", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyLessThan(String value) {
|
|
|
+ addCriterion("unique_key <", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("unique_key <=", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyLike(String value) {
|
|
|
+ addCriterion("unique_key like", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyNotLike(String value) {
|
|
|
+ addCriterion("unique_key not like", value, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyIn(List<String> values) {
|
|
|
+ addCriterion("unique_key in", values, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyNotIn(List<String> values) {
|
|
|
+ addCriterion("unique_key not in", values, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyBetween(String value1, String value2) {
|
|
|
+ addCriterion("unique_key between", value1, value2, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("unique_key not between", value1, value2, "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueIsNull() {
|
|
|
+ addCriterion("unique_value is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueIsNotNull() {
|
|
|
+ addCriterion("unique_value is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueEqualTo(String value) {
|
|
|
+ addCriterion("unique_value =", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueNotEqualTo(String value) {
|
|
|
+ addCriterion("unique_value <>", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueGreaterThan(String value) {
|
|
|
+ addCriterion("unique_value >", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("unique_value >=", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueLessThan(String value) {
|
|
|
+ addCriterion("unique_value <", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("unique_value <=", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueLike(String value) {
|
|
|
+ addCriterion("unique_value like", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueNotLike(String value) {
|
|
|
+ addCriterion("unique_value not like", value, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueIn(List<String> values) {
|
|
|
+ addCriterion("unique_value in", values, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueNotIn(List<String> values) {
|
|
|
+ addCriterion("unique_value not in", values, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueBetween(String value1, String value2) {
|
|
|
+ addCriterion("unique_value between", value1, value2, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("unique_value not between", value1, value2, "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsIsNull() {
|
|
|
+ addCriterion("points is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsIsNotNull() {
|
|
|
+ addCriterion("points is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsEqualTo(Integer value) {
|
|
|
+ addCriterion("points =", value, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsNotEqualTo(Integer value) {
|
|
|
+ addCriterion("points <>", value, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsGreaterThan(Integer value) {
|
|
|
+ addCriterion("points >", value, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("points >=", value, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsLessThan(Integer value) {
|
|
|
+ addCriterion("points <", value, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("points <=", value, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsIn(List<Integer> values) {
|
|
|
+ addCriterion("points in", values, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsNotIn(List<Integer> values) {
|
|
|
+ addCriterion("points not in", values, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("points between", value1, value2, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPointsNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("points not between", value1, value2, "points");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoIsNull() {
|
|
|
+ addCriterion("info is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoIsNotNull() {
|
|
|
+ addCriterion("info is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoEqualTo(String value) {
|
|
|
+ addCriterion("info =", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoNotEqualTo(String value) {
|
|
|
+ addCriterion("info <>", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoGreaterThan(String value) {
|
|
|
+ addCriterion("info >", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("info >=", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoLessThan(String value) {
|
|
|
+ addCriterion("info <", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("info <=", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoLike(String value) {
|
|
|
+ addCriterion("info like", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoNotLike(String value) {
|
|
|
+ addCriterion("info not like", value, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoIn(List<String> values) {
|
|
|
+ addCriterion("info in", values, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoNotIn(List<String> values) {
|
|
|
+ addCriterion("info not in", values, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoBetween(String value1, String value2) {
|
|
|
+ addCriterion("info between", value1, value2, "info");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("info not between", value1, value2, "info");
|
|
|
+ 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 andDeletedAtIsNull() {
|
|
|
+ addCriterion("deleted_at is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtIsNotNull() {
|
|
|
+ addCriterion("deleted_at is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtEqualTo(Date value) {
|
|
|
+ addCriterion("deleted_at =", value, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtNotEqualTo(Date value) {
|
|
|
+ addCriterion("deleted_at <>", value, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtGreaterThan(Date value) {
|
|
|
+ addCriterion("deleted_at >", value, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("deleted_at >=", value, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtLessThan(Date value) {
|
|
|
+ addCriterion("deleted_at <", value, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("deleted_at <=", value, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtIn(List<Date> values) {
|
|
|
+ addCriterion("deleted_at in", values, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtNotIn(List<Date> values) {
|
|
|
+ addCriterion("deleted_at not in", values, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("deleted_at between", value1, value2, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDeletedAtNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("deleted_at not between", value1, value2, "deletedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(id) like", value.toUpperCase(), "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andMemberIdLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(member_id) like", value.toUpperCase(), "memberId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueKeyLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(unique_key) like", value.toUpperCase(), "uniqueKey");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUniqueValueLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(unique_value) like", value.toUpperCase(), "uniqueValue");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andInfoLikeInsensitive(String value) {
|
|
|
+ addCriterion("upper(info) like", value.toUpperCase(), "info");
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|