|
@@ -0,0 +1,1351 @@
|
|
|
+package com.book.server.dao.entity.example;
|
|
|
+
|
|
|
+import com.book.server.dao.entity.Config;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class ConfigExample {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer offset;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer rows;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample() {
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public void setOrderByClause(String orderByClause) {
|
|
|
+ this.orderByClause = orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public String getOrderByClause() {
|
|
|
+ return orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public void setDistinct(boolean distinct) {
|
|
|
+ this.distinct = distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public boolean isDistinct() {
|
|
|
+ return distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public List<Criteria> getOredCriteria() {
|
|
|
+ return oredCriteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public void or(Criteria criteria) {
|
|
|
+ oredCriteria.add(criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample orderBy(String orderByClause) {
|
|
|
+ this.setOrderByClause(orderByClause);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public void setOffset(Integer offset) {
|
|
|
+ this.offset = offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getOffset() {
|
|
|
+ return this.offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public void setRows(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getRows() {
|
|
|
+ return this.rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample limit(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public static Criteria newAndCreateCriteria() {
|
|
|
+ ConfigExample example = new ConfigExample();
|
|
|
+ return example.createCriteria();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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(Config.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(Config.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(Config.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(Config.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(Config.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(Config.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 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 andNameEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("name = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameNotEqualTo(String value) {
|
|
|
+ addCriterion("name <>", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("name <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameGreaterThan(String value) {
|
|
|
+ addCriterion("name >", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("name > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("name >=", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("name >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLessThan(String value) {
|
|
|
+ addCriterion("name <", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("name < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("name <=", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("name <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ 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 andGroupIsNull() {
|
|
|
+ addCriterion("group is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupIsNotNull() {
|
|
|
+ addCriterion("group is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupEqualTo(String value) {
|
|
|
+ addCriterion("group =", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("group = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupNotEqualTo(String value) {
|
|
|
+ addCriterion("group <>", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("group <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupGreaterThan(String value) {
|
|
|
+ addCriterion("group >", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("group > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("group >=", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("group >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupLessThan(String value) {
|
|
|
+ addCriterion("group <", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("group < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("group <=", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("group <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupLike(String value) {
|
|
|
+ addCriterion("group like", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupNotLike(String value) {
|
|
|
+ addCriterion("group not like", value, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupIn(List<String> values) {
|
|
|
+ addCriterion("group in", values, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupNotIn(List<String> values) {
|
|
|
+ addCriterion("group not in", values, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupBetween(String value1, String value2) {
|
|
|
+ addCriterion("group between", value1, value2, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGroupNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("group not between", value1, value2, "group");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleIsNull() {
|
|
|
+ addCriterion("title is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleIsNotNull() {
|
|
|
+ addCriterion("title is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleEqualTo(String value) {
|
|
|
+ addCriterion("title =", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("title = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotEqualTo(String value) {
|
|
|
+ addCriterion("title <>", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("title <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleGreaterThan(String value) {
|
|
|
+ addCriterion("title >", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("title > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("title >=", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("title >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLessThan(String value) {
|
|
|
+ addCriterion("title <", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("title < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("title <=", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("title <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleLike(String value) {
|
|
|
+ addCriterion("title like", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotLike(String value) {
|
|
|
+ addCriterion("title not like", value, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleIn(List<String> values) {
|
|
|
+ addCriterion("title in", values, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotIn(List<String> values) {
|
|
|
+ addCriterion("title not in", values, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleBetween(String value1, String value2) {
|
|
|
+ addCriterion("title between", value1, value2, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTitleNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("title not between", value1, value2, "title");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipIsNull() {
|
|
|
+ addCriterion("tip is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipIsNotNull() {
|
|
|
+ addCriterion("tip is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipEqualTo(String value) {
|
|
|
+ addCriterion("tip =", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("tip = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipNotEqualTo(String value) {
|
|
|
+ addCriterion("tip <>", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("tip <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipGreaterThan(String value) {
|
|
|
+ addCriterion("tip >", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("tip > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("tip >=", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("tip >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipLessThan(String value) {
|
|
|
+ addCriterion("tip <", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("tip < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("tip <=", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("tip <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipLike(String value) {
|
|
|
+ addCriterion("tip like", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipNotLike(String value) {
|
|
|
+ addCriterion("tip not like", value, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipIn(List<String> values) {
|
|
|
+ addCriterion("tip in", values, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipNotIn(List<String> values) {
|
|
|
+ addCriterion("tip not in", values, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipBetween(String value1, String value2) {
|
|
|
+ addCriterion("tip between", value1, value2, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTipNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("tip not between", value1, value2, "tip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeIsNull() {
|
|
|
+ addCriterion("type is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeIsNotNull() {
|
|
|
+ addCriterion("type is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeEqualTo(String value) {
|
|
|
+ addCriterion("type =", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("type = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotEqualTo(String value) {
|
|
|
+ addCriterion("type <>", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("type <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeGreaterThan(String value) {
|
|
|
+ addCriterion("type >", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("type > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("type >=", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("type >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLessThan(String value) {
|
|
|
+ addCriterion("type <", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("type < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("type <=", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("type <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeLike(String value) {
|
|
|
+ addCriterion("type like", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotLike(String value) {
|
|
|
+ addCriterion("type not like", value, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeIn(List<String> values) {
|
|
|
+ addCriterion("type in", values, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotIn(List<String> values) {
|
|
|
+ addCriterion("type not in", values, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeBetween(String value1, String value2) {
|
|
|
+ addCriterion("type between", value1, value2, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andTypeNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("type not between", value1, value2, "type");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleIsNull() {
|
|
|
+ addCriterion("rule is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleIsNotNull() {
|
|
|
+ addCriterion("rule is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleEqualTo(String value) {
|
|
|
+ addCriterion("rule =", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("rule = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleNotEqualTo(String value) {
|
|
|
+ addCriterion("rule <>", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("rule <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleGreaterThan(String value) {
|
|
|
+ addCriterion("rule >", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("rule > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("rule >=", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("rule >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleLessThan(String value) {
|
|
|
+ addCriterion("rule <", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("rule < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("rule <=", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("rule <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleLike(String value) {
|
|
|
+ addCriterion("rule like", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleNotLike(String value) {
|
|
|
+ addCriterion("rule not like", value, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleIn(List<String> values) {
|
|
|
+ addCriterion("rule in", values, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleNotIn(List<String> values) {
|
|
|
+ addCriterion("rule not in", values, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleBetween(String value1, String value2) {
|
|
|
+ addCriterion("rule between", value1, value2, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andRuleNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("rule not between", value1, value2, "rule");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendIsNull() {
|
|
|
+ addCriterion("extend is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendIsNotNull() {
|
|
|
+ addCriterion("extend is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendEqualTo(String value) {
|
|
|
+ addCriterion("extend =", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("extend = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendNotEqualTo(String value) {
|
|
|
+ addCriterion("extend <>", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendNotEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("extend <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendGreaterThan(String value) {
|
|
|
+ addCriterion("extend >", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendGreaterThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("extend > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("extend >=", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendGreaterThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("extend >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendLessThan(String value) {
|
|
|
+ addCriterion("extend <", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendLessThanColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("extend < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("extend <=", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendLessThanOrEqualToColumn(Config.Column column) {
|
|
|
+ addCriterion(new StringBuilder("extend <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendLike(String value) {
|
|
|
+ addCriterion("extend like", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendNotLike(String value) {
|
|
|
+ addCriterion("extend not like", value, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendIn(List<String> values) {
|
|
|
+ addCriterion("extend in", values, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendNotIn(List<String> values) {
|
|
|
+ addCriterion("extend not in", values, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendBetween(String value1, String value2) {
|
|
|
+ addCriterion("extend between", value1, value2, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andExtendNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("extend not between", value1, value2, "extend");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated do_not_delete_during_merge Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ private ConfigExample example;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ protected Criteria(ConfigExample example) {
|
|
|
+ super();
|
|
|
+ this.example = example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ public ConfigExample example() {
|
|
|
+ return this.example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ Criteria add(Criteria add);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 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 config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ void criteria(Criteria criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ public interface IExampleWhen {
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table config
|
|
|
+ *
|
|
|
+ * @mbg.generated Sat Aug 21 15:47:55 CST 2021
|
|
|
+ */
|
|
|
+ void example(com.book.server.dao.entity.example.ConfigExample example);
|
|
|
+ }
|
|
|
+}
|