|
@@ -0,0 +1,1491 @@
|
|
|
|
+package com.book.server.dao.entity.example;
|
|
|
|
+
|
|
|
|
+import com.book.server.dao.entity.ManageBlockResource;
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.List;
|
|
|
|
+
|
|
|
|
+public class ManageBlockResourceExample {
|
|
|
|
+ /**
|
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
|
+ * This field corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ protected String orderByClause;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
|
+ * This field corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ protected boolean distinct;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
|
+ * This field corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
|
+ * This field corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ protected Integer offset;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
|
+ * This field corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ protected Integer rows;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample() {
|
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public void setOrderByClause(String orderByClause) {
|
|
|
|
+ this.orderByClause = orderByClause;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public String getOrderByClause() {
|
|
|
|
+ return orderByClause;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public void setDistinct(boolean distinct) {
|
|
|
|
+ this.distinct = distinct;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public boolean isDistinct() {
|
|
|
|
+ return distinct;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public List<Criteria> getOredCriteria() {
|
|
|
|
+ return oredCriteria;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public void or(Criteria criteria) {
|
|
|
|
+ oredCriteria.add(criteria);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample orderBy(String orderByClause) {
|
|
|
|
+ this.setOrderByClause(orderByClause);
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public void setOffset(Integer offset) {
|
|
|
|
+ this.offset = offset;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public Integer getOffset() {
|
|
|
|
+ return this.offset;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public void setRows(Integer rows) {
|
|
|
|
+ this.rows = rows;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public Integer getRows() {
|
|
|
|
+ return this.rows;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample limit(Integer rows) {
|
|
|
|
+ this.rows = rows;
|
|
|
|
+ return this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public static Criteria newAndCreateCriteria() {
|
|
|
|
+ ManageBlockResourceExample example = new ManageBlockResourceExample();
|
|
|
|
+ return example.createCriteria();
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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 andBlockIdIsNull() {
|
|
|
|
+ addCriterion("block_id is null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdIsNotNull() {
|
|
|
|
+ addCriterion("block_id is not null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdEqualTo(Integer value) {
|
|
|
|
+ addCriterion("block_id =", value, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("block_id = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdNotEqualTo(Integer value) {
|
|
|
|
+ addCriterion("block_id <>", value, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdNotEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("block_id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdGreaterThan(Integer value) {
|
|
|
|
+ addCriterion("block_id >", value, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdGreaterThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("block_id > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdGreaterThanOrEqualTo(Integer value) {
|
|
|
|
+ addCriterion("block_id >=", value, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdGreaterThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("block_id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdLessThan(Integer value) {
|
|
|
|
+ addCriterion("block_id <", value, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdLessThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("block_id < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdLessThanOrEqualTo(Integer value) {
|
|
|
|
+ addCriterion("block_id <=", value, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdLessThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("block_id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdIn(List<Integer> values) {
|
|
|
|
+ addCriterion("block_id in", values, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdNotIn(List<Integer> values) {
|
|
|
|
+ addCriterion("block_id not in", values, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdBetween(Integer value1, Integer value2) {
|
|
|
|
+ addCriterion("block_id between", value1, value2, "blockId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBlockIdNotBetween(Integer value1, Integer value2) {
|
|
|
|
+ addCriterion("block_id not between", value1, value2, "blockId");
|
|
|
|
+ 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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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 andImageIsNull() {
|
|
|
|
+ addCriterion("image is null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageIsNotNull() {
|
|
|
|
+ addCriterion("image is not null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageEqualTo(String value) {
|
|
|
|
+ addCriterion("image =", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("image = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageNotEqualTo(String value) {
|
|
|
|
+ addCriterion("image <>", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageNotEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("image <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageGreaterThan(String value) {
|
|
|
|
+ addCriterion("image >", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageGreaterThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("image > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageGreaterThanOrEqualTo(String value) {
|
|
|
|
+ addCriterion("image >=", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageGreaterThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("image >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageLessThan(String value) {
|
|
|
|
+ addCriterion("image <", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageLessThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("image < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageLessThanOrEqualTo(String value) {
|
|
|
|
+ addCriterion("image <=", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageLessThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("image <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageLike(String value) {
|
|
|
|
+ addCriterion("image like", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageNotLike(String value) {
|
|
|
|
+ addCriterion("image not like", value, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageIn(List<String> values) {
|
|
|
|
+ addCriterion("image in", values, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageNotIn(List<String> values) {
|
|
|
|
+ addCriterion("image not in", values, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageBetween(String value1, String value2) {
|
|
|
|
+ addCriterion("image between", value1, value2, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andImageNotBetween(String value1, String value2) {
|
|
|
|
+ addCriterion("image not between", value1, value2, "image");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdIsNull() {
|
|
|
|
+ addCriterion("book_id is null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdIsNotNull() {
|
|
|
|
+ addCriterion("book_id is not null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdEqualTo(Long value) {
|
|
|
|
+ addCriterion("book_id =", value, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("book_id = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdNotEqualTo(Long value) {
|
|
|
|
+ addCriterion("book_id <>", value, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdNotEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("book_id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdGreaterThan(Long value) {
|
|
|
|
+ addCriterion("book_id >", value, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdGreaterThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("book_id > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdGreaterThanOrEqualTo(Long value) {
|
|
|
|
+ addCriterion("book_id >=", value, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdGreaterThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("book_id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdLessThan(Long value) {
|
|
|
|
+ addCriterion("book_id <", value, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdLessThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("book_id < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdLessThanOrEqualTo(Long value) {
|
|
|
|
+ addCriterion("book_id <=", value, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdLessThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("book_id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdIn(List<Long> values) {
|
|
|
|
+ addCriterion("book_id in", values, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdNotIn(List<Long> values) {
|
|
|
|
+ addCriterion("book_id not in", values, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdBetween(Long value1, Long value2) {
|
|
|
|
+ addCriterion("book_id between", value1, value2, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andBookIdNotBetween(Long value1, Long value2) {
|
|
|
|
+ addCriterion("book_id not between", value1, value2, "bookId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlIsNull() {
|
|
|
|
+ addCriterion("url is null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlIsNotNull() {
|
|
|
|
+ addCriterion("url is not null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlEqualTo(String value) {
|
|
|
|
+ addCriterion("url =", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("url = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlNotEqualTo(String value) {
|
|
|
|
+ addCriterion("url <>", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlNotEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("url <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlGreaterThan(String value) {
|
|
|
|
+ addCriterion("url >", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlGreaterThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("url > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlGreaterThanOrEqualTo(String value) {
|
|
|
|
+ addCriterion("url >=", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlGreaterThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("url >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlLessThan(String value) {
|
|
|
|
+ addCriterion("url <", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlLessThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("url < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlLessThanOrEqualTo(String value) {
|
|
|
|
+ addCriterion("url <=", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlLessThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("url <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlLike(String value) {
|
|
|
|
+ addCriterion("url like", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlNotLike(String value) {
|
|
|
|
+ addCriterion("url not like", value, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlIn(List<String> values) {
|
|
|
|
+ addCriterion("url in", values, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlNotIn(List<String> values) {
|
|
|
|
+ addCriterion("url not in", values, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlBetween(String value1, String value2) {
|
|
|
|
+ addCriterion("url between", value1, value2, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andUrlNotBetween(String value1, String value2) {
|
|
|
|
+ addCriterion("url not between", value1, value2, "url");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighIsNull() {
|
|
|
|
+ addCriterion("weigh is null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighIsNotNull() {
|
|
|
|
+ addCriterion("weigh is not null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighEqualTo(Integer value) {
|
|
|
|
+ addCriterion("weigh =", value, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("weigh = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighNotEqualTo(Integer value) {
|
|
|
|
+ addCriterion("weigh <>", value, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighNotEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("weigh <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighGreaterThan(Integer value) {
|
|
|
|
+ addCriterion("weigh >", value, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighGreaterThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("weigh > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighGreaterThanOrEqualTo(Integer value) {
|
|
|
|
+ addCriterion("weigh >=", value, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighGreaterThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("weigh >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighLessThan(Integer value) {
|
|
|
|
+ addCriterion("weigh <", value, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighLessThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("weigh < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighLessThanOrEqualTo(Integer value) {
|
|
|
|
+ addCriterion("weigh <=", value, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighLessThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("weigh <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighIn(List<Integer> values) {
|
|
|
|
+ addCriterion("weigh in", values, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighNotIn(List<Integer> values) {
|
|
|
|
+ addCriterion("weigh not in", values, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighBetween(Integer value1, Integer value2) {
|
|
|
|
+ addCriterion("weigh between", value1, value2, "weigh");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andWeighNotBetween(Integer value1, Integer value2) {
|
|
|
|
+ addCriterion("weigh not between", value1, value2, "weigh");
|
|
|
|
+ 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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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(ManageBlockResource.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;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdIsNull() {
|
|
|
|
+ addCriterion("special_id is null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdIsNotNull() {
|
|
|
|
+ addCriterion("special_id is not null");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdEqualTo(Integer value) {
|
|
|
|
+ addCriterion("special_id =", value, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("special_id = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdNotEqualTo(Integer value) {
|
|
|
|
+ addCriterion("special_id <>", value, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdNotEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("special_id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdGreaterThan(Integer value) {
|
|
|
|
+ addCriterion("special_id >", value, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdGreaterThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("special_id > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdGreaterThanOrEqualTo(Integer value) {
|
|
|
|
+ addCriterion("special_id >=", value, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdGreaterThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("special_id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdLessThan(Integer value) {
|
|
|
|
+ addCriterion("special_id <", value, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdLessThanColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("special_id < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdLessThanOrEqualTo(Integer value) {
|
|
|
|
+ addCriterion("special_id <=", value, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdLessThanOrEqualToColumn(ManageBlockResource.Column column) {
|
|
|
|
+ addCriterion(new StringBuilder("special_id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdIn(List<Integer> values) {
|
|
|
|
+ addCriterion("special_id in", values, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdNotIn(List<Integer> values) {
|
|
|
|
+ addCriterion("special_id not in", values, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdBetween(Integer value1, Integer value2) {
|
|
|
|
+ addCriterion("special_id between", value1, value2, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public Criteria andSpecialIdNotBetween(Integer value1, Integer value2) {
|
|
|
|
+ addCriterion("special_id not between", value1, value2, "specialId");
|
|
|
|
+ return (Criteria) this;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
|
+ * This class corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated do_not_delete_during_merge Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
|
+ /**
|
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
|
+ * This field corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ private ManageBlockResourceExample example;
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ protected Criteria(ManageBlockResourceExample example) {
|
|
|
|
+ super();
|
|
|
|
+ this.example = example;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ public ManageBlockResourceExample example() {
|
|
|
|
+ return this.example;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ Criteria add(Criteria add);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
|
+ * This class corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 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 manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ void criteria(Criteria criteria);
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public interface IExampleWhen {
|
|
|
|
+ /**
|
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
|
+ * This method corresponds to the database table manage_block_resource
|
|
|
|
+ *
|
|
|
|
+ * @mbg.generated Sun Aug 15 14:43:42 CST 2021
|
|
|
|
+ */
|
|
|
|
+ void example(com.book.server.dao.entity.example.ManageBlockResourceExample example);
|
|
|
|
+ }
|
|
|
|
+}
|