You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1450 lines
46 KiB
1450 lines
46 KiB
package com.hai.entity;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.Date;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
public class HighUserExample {
|
|
protected String orderByClause;
|
|
|
|
protected boolean distinct;
|
|
|
|
protected List<Criteria> oredCriteria;
|
|
|
|
private Integer limit;
|
|
|
|
private Long offset;
|
|
|
|
public HighUserExample() {
|
|
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(Long offset) {
|
|
this.offset = offset;
|
|
}
|
|
|
|
public Long 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));
|
|
}
|
|
|
|
protected void addCriterionForJDBCDate(String condition, Date value, String property) {
|
|
if (value == null) {
|
|
throw new RuntimeException("Value for " + property + " cannot be null");
|
|
}
|
|
addCriterion(condition, new java.sql.Date(value.getTime()), property);
|
|
}
|
|
|
|
protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
|
|
if (values == null || values.size() == 0) {
|
|
throw new RuntimeException("Value list for " + property + " cannot be null or empty");
|
|
}
|
|
List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
|
|
Iterator<Date> iter = values.iterator();
|
|
while (iter.hasNext()) {
|
|
dateList.add(new java.sql.Date(iter.next().getTime()));
|
|
}
|
|
addCriterion(condition, dateList, property);
|
|
}
|
|
|
|
protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
|
|
if (value1 == null || value2 == null) {
|
|
throw new RuntimeException("Between values for " + property + " cannot be null");
|
|
}
|
|
addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
|
|
}
|
|
|
|
public Criteria andIdIsNull() {
|
|
addCriterion("id is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdIsNotNull() {
|
|
addCriterion("id is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdEqualTo(Long value) {
|
|
addCriterion("id =", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdNotEqualTo(Long value) {
|
|
addCriterion("id <>", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdGreaterThan(Long value) {
|
|
addCriterion("id >", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
|
addCriterion("id >=", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdLessThan(Long value) {
|
|
addCriterion("id <", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdLessThanOrEqualTo(Long value) {
|
|
addCriterion("id <=", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdIn(List<Long> values) {
|
|
addCriterion("id in", values, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdNotIn(List<Long> values) {
|
|
addCriterion("id not in", values, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdBetween(Long value1, Long value2) {
|
|
addCriterion("id between", value1, value2, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdNotBetween(Long value1, Long value2) {
|
|
addCriterion("id not between", value1, value2, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgIsNull() {
|
|
addCriterion("header_img is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgIsNotNull() {
|
|
addCriterion("header_img is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgEqualTo(String value) {
|
|
addCriterion("header_img =", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgNotEqualTo(String value) {
|
|
addCriterion("header_img <>", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgGreaterThan(String value) {
|
|
addCriterion("header_img >", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgGreaterThanOrEqualTo(String value) {
|
|
addCriterion("header_img >=", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgLessThan(String value) {
|
|
addCriterion("header_img <", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgLessThanOrEqualTo(String value) {
|
|
addCriterion("header_img <=", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgLike(String value) {
|
|
addCriterion("header_img like", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgNotLike(String value) {
|
|
addCriterion("header_img not like", value, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgIn(List<String> values) {
|
|
addCriterion("header_img in", values, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgNotIn(List<String> values) {
|
|
addCriterion("header_img not in", values, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgBetween(String value1, String value2) {
|
|
addCriterion("header_img between", value1, value2, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andHeaderImgNotBetween(String value1, String value2) {
|
|
addCriterion("header_img not between", value1, value2, "headerImg");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameIsNull() {
|
|
addCriterion("`name` is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameIsNotNull() {
|
|
addCriterion("`name` is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameEqualTo(String value) {
|
|
addCriterion("`name` =", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameNotEqualTo(String value) {
|
|
addCriterion("`name` <>", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameGreaterThan(String value) {
|
|
addCriterion("`name` >", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameGreaterThanOrEqualTo(String value) {
|
|
addCriterion("`name` >=", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameLessThan(String value) {
|
|
addCriterion("`name` <", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameLessThanOrEqualTo(String value) {
|
|
addCriterion("`name` <=", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameLike(String value) {
|
|
addCriterion("`name` like", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameNotLike(String value) {
|
|
addCriterion("`name` not like", value, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameIn(List<String> values) {
|
|
addCriterion("`name` in", values, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameNotIn(List<String> values) {
|
|
addCriterion("`name` not in", values, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameBetween(String value1, String value2) {
|
|
addCriterion("`name` between", value1, value2, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andNameNotBetween(String value1, String value2) {
|
|
addCriterion("`name` not between", value1, value2, "name");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneIsNull() {
|
|
addCriterion("phone is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneIsNotNull() {
|
|
addCriterion("phone is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneEqualTo(String value) {
|
|
addCriterion("phone =", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneNotEqualTo(String value) {
|
|
addCriterion("phone <>", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneGreaterThan(String value) {
|
|
addCriterion("phone >", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneGreaterThanOrEqualTo(String value) {
|
|
addCriterion("phone >=", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneLessThan(String value) {
|
|
addCriterion("phone <", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneLessThanOrEqualTo(String value) {
|
|
addCriterion("phone <=", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneLike(String value) {
|
|
addCriterion("phone like", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneNotLike(String value) {
|
|
addCriterion("phone not like", value, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneIn(List<String> values) {
|
|
addCriterion("phone in", values, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneNotIn(List<String> values) {
|
|
addCriterion("phone not in", values, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneBetween(String value1, String value2) {
|
|
addCriterion("phone between", value1, value2, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPhoneNotBetween(String value1, String value2) {
|
|
addCriterion("phone not between", value1, value2, "phone");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordIsNull() {
|
|
addCriterion("`password` is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordIsNotNull() {
|
|
addCriterion("`password` is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordEqualTo(String value) {
|
|
addCriterion("`password` =", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordNotEqualTo(String value) {
|
|
addCriterion("`password` <>", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordGreaterThan(String value) {
|
|
addCriterion("`password` >", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordGreaterThanOrEqualTo(String value) {
|
|
addCriterion("`password` >=", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordLessThan(String value) {
|
|
addCriterion("`password` <", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordLessThanOrEqualTo(String value) {
|
|
addCriterion("`password` <=", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordLike(String value) {
|
|
addCriterion("`password` like", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordNotLike(String value) {
|
|
addCriterion("`password` not like", value, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordIn(List<String> values) {
|
|
addCriterion("`password` in", values, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordNotIn(List<String> values) {
|
|
addCriterion("`password` not in", values, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordBetween(String value1, String value2) {
|
|
addCriterion("`password` between", value1, value2, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPasswordNotBetween(String value1, String value2) {
|
|
addCriterion("`password` not between", value1, value2, "password");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexIsNull() {
|
|
addCriterion("sex is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexIsNotNull() {
|
|
addCriterion("sex is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexEqualTo(String value) {
|
|
addCriterion("sex =", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexNotEqualTo(String value) {
|
|
addCriterion("sex <>", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexGreaterThan(String value) {
|
|
addCriterion("sex >", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexGreaterThanOrEqualTo(String value) {
|
|
addCriterion("sex >=", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexLessThan(String value) {
|
|
addCriterion("sex <", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexLessThanOrEqualTo(String value) {
|
|
addCriterion("sex <=", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexLike(String value) {
|
|
addCriterion("sex like", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexNotLike(String value) {
|
|
addCriterion("sex not like", value, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexIn(List<String> values) {
|
|
addCriterion("sex in", values, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexNotIn(List<String> values) {
|
|
addCriterion("sex not in", values, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexBetween(String value1, String value2) {
|
|
addCriterion("sex between", value1, value2, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSexNotBetween(String value1, String value2) {
|
|
addCriterion("sex not between", value1, value2, "sex");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateIsNull() {
|
|
addCriterion("birthdate is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateIsNotNull() {
|
|
addCriterion("birthdate is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateEqualTo(Date value) {
|
|
addCriterionForJDBCDate("birthdate =", value, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateNotEqualTo(Date value) {
|
|
addCriterionForJDBCDate("birthdate <>", value, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateGreaterThan(Date value) {
|
|
addCriterionForJDBCDate("birthdate >", value, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateGreaterThanOrEqualTo(Date value) {
|
|
addCriterionForJDBCDate("birthdate >=", value, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateLessThan(Date value) {
|
|
addCriterionForJDBCDate("birthdate <", value, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateLessThanOrEqualTo(Date value) {
|
|
addCriterionForJDBCDate("birthdate <=", value, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateIn(List<Date> values) {
|
|
addCriterionForJDBCDate("birthdate in", values, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateNotIn(List<Date> values) {
|
|
addCriterionForJDBCDate("birthdate not in", values, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateBetween(Date value1, Date value2) {
|
|
addCriterionForJDBCDate("birthdate between", value1, value2, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andBirthdateNotBetween(Date value1, Date value2) {
|
|
addCriterionForJDBCDate("birthdate not between", value1, value2, "birthdate");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeIsNull() {
|
|
addCriterion("reg_time is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeIsNotNull() {
|
|
addCriterion("reg_time is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeEqualTo(Date value) {
|
|
addCriterion("reg_time =", value, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeNotEqualTo(Date value) {
|
|
addCriterion("reg_time <>", value, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeGreaterThan(Date value) {
|
|
addCriterion("reg_time >", value, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeGreaterThanOrEqualTo(Date value) {
|
|
addCriterion("reg_time >=", value, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeLessThan(Date value) {
|
|
addCriterion("reg_time <", value, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeLessThanOrEqualTo(Date value) {
|
|
addCriterion("reg_time <=", value, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeIn(List<Date> values) {
|
|
addCriterion("reg_time in", values, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeNotIn(List<Date> values) {
|
|
addCriterion("reg_time not in", values, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeBetween(Date value1, Date value2) {
|
|
addCriterion("reg_time between", value1, value2, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRegTimeNotBetween(Date value1, Date value2) {
|
|
addCriterion("reg_time not between", value1, value2, "regTime");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldIsNull() {
|
|
addCriterion("gold is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldIsNotNull() {
|
|
addCriterion("gold is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldEqualTo(Integer value) {
|
|
addCriterion("gold =", value, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldNotEqualTo(Integer value) {
|
|
addCriterion("gold <>", value, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldGreaterThan(Integer value) {
|
|
addCriterion("gold >", value, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("gold >=", value, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldLessThan(Integer value) {
|
|
addCriterion("gold <", value, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldLessThanOrEqualTo(Integer value) {
|
|
addCriterion("gold <=", value, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldIn(List<Integer> values) {
|
|
addCriterion("gold in", values, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldNotIn(List<Integer> values) {
|
|
addCriterion("gold not in", values, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldBetween(Integer value1, Integer value2) {
|
|
addCriterion("gold between", value1, value2, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoldNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("gold not between", value1, value2, "gold");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusIsNull() {
|
|
addCriterion("`status` is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusIsNotNull() {
|
|
addCriterion("`status` is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusEqualTo(Integer value) {
|
|
addCriterion("`status` =", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusNotEqualTo(Integer value) {
|
|
addCriterion("`status` <>", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusGreaterThan(Integer value) {
|
|
addCriterion("`status` >", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("`status` >=", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusLessThan(Integer value) {
|
|
addCriterion("`status` <", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusLessThanOrEqualTo(Integer value) {
|
|
addCriterion("`status` <=", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusIn(List<Integer> values) {
|
|
addCriterion("`status` in", values, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusNotIn(List<Integer> values) {
|
|
addCriterion("`status` not in", values, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusBetween(Integer value1, Integer value2) {
|
|
addCriterion("`status` between", value1, value2, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("`status` not between", value1, value2, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdIsNull() {
|
|
addCriterion("open_id is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdIsNotNull() {
|
|
addCriterion("open_id is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdEqualTo(String value) {
|
|
addCriterion("open_id =", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdNotEqualTo(String value) {
|
|
addCriterion("open_id <>", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdGreaterThan(String value) {
|
|
addCriterion("open_id >", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdGreaterThanOrEqualTo(String value) {
|
|
addCriterion("open_id >=", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdLessThan(String value) {
|
|
addCriterion("open_id <", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdLessThanOrEqualTo(String value) {
|
|
addCriterion("open_id <=", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdLike(String value) {
|
|
addCriterion("open_id like", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdNotLike(String value) {
|
|
addCriterion("open_id not like", value, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdIn(List<String> values) {
|
|
addCriterion("open_id in", values, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdNotIn(List<String> values) {
|
|
addCriterion("open_id not in", values, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdBetween(String value1, String value2) {
|
|
addCriterion("open_id between", value1, value2, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdNotBetween(String value1, String value2) {
|
|
addCriterion("open_id not between", value1, value2, "openId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5IsNull() {
|
|
addCriterion("open_id_h5 is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5IsNotNull() {
|
|
addCriterion("open_id_h5 is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5EqualTo(String value) {
|
|
addCriterion("open_id_h5 =", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5NotEqualTo(String value) {
|
|
addCriterion("open_id_h5 <>", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5GreaterThan(String value) {
|
|
addCriterion("open_id_h5 >", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5GreaterThanOrEqualTo(String value) {
|
|
addCriterion("open_id_h5 >=", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5LessThan(String value) {
|
|
addCriterion("open_id_h5 <", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5LessThanOrEqualTo(String value) {
|
|
addCriterion("open_id_h5 <=", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5Like(String value) {
|
|
addCriterion("open_id_h5 like", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5NotLike(String value) {
|
|
addCriterion("open_id_h5 not like", value, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5In(List<String> values) {
|
|
addCriterion("open_id_h5 in", values, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5NotIn(List<String> values) {
|
|
addCriterion("open_id_h5 not in", values, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5Between(String value1, String value2) {
|
|
addCriterion("open_id_h5 between", value1, value2, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andOpenIdH5NotBetween(String value1, String value2) {
|
|
addCriterion("open_id_h5 not between", value1, value2, "openIdH5");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdIsNull() {
|
|
addCriterion("union_id is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdIsNotNull() {
|
|
addCriterion("union_id is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdEqualTo(String value) {
|
|
addCriterion("union_id =", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdNotEqualTo(String value) {
|
|
addCriterion("union_id <>", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdGreaterThan(String value) {
|
|
addCriterion("union_id >", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdGreaterThanOrEqualTo(String value) {
|
|
addCriterion("union_id >=", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdLessThan(String value) {
|
|
addCriterion("union_id <", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdLessThanOrEqualTo(String value) {
|
|
addCriterion("union_id <=", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdLike(String value) {
|
|
addCriterion("union_id like", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdNotLike(String value) {
|
|
addCriterion("union_id not like", value, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdIn(List<String> values) {
|
|
addCriterion("union_id in", values, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdNotIn(List<String> values) {
|
|
addCriterion("union_id not in", values, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdBetween(String value1, String value2) {
|
|
addCriterion("union_id between", value1, value2, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andUnionIdNotBetween(String value1, String value2) {
|
|
addCriterion("union_id not between", value1, value2, "unionId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusIsNull() {
|
|
addCriterion("info_complete_status is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusIsNotNull() {
|
|
addCriterion("info_complete_status is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusEqualTo(Integer value) {
|
|
addCriterion("info_complete_status =", value, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusNotEqualTo(Integer value) {
|
|
addCriterion("info_complete_status <>", value, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusGreaterThan(Integer value) {
|
|
addCriterion("info_complete_status >", value, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("info_complete_status >=", value, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusLessThan(Integer value) {
|
|
addCriterion("info_complete_status <", value, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusLessThanOrEqualTo(Integer value) {
|
|
addCriterion("info_complete_status <=", value, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusIn(List<Integer> values) {
|
|
addCriterion("info_complete_status in", values, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusNotIn(List<Integer> values) {
|
|
addCriterion("info_complete_status not in", values, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusBetween(Integer value1, Integer value2) {
|
|
addCriterion("info_complete_status between", value1, value2, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andInfoCompleteStatusNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("info_complete_status not between", value1, value2, "infoCompleteStatus");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1IsNull() {
|
|
addCriterion("ext_1 is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1IsNotNull() {
|
|
addCriterion("ext_1 is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1EqualTo(String value) {
|
|
addCriterion("ext_1 =", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1NotEqualTo(String value) {
|
|
addCriterion("ext_1 <>", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1GreaterThan(String value) {
|
|
addCriterion("ext_1 >", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1GreaterThanOrEqualTo(String value) {
|
|
addCriterion("ext_1 >=", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1LessThan(String value) {
|
|
addCriterion("ext_1 <", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1LessThanOrEqualTo(String value) {
|
|
addCriterion("ext_1 <=", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1Like(String value) {
|
|
addCriterion("ext_1 like", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1NotLike(String value) {
|
|
addCriterion("ext_1 not like", value, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1In(List<String> values) {
|
|
addCriterion("ext_1 in", values, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1NotIn(List<String> values) {
|
|
addCriterion("ext_1 not in", values, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1Between(String value1, String value2) {
|
|
addCriterion("ext_1 between", value1, value2, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt1NotBetween(String value1, String value2) {
|
|
addCriterion("ext_1 not between", value1, value2, "ext1");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2IsNull() {
|
|
addCriterion("ext_2 is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2IsNotNull() {
|
|
addCriterion("ext_2 is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2EqualTo(String value) {
|
|
addCriterion("ext_2 =", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2NotEqualTo(String value) {
|
|
addCriterion("ext_2 <>", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2GreaterThan(String value) {
|
|
addCriterion("ext_2 >", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2GreaterThanOrEqualTo(String value) {
|
|
addCriterion("ext_2 >=", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2LessThan(String value) {
|
|
addCriterion("ext_2 <", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2LessThanOrEqualTo(String value) {
|
|
addCriterion("ext_2 <=", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2Like(String value) {
|
|
addCriterion("ext_2 like", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2NotLike(String value) {
|
|
addCriterion("ext_2 not like", value, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2In(List<String> values) {
|
|
addCriterion("ext_2 in", values, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2NotIn(List<String> values) {
|
|
addCriterion("ext_2 not in", values, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2Between(String value1, String value2) {
|
|
addCriterion("ext_2 between", value1, value2, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt2NotBetween(String value1, String value2) {
|
|
addCriterion("ext_2 not between", value1, value2, "ext2");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3IsNull() {
|
|
addCriterion("ext_3 is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3IsNotNull() {
|
|
addCriterion("ext_3 is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3EqualTo(String value) {
|
|
addCriterion("ext_3 =", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3NotEqualTo(String value) {
|
|
addCriterion("ext_3 <>", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3GreaterThan(String value) {
|
|
addCriterion("ext_3 >", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3GreaterThanOrEqualTo(String value) {
|
|
addCriterion("ext_3 >=", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3LessThan(String value) {
|
|
addCriterion("ext_3 <", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3LessThanOrEqualTo(String value) {
|
|
addCriterion("ext_3 <=", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3Like(String value) {
|
|
addCriterion("ext_3 like", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3NotLike(String value) {
|
|
addCriterion("ext_3 not like", value, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3In(List<String> values) {
|
|
addCriterion("ext_3 in", values, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3NotIn(List<String> values) {
|
|
addCriterion("ext_3 not in", values, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3Between(String value1, String value2) {
|
|
addCriterion("ext_3 between", value1, value2, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt3NotBetween(String value1, String value2) {
|
|
addCriterion("ext_3 not between", value1, value2, "ext3");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4IsNull() {
|
|
addCriterion("ext_4 is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4IsNotNull() {
|
|
addCriterion("ext_4 is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4EqualTo(String value) {
|
|
addCriterion("ext_4 =", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4NotEqualTo(String value) {
|
|
addCriterion("ext_4 <>", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4GreaterThan(String value) {
|
|
addCriterion("ext_4 >", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4GreaterThanOrEqualTo(String value) {
|
|
addCriterion("ext_4 >=", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4LessThan(String value) {
|
|
addCriterion("ext_4 <", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4LessThanOrEqualTo(String value) {
|
|
addCriterion("ext_4 <=", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4Like(String value) {
|
|
addCriterion("ext_4 like", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4NotLike(String value) {
|
|
addCriterion("ext_4 not like", value, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4In(List<String> values) {
|
|
addCriterion("ext_4 in", values, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4NotIn(List<String> values) {
|
|
addCriterion("ext_4 not in", values, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4Between(String value1, String value2) {
|
|
addCriterion("ext_4 between", value1, value2, "ext4");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andExt4NotBetween(String value1, String value2) {
|
|
addCriterion("ext_4 not between", value1, value2, "ext4");
|
|
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);
|
|
}
|
|
}
|
|
} |