|
@@ -0,0 +1,1133 @@
|
|
|
+package com.tzld.piaoquan.wecom.model.po;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class UserExample {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public UserExample() {
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public void setOrderByClause(String orderByClause) {
|
|
|
+ this.orderByClause = orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public String getOrderByClause() {
|
|
|
+ return orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public void setDistinct(boolean distinct) {
|
|
|
+ this.distinct = distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public boolean isDistinct() {
|
|
|
+ return distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public List<Criteria> getOredCriteria() {
|
|
|
+ return oredCriteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public void or(Criteria criteria) {
|
|
|
+ oredCriteria.add(criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public Criteria or() {
|
|
|
+ Criteria criteria = createCriteriaInternal();
|
|
|
+ oredCriteria.add(criteria);
|
|
|
+ return criteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public Criteria createCriteria() {
|
|
|
+ Criteria criteria = createCriteriaInternal();
|
|
|
+ if (oredCriteria.size() == 0) {
|
|
|
+ oredCriteria.add(criteria);
|
|
|
+ }
|
|
|
+ return criteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ protected Criteria createCriteriaInternal() {
|
|
|
+ Criteria criteria = new Criteria();
|
|
|
+ return criteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ public void clear() {
|
|
|
+ oredCriteria.clear();
|
|
|
+ orderByClause = null;
|
|
|
+ distinct = false;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ 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(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 andExternalUserIdIsNull() {
|
|
|
+ addCriterion("external_user_id is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdIsNotNull() {
|
|
|
+ addCriterion("external_user_id is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id =", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdNotEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id <>", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdGreaterThan(String value) {
|
|
|
+ addCriterion("external_user_id >", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id >=", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdLessThan(String value) {
|
|
|
+ addCriterion("external_user_id <", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id <=", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdLike(String value) {
|
|
|
+ addCriterion("external_user_id like", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdNotLike(String value) {
|
|
|
+ addCriterion("external_user_id not like", value, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdIn(List<String> values) {
|
|
|
+ addCriterion("external_user_id in", values, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdNotIn(List<String> values) {
|
|
|
+ addCriterion("external_user_id not in", values, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdBetween(String value1, String value2) {
|
|
|
+ addCriterion("external_user_id between", value1, value2, "externalUserId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserIdNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("external_user_id not between", value1, value2, "externalUserId");
|
|
|
+ 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 andExternalUserId3rdPartyIsNull() {
|
|
|
+ addCriterion("external_user_id_3rd_party is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyIsNotNull() {
|
|
|
+ addCriterion("external_user_id_3rd_party is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party =", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyNotEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party <>", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyGreaterThan(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party >", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party >=", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyLessThan(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party <", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party <=", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyLike(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party like", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyNotLike(String value) {
|
|
|
+ addCriterion("external_user_id_3rd_party not like", value, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyIn(List<String> values) {
|
|
|
+ addCriterion("external_user_id_3rd_party in", values, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyNotIn(List<String> values) {
|
|
|
+ addCriterion("external_user_id_3rd_party not in", values, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyBetween(String value1, String value2) {
|
|
|
+ addCriterion("external_user_id_3rd_party between", value1, value2, "externalUserId3rdParty");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExternalUserId3rdPartyNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("external_user_id_3rd_party not between", value1, value2, "externalUserId3rdParty");
|
|
|
+ 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(Integer value) {
|
|
|
+ addCriterion("`type` =", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotEqualTo(Integer value) {
|
|
|
+ addCriterion("`type` <>", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeGreaterThan(Integer value) {
|
|
|
+ addCriterion("`type` >", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("`type` >=", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLessThan(Integer value) {
|
|
|
+ addCriterion("`type` <", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("`type` <=", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeIn(List<Integer> values) {
|
|
|
+ addCriterion("`type` in", values, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotIn(List<Integer> values) {
|
|
|
+ addCriterion("`type` not in", values, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("`type` between", value1, value2, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("`type` not between", value1, value2, "type");
|
|
|
+ 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 andAvatarIsNull() {
|
|
|
+ addCriterion("avatar is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarIsNotNull() {
|
|
|
+ addCriterion("avatar is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarEqualTo(String value) {
|
|
|
+ addCriterion("avatar =", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarNotEqualTo(String value) {
|
|
|
+ addCriterion("avatar <>", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarGreaterThan(String value) {
|
|
|
+ addCriterion("avatar >", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("avatar >=", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarLessThan(String value) {
|
|
|
+ addCriterion("avatar <", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("avatar <=", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarLike(String value) {
|
|
|
+ addCriterion("avatar like", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarNotLike(String value) {
|
|
|
+ addCriterion("avatar not like", value, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarIn(List<String> values) {
|
|
|
+ addCriterion("avatar in", values, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarNotIn(List<String> values) {
|
|
|
+ addCriterion("avatar not in", values, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarBetween(String value1, String value2) {
|
|
|
+ addCriterion("avatar between", value1, value2, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAvatarNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("avatar not between", value1, value2, "avatar");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderIsNull() {
|
|
|
+ addCriterion("gender is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderIsNotNull() {
|
|
|
+ addCriterion("gender is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderEqualTo(Integer value) {
|
|
|
+ addCriterion("gender =", value, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderNotEqualTo(Integer value) {
|
|
|
+ addCriterion("gender <>", value, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderGreaterThan(Integer value) {
|
|
|
+ addCriterion("gender >", value, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("gender >=", value, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderLessThan(Integer value) {
|
|
|
+ addCriterion("gender <", value, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("gender <=", value, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderIn(List<Integer> values) {
|
|
|
+ addCriterion("gender in", values, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderNotIn(List<Integer> values) {
|
|
|
+ addCriterion("gender not in", values, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("gender between", value1, value2, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGenderNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("gender not between", value1, value2, "gender");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteIsNull() {
|
|
|
+ addCriterion("is_delete is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteIsNotNull() {
|
|
|
+ addCriterion("is_delete is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteEqualTo(Integer value) {
|
|
|
+ addCriterion("is_delete =", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteNotEqualTo(Integer value) {
|
|
|
+ addCriterion("is_delete <>", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteGreaterThan(Integer value) {
|
|
|
+ addCriterion("is_delete >", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("is_delete >=", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteLessThan(Integer value) {
|
|
|
+ addCriterion("is_delete <", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("is_delete <=", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteIn(List<Integer> values) {
|
|
|
+ addCriterion("is_delete in", values, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteNotIn(List<Integer> values) {
|
|
|
+ addCriterion("is_delete not in", values, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("is_delete between", value1, value2, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("is_delete not between", value1, value2, "isDelete");
|
|
|
+ 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(Long value) {
|
|
|
+ addCriterion("created_at =", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtNotEqualTo(Long value) {
|
|
|
+ addCriterion("created_at <>", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtGreaterThan(Long value) {
|
|
|
+ addCriterion("created_at >", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtGreaterThanOrEqualTo(Long value) {
|
|
|
+ addCriterion("created_at >=", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtLessThan(Long value) {
|
|
|
+ addCriterion("created_at <", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtLessThanOrEqualTo(Long value) {
|
|
|
+ addCriterion("created_at <=", value, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtIn(List<Long> values) {
|
|
|
+ addCriterion("created_at in", values, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtNotIn(List<Long> values) {
|
|
|
+ addCriterion("created_at not in", values, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtBetween(Long value1, Long value2) {
|
|
|
+ addCriterion("created_at between", value1, value2, "createdAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedAtNotBetween(Long value1, Long 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(Long value) {
|
|
|
+ addCriterion("updated_at =", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtNotEqualTo(Long value) {
|
|
|
+ addCriterion("updated_at <>", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtGreaterThan(Long value) {
|
|
|
+ addCriterion("updated_at >", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtGreaterThanOrEqualTo(Long value) {
|
|
|
+ addCriterion("updated_at >=", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtLessThan(Long value) {
|
|
|
+ addCriterion("updated_at <", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtLessThanOrEqualTo(Long value) {
|
|
|
+ addCriterion("updated_at <=", value, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtIn(List<Long> values) {
|
|
|
+ addCriterion("updated_at in", values, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtNotIn(List<Long> values) {
|
|
|
+ addCriterion("updated_at not in", values, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtBetween(Long value1, Long value2) {
|
|
|
+ addCriterion("updated_at between", value1, value2, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedAtNotBetween(Long value1, Long value2) {
|
|
|
+ addCriterion("updated_at not between", value1, value2, "updatedAt");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeIsNull() {
|
|
|
+ addCriterion("create_time is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeIsNotNull() {
|
|
|
+ addCriterion("create_time is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeEqualTo(Date value) {
|
|
|
+ addCriterion("create_time =", value, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeNotEqualTo(Date value) {
|
|
|
+ addCriterion("create_time <>", value, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeGreaterThan(Date value) {
|
|
|
+ addCriterion("create_time >", value, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("create_time >=", value, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeLessThan(Date value) {
|
|
|
+ addCriterion("create_time <", value, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("create_time <=", value, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeIn(List<Date> values) {
|
|
|
+ addCriterion("create_time in", values, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeNotIn(List<Date> values) {
|
|
|
+ addCriterion("create_time not in", values, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("create_time between", value1, value2, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("create_time not between", value1, value2, "createTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeIsNull() {
|
|
|
+ addCriterion("update_time is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeIsNotNull() {
|
|
|
+ addCriterion("update_time is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeEqualTo(Date value) {
|
|
|
+ addCriterion("update_time =", value, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeNotEqualTo(Date value) {
|
|
|
+ addCriterion("update_time <>", value, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeGreaterThan(Date value) {
|
|
|
+ addCriterion("update_time >", value, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("update_time >=", value, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeLessThan(Date value) {
|
|
|
+ addCriterion("update_time <", value, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("update_time <=", value, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeIn(List<Date> values) {
|
|
|
+ addCriterion("update_time in", values, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeNotIn(List<Date> values) {
|
|
|
+ addCriterion("update_time not in", values, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("update_time between", value1, value2, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("update_time not between", value1, value2, "updateTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated do_not_delete_during_merge
|
|
|
+ */
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
+
|
|
|
+ protected Criteria() {
|
|
|
+ super();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table we_com_user
|
|
|
+ *
|
|
|
+ * @mbg.generated
|
|
|
+ */
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|