|
@@ -0,0 +1,1101 @@
|
|
|
+package com.book.dao.polardb.pojo.example;
|
|
|
+
|
|
|
+import com.book.dao.polardb.entity.AdUserGroupExtend;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class AdUserGroupExtendExample {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer offset;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer rows;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample() {
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public void setOrderByClause(String orderByClause) {
|
|
|
+ this.orderByClause = orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public String getOrderByClause() {
|
|
|
+ return orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public void setDistinct(boolean distinct) {
|
|
|
+ this.distinct = distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public boolean isDistinct() {
|
|
|
+ return distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public List<Criteria> getOredCriteria() {
|
|
|
+ return oredCriteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public void or(Criteria criteria) {
|
|
|
+ oredCriteria.add(criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ 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 ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample orderBy(String orderByClause) {
|
|
|
+ this.setOrderByClause(orderByClause);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample orderBy(String ... orderByClauses) {
|
|
|
+ StringBuffer sb = new StringBuffer();
|
|
|
+ for (int i = 0; i < orderByClauses.length; i++) {
|
|
|
+ sb.append(orderByClauses[i]);
|
|
|
+ if (i < orderByClauses.length - 1) {
|
|
|
+ sb.append(" , ");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ this.setOrderByClause(sb.toString());
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ 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 ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected Criteria createCriteriaInternal() {
|
|
|
+ Criteria criteria = new Criteria(this);
|
|
|
+ return criteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public void clear() {
|
|
|
+ oredCriteria.clear();
|
|
|
+ orderByClause = null;
|
|
|
+ distinct = false;
|
|
|
+ rows = null;
|
|
|
+ offset = null;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public void setOffset(Integer offset) {
|
|
|
+ this.offset = offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getOffset() {
|
|
|
+ return this.offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public void setRows(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getRows() {
|
|
|
+ return this.rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample limit(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample limit(Integer offset, Integer rows) {
|
|
|
+ this.offset = offset;
|
|
|
+ this.rows = rows;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample page(Integer page, Integer pageSize) {
|
|
|
+ this.offset = page * pageSize;
|
|
|
+ this.rows = pageSize;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public static Criteria newAndCreateCriteria() {
|
|
|
+ AdUserGroupExtendExample example = new AdUserGroupExtendExample();
|
|
|
+ return example.createCriteria();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample when(boolean condition, IExampleWhen then) {
|
|
|
+ if (condition) {
|
|
|
+ then.example(this);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
|
|
|
+ if (condition) {
|
|
|
+ then.example(this);
|
|
|
+ } else {
|
|
|
+ otherwise.example(this);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ 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(Integer value) {
|
|
|
+ addCriterion("id =", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotEqualTo(Integer value) {
|
|
|
+ addCriterion("id <>", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThan(Integer value) {
|
|
|
+ addCriterion("id >", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("id >=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThan(Integer value) {
|
|
|
+ addCriterion("id <", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("id <=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdIn(List<Integer> values) {
|
|
|
+ addCriterion("id in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotIn(List<Integer> values) {
|
|
|
+ addCriterion("id not in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("id between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("id not between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdIsNull() {
|
|
|
+ addCriterion("user_group_id is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdIsNotNull() {
|
|
|
+ addCriterion("user_group_id is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdEqualTo(Integer value) {
|
|
|
+ addCriterion("user_group_id =", value, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("user_group_id = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdNotEqualTo(Integer value) {
|
|
|
+ addCriterion("user_group_id <>", value, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdNotEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("user_group_id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdGreaterThan(Integer value) {
|
|
|
+ addCriterion("user_group_id >", value, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdGreaterThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("user_group_id > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("user_group_id >=", value, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdGreaterThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("user_group_id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdLessThan(Integer value) {
|
|
|
+ addCriterion("user_group_id <", value, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdLessThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("user_group_id < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("user_group_id <=", value, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdLessThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("user_group_id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdIn(List<Integer> values) {
|
|
|
+ addCriterion("user_group_id in", values, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdNotIn(List<Integer> values) {
|
|
|
+ addCriterion("user_group_id not in", values, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("user_group_id between", value1, value2, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserGroupIdNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("user_group_id not between", value1, value2, "userGroupId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByIsNull() {
|
|
|
+ addCriterion("create_by is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByIsNotNull() {
|
|
|
+ addCriterion("create_by is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByEqualTo(Integer value) {
|
|
|
+ addCriterion("create_by =", value, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("create_by = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByNotEqualTo(Integer value) {
|
|
|
+ addCriterion("create_by <>", value, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByNotEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("create_by <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByGreaterThan(Integer value) {
|
|
|
+ addCriterion("create_by >", value, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByGreaterThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("create_by > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("create_by >=", value, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByGreaterThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("create_by >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByLessThan(Integer value) {
|
|
|
+ addCriterion("create_by <", value, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByLessThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("create_by < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("create_by <=", value, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByLessThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("create_by <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByIn(List<Integer> values) {
|
|
|
+ addCriterion("create_by in", values, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByNotIn(List<Integer> values) {
|
|
|
+ addCriterion("create_by not in", values, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("create_by between", value1, value2, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreateByNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("create_by not between", value1, value2, "createBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByIsNull() {
|
|
|
+ addCriterion("edit_by is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByIsNotNull() {
|
|
|
+ addCriterion("edit_by is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByEqualTo(Integer value) {
|
|
|
+ addCriterion("edit_by =", value, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("edit_by = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByNotEqualTo(Integer value) {
|
|
|
+ addCriterion("edit_by <>", value, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByNotEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("edit_by <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByGreaterThan(Integer value) {
|
|
|
+ addCriterion("edit_by >", value, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByGreaterThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("edit_by > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("edit_by >=", value, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByGreaterThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("edit_by >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByLessThan(Integer value) {
|
|
|
+ addCriterion("edit_by <", value, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByLessThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("edit_by < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("edit_by <=", value, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByLessThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("edit_by <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByIn(List<Integer> values) {
|
|
|
+ addCriterion("edit_by in", values, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByNotIn(List<Integer> values) {
|
|
|
+ addCriterion("edit_by not in", values, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("edit_by between", value1, value2, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEditByNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("edit_by not between", value1, value2, "editBy");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeIsNull() {
|
|
|
+ addCriterion("createtime is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeIsNotNull() {
|
|
|
+ addCriterion("createtime is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeEqualTo(Integer value) {
|
|
|
+ addCriterion("createtime =", value, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("createtime = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeNotEqualTo(Integer value) {
|
|
|
+ addCriterion("createtime <>", value, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeNotEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("createtime <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeGreaterThan(Integer value) {
|
|
|
+ addCriterion("createtime >", value, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeGreaterThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("createtime > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("createtime >=", value, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeGreaterThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("createtime >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeLessThan(Integer value) {
|
|
|
+ addCriterion("createtime <", value, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeLessThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("createtime < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("createtime <=", value, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeLessThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("createtime <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeIn(List<Integer> values) {
|
|
|
+ addCriterion("createtime in", values, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeNotIn(List<Integer> values) {
|
|
|
+ addCriterion("createtime not in", values, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("createtime between", value1, value2, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatetimeNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("createtime not between", value1, value2, "createtime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeIsNull() {
|
|
|
+ addCriterion("updatetime is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeIsNotNull() {
|
|
|
+ addCriterion("updatetime is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeEqualTo(Integer value) {
|
|
|
+ addCriterion("updatetime =", value, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeNotEqualTo(Integer value) {
|
|
|
+ addCriterion("updatetime <>", value, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeNotEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeGreaterThan(Integer value) {
|
|
|
+ addCriterion("updatetime >", value, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeGreaterThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("updatetime >=", value, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeGreaterThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeLessThan(Integer value) {
|
|
|
+ addCriterion("updatetime <", value, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeLessThanColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("updatetime <=", value, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeLessThanOrEqualToColumn(AdUserGroupExtend.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeIn(List<Integer> values) {
|
|
|
+ addCriterion("updatetime in", values, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeNotIn(List<Integer> values) {
|
|
|
+ addCriterion("updatetime not in", values, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("updatetime between", value1, value2, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("updatetime not between", value1, value2, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated do_not_delete_during_merge Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ private AdUserGroupExtendExample example;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ protected Criteria(AdUserGroupExtendExample example) {
|
|
|
+ super();
|
|
|
+ this.example = example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public AdUserGroupExtendExample example() {
|
|
|
+ return this.example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ @Deprecated
|
|
|
+ public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
|
|
|
+ if (ifAdd) {
|
|
|
+ add.add(this);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public Criteria when(boolean condition, ICriteriaWhen then) {
|
|
|
+ if (condition) {
|
|
|
+ then.criteria(this);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
|
|
|
+ if (condition) {
|
|
|
+ then.criteria(this);
|
|
|
+ } else {
|
|
|
+ otherwise.criteria(this);
|
|
|
+ }
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Deprecated
|
|
|
+ public interface ICriteriaAdd {
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ Criteria add(Criteria add);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public interface ICriteriaWhen {
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ void criteria(Criteria criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ public interface IExampleWhen {
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table ad_user_group_extend
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 18:03:39 CST 2021
|
|
|
+ */
|
|
|
+ void example(com.book.dao.polardb.pojo.example.AdUserGroupExtendExample example);
|
|
|
+ }
|
|
|
+}
|