|
@@ -0,0 +1,479 @@
|
|
|
+package com.bowintek.practice.model;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class EsRelationLogExample {
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ public EsRelationLogExample() {
|
|
|
+ oredCriteria = new ArrayList<>();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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<>();
|
|
|
+ }
|
|
|
+
|
|
|
+ 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 andWell_common_nameIsNull() {
|
|
|
+ addCriterion("well_common_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameIsNotNull() {
|
|
|
+ addCriterion("well_common_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameEqualTo(String value) {
|
|
|
+ addCriterion("well_common_name =", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameNotEqualTo(String value) {
|
|
|
+ addCriterion("well_common_name <>", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameGreaterThan(String value) {
|
|
|
+ addCriterion("well_common_name >", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("well_common_name >=", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameLessThan(String value) {
|
|
|
+ addCriterion("well_common_name <", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("well_common_name <=", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameLike(String value) {
|
|
|
+ addCriterion("well_common_name like", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameNotLike(String value) {
|
|
|
+ addCriterion("well_common_name not like", value, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameIn(List<String> values) {
|
|
|
+ addCriterion("well_common_name in", values, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameNotIn(List<String> values) {
|
|
|
+ addCriterion("well_common_name not in", values, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameBetween(String value1, String value2) {
|
|
|
+ addCriterion("well_common_name between", value1, value2, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_common_nameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("well_common_name not between", value1, value2, "well_common_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeIsNull() {
|
|
|
+ addCriterion("well_type is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeIsNotNull() {
|
|
|
+ addCriterion("well_type is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeEqualTo(String value) {
|
|
|
+ addCriterion("well_type =", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeNotEqualTo(String value) {
|
|
|
+ addCriterion("well_type <>", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeGreaterThan(String value) {
|
|
|
+ addCriterion("well_type >", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("well_type >=", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeLessThan(String value) {
|
|
|
+ addCriterion("well_type <", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("well_type <=", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeLike(String value) {
|
|
|
+ addCriterion("well_type like", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeNotLike(String value) {
|
|
|
+ addCriterion("well_type not like", value, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeIn(List<String> values) {
|
|
|
+ addCriterion("well_type in", values, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeNotIn(List<String> values) {
|
|
|
+ addCriterion("well_type not in", values, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeBetween(String value1, String value2) {
|
|
|
+ addCriterion("well_type between", value1, value2, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andWell_typeNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("well_type not between", value1, value2, "well_type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellIsNull() {
|
|
|
+ addCriterion("linked_well is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellIsNotNull() {
|
|
|
+ addCriterion("linked_well is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellEqualTo(String value) {
|
|
|
+ addCriterion("linked_well =", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellNotEqualTo(String value) {
|
|
|
+ addCriterion("linked_well <>", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellGreaterThan(String value) {
|
|
|
+ addCriterion("linked_well >", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("linked_well >=", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellLessThan(String value) {
|
|
|
+ addCriterion("linked_well <", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("linked_well <=", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellLike(String value) {
|
|
|
+ addCriterion("linked_well like", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellNotLike(String value) {
|
|
|
+ addCriterion("linked_well not like", value, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellIn(List<String> values) {
|
|
|
+ addCriterion("linked_well in", values, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellNotIn(List<String> values) {
|
|
|
+ addCriterion("linked_well not in", values, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellBetween(String value1, String value2) {
|
|
|
+ addCriterion("linked_well between", value1, value2, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLinked_wellNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("linked_well not between", value1, value2, "linked_well");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameIsNull() {
|
|
|
+ addCriterion("project_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameIsNotNull() {
|
|
|
+ addCriterion("project_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameEqualTo(String value) {
|
|
|
+ addCriterion("project_name =", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameNotEqualTo(String value) {
|
|
|
+ addCriterion("project_name <>", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameGreaterThan(String value) {
|
|
|
+ addCriterion("project_name >", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("project_name >=", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameLessThan(String value) {
|
|
|
+ addCriterion("project_name <", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("project_name <=", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameLike(String value) {
|
|
|
+ addCriterion("project_name like", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameNotLike(String value) {
|
|
|
+ addCriterion("project_name not like", value, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameIn(List<String> values) {
|
|
|
+ addCriterion("project_name in", values, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameNotIn(List<String> values) {
|
|
|
+ addCriterion("project_name not in", values, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameBetween(String value1, String value2) {
|
|
|
+ addCriterion("project_name between", value1, value2, "project_name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProject_nameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("project_name not between", value1, value2, "project_name");
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|