754 lines
23 KiB
Java
754 lines
23 KiB
Java
package com.rzyc.model;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
public class DynamicExample {
|
|
protected String orderByClause;
|
|
|
|
protected boolean distinct;
|
|
|
|
protected List<Criteria> oredCriteria;
|
|
|
|
private Integer limit;
|
|
|
|
private Integer offset;
|
|
|
|
public DynamicExample() {
|
|
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;
|
|
}
|
|
|
|
public void setLimit(Integer limit) {
|
|
this.limit = limit;
|
|
}
|
|
|
|
public Integer getLimit() {
|
|
return limit;
|
|
}
|
|
|
|
public void setOffset(Integer offset) {
|
|
this.offset = offset;
|
|
}
|
|
|
|
public Integer getOffset() {
|
|
return offset;
|
|
}
|
|
|
|
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 andDynamicidIsNull() {
|
|
addCriterion("DynamicId is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidIsNotNull() {
|
|
addCriterion("DynamicId is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidEqualTo(String value) {
|
|
addCriterion("DynamicId =", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidNotEqualTo(String value) {
|
|
addCriterion("DynamicId <>", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidGreaterThan(String value) {
|
|
addCriterion("DynamicId >", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidGreaterThanOrEqualTo(String value) {
|
|
addCriterion("DynamicId >=", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidLessThan(String value) {
|
|
addCriterion("DynamicId <", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidLessThanOrEqualTo(String value) {
|
|
addCriterion("DynamicId <=", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidLike(String value) {
|
|
addCriterion("DynamicId like", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidNotLike(String value) {
|
|
addCriterion("DynamicId not like", value, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidIn(List<String> values) {
|
|
addCriterion("DynamicId in", values, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidNotIn(List<String> values) {
|
|
addCriterion("DynamicId not in", values, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidBetween(String value1, String value2) {
|
|
addCriterion("DynamicId between", value1, value2, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamicidNotBetween(String value1, String value2) {
|
|
addCriterion("DynamicId not between", value1, value2, "dynamicid");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverIsNull() {
|
|
addCriterion("Cover is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverIsNotNull() {
|
|
addCriterion("Cover is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverEqualTo(String value) {
|
|
addCriterion("Cover =", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverNotEqualTo(String value) {
|
|
addCriterion("Cover <>", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverGreaterThan(String value) {
|
|
addCriterion("Cover >", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverGreaterThanOrEqualTo(String value) {
|
|
addCriterion("Cover >=", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverLessThan(String value) {
|
|
addCriterion("Cover <", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverLessThanOrEqualTo(String value) {
|
|
addCriterion("Cover <=", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverLike(String value) {
|
|
addCriterion("Cover like", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverNotLike(String value) {
|
|
addCriterion("Cover not like", value, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverIn(List<String> values) {
|
|
addCriterion("Cover in", values, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverNotIn(List<String> values) {
|
|
addCriterion("Cover not in", values, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverBetween(String value1, String value2) {
|
|
addCriterion("Cover between", value1, value2, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCoverNotBetween(String value1, String value2) {
|
|
addCriterion("Cover not between", value1, value2, "cover");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeIsNull() {
|
|
addCriterion("DynamicType is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeIsNotNull() {
|
|
addCriterion("DynamicType is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeEqualTo(Integer value) {
|
|
addCriterion("DynamicType =", value, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeNotEqualTo(Integer value) {
|
|
addCriterion("DynamicType <>", value, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeGreaterThan(Integer value) {
|
|
addCriterion("DynamicType >", value, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("DynamicType >=", value, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeLessThan(Integer value) {
|
|
addCriterion("DynamicType <", value, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeLessThanOrEqualTo(Integer value) {
|
|
addCriterion("DynamicType <=", value, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeIn(List<Integer> values) {
|
|
addCriterion("DynamicType in", values, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeNotIn(List<Integer> values) {
|
|
addCriterion("DynamicType not in", values, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeBetween(Integer value1, Integer value2) {
|
|
addCriterion("DynamicType between", value1, value2, "dynamictype");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDynamictypeNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("DynamicType not between", value1, value2, "dynamictype");
|
|
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 andCreatedonIsNull() {
|
|
addCriterion("CreatedOn is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonIsNotNull() {
|
|
addCriterion("CreatedOn is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonEqualTo(Date value) {
|
|
addCriterion("CreatedOn =", value, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonNotEqualTo(Date value) {
|
|
addCriterion("CreatedOn <>", value, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonGreaterThan(Date value) {
|
|
addCriterion("CreatedOn >", value, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonGreaterThanOrEqualTo(Date value) {
|
|
addCriterion("CreatedOn >=", value, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonLessThan(Date value) {
|
|
addCriterion("CreatedOn <", value, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonLessThanOrEqualTo(Date value) {
|
|
addCriterion("CreatedOn <=", value, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonIn(List<Date> values) {
|
|
addCriterion("CreatedOn in", values, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonNotIn(List<Date> values) {
|
|
addCriterion("CreatedOn not in", values, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonBetween(Date value1, Date value2) {
|
|
addCriterion("CreatedOn between", value1, value2, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedonNotBetween(Date value1, Date value2) {
|
|
addCriterion("CreatedOn not between", value1, value2, "createdon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyIsNull() {
|
|
addCriterion("CreatedBy is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyIsNotNull() {
|
|
addCriterion("CreatedBy is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyEqualTo(String value) {
|
|
addCriterion("CreatedBy =", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyNotEqualTo(String value) {
|
|
addCriterion("CreatedBy <>", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyGreaterThan(String value) {
|
|
addCriterion("CreatedBy >", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyGreaterThanOrEqualTo(String value) {
|
|
addCriterion("CreatedBy >=", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyLessThan(String value) {
|
|
addCriterion("CreatedBy <", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyLessThanOrEqualTo(String value) {
|
|
addCriterion("CreatedBy <=", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyLike(String value) {
|
|
addCriterion("CreatedBy like", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyNotLike(String value) {
|
|
addCriterion("CreatedBy not like", value, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyIn(List<String> values) {
|
|
addCriterion("CreatedBy in", values, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyNotIn(List<String> values) {
|
|
addCriterion("CreatedBy not in", values, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyBetween(String value1, String value2) {
|
|
addCriterion("CreatedBy between", value1, value2, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCreatedbyNotBetween(String value1, String value2) {
|
|
addCriterion("CreatedBy not between", value1, value2, "createdby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonIsNull() {
|
|
addCriterion("ModifiedOn is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonIsNotNull() {
|
|
addCriterion("ModifiedOn is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonEqualTo(Date value) {
|
|
addCriterion("ModifiedOn =", value, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonNotEqualTo(Date value) {
|
|
addCriterion("ModifiedOn <>", value, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonGreaterThan(Date value) {
|
|
addCriterion("ModifiedOn >", value, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonGreaterThanOrEqualTo(Date value) {
|
|
addCriterion("ModifiedOn >=", value, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonLessThan(Date value) {
|
|
addCriterion("ModifiedOn <", value, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonLessThanOrEqualTo(Date value) {
|
|
addCriterion("ModifiedOn <=", value, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonIn(List<Date> values) {
|
|
addCriterion("ModifiedOn in", values, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonNotIn(List<Date> values) {
|
|
addCriterion("ModifiedOn not in", values, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonBetween(Date value1, Date value2) {
|
|
addCriterion("ModifiedOn between", value1, value2, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedonNotBetween(Date value1, Date value2) {
|
|
addCriterion("ModifiedOn not between", value1, value2, "modifiedon");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyIsNull() {
|
|
addCriterion("ModifiedBy is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyIsNotNull() {
|
|
addCriterion("ModifiedBy is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyEqualTo(String value) {
|
|
addCriterion("ModifiedBy =", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyNotEqualTo(String value) {
|
|
addCriterion("ModifiedBy <>", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyGreaterThan(String value) {
|
|
addCriterion("ModifiedBy >", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyGreaterThanOrEqualTo(String value) {
|
|
addCriterion("ModifiedBy >=", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyLessThan(String value) {
|
|
addCriterion("ModifiedBy <", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyLessThanOrEqualTo(String value) {
|
|
addCriterion("ModifiedBy <=", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyLike(String value) {
|
|
addCriterion("ModifiedBy like", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyNotLike(String value) {
|
|
addCriterion("ModifiedBy not like", value, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyIn(List<String> values) {
|
|
addCriterion("ModifiedBy in", values, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyNotIn(List<String> values) {
|
|
addCriterion("ModifiedBy not in", values, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyBetween(String value1, String value2) {
|
|
addCriterion("ModifiedBy between", value1, value2, "modifiedby");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andModifiedbyNotBetween(String value1, String value2) {
|
|
addCriterion("ModifiedBy not between", value1, value2, "modifiedby");
|
|
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);
|
|
}
|
|
}
|
|
}
|