471 lines
14 KiB
Java
471 lines
14 KiB
Java
package io.dataease.base.domain;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
public class SystemParameterExample {
|
|
protected String orderByClause;
|
|
|
|
protected boolean distinct;
|
|
|
|
protected List<Criteria> oredCriteria;
|
|
|
|
public SystemParameterExample() {
|
|
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 andParamKeyIsNull() {
|
|
addCriterion("param_key is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyIsNotNull() {
|
|
addCriterion("param_key is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyEqualTo(String value) {
|
|
addCriterion("param_key =", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyNotEqualTo(String value) {
|
|
addCriterion("param_key <>", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyGreaterThan(String value) {
|
|
addCriterion("param_key >", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyGreaterThanOrEqualTo(String value) {
|
|
addCriterion("param_key >=", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyLessThan(String value) {
|
|
addCriterion("param_key <", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyLessThanOrEqualTo(String value) {
|
|
addCriterion("param_key <=", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyLike(String value) {
|
|
addCriterion("param_key like", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyNotLike(String value) {
|
|
addCriterion("param_key not like", value, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyIn(List<String> values) {
|
|
addCriterion("param_key in", values, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyNotIn(List<String> values) {
|
|
addCriterion("param_key not in", values, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyBetween(String value1, String value2) {
|
|
addCriterion("param_key between", value1, value2, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamKeyNotBetween(String value1, String value2) {
|
|
addCriterion("param_key not between", value1, value2, "paramKey");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueIsNull() {
|
|
addCriterion("param_value is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueIsNotNull() {
|
|
addCriterion("param_value is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueEqualTo(String value) {
|
|
addCriterion("param_value =", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueNotEqualTo(String value) {
|
|
addCriterion("param_value <>", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueGreaterThan(String value) {
|
|
addCriterion("param_value >", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueGreaterThanOrEqualTo(String value) {
|
|
addCriterion("param_value >=", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueLessThan(String value) {
|
|
addCriterion("param_value <", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueLessThanOrEqualTo(String value) {
|
|
addCriterion("param_value <=", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueLike(String value) {
|
|
addCriterion("param_value like", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueNotLike(String value) {
|
|
addCriterion("param_value not like", value, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueIn(List<String> values) {
|
|
addCriterion("param_value in", values, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueNotIn(List<String> values) {
|
|
addCriterion("param_value not in", values, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueBetween(String value1, String value2) {
|
|
addCriterion("param_value between", value1, value2, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andParamValueNotBetween(String value1, String value2) {
|
|
addCriterion("param_value not between", value1, value2, "paramValue");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeIsNull() {
|
|
addCriterion("type is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeIsNotNull() {
|
|
addCriterion("type is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeEqualTo(String value) {
|
|
addCriterion("type =", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotEqualTo(String value) {
|
|
addCriterion("type <>", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeGreaterThan(String value) {
|
|
addCriterion("type >", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeGreaterThanOrEqualTo(String value) {
|
|
addCriterion("type >=", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeLessThan(String value) {
|
|
addCriterion("type <", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeLessThanOrEqualTo(String value) {
|
|
addCriterion("type <=", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeLike(String value) {
|
|
addCriterion("type like", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotLike(String value) {
|
|
addCriterion("type not like", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeIn(List<String> values) {
|
|
addCriterion("type in", values, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotIn(List<String> values) {
|
|
addCriterion("type not in", values, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeBetween(String value1, String value2) {
|
|
addCriterion("type between", value1, value2, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotBetween(String value1, String value2) {
|
|
addCriterion("type not between", value1, value2, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortIsNull() {
|
|
addCriterion("sort is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortIsNotNull() {
|
|
addCriterion("sort is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortEqualTo(Integer value) {
|
|
addCriterion("sort =", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortNotEqualTo(Integer value) {
|
|
addCriterion("sort <>", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortGreaterThan(Integer value) {
|
|
addCriterion("sort >", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("sort >=", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortLessThan(Integer value) {
|
|
addCriterion("sort <", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortLessThanOrEqualTo(Integer value) {
|
|
addCriterion("sort <=", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortIn(List<Integer> values) {
|
|
addCriterion("sort in", values, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortNotIn(List<Integer> values) {
|
|
addCriterion("sort not in", values, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortBetween(Integer value1, Integer value2) {
|
|
addCriterion("sort between", value1, value2, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("sort not between", value1, value2, "sort");
|
|
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);
|
|
}
|
|
}
|
|
}
|