|
@@ -2,7 +2,6 @@ package com.book.dao.cps.pojo.example;
|
|
|
|
|
|
import com.book.dao.cps.entity.EditBook;
|
|
|
import java.util.ArrayList;
|
|
|
-import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
public class EditBookExample {
|
|
@@ -10,7 +9,7 @@ public class EditBookExample {
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
* This field corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected String orderByClause;
|
|
|
|
|
@@ -18,7 +17,7 @@ public class EditBookExample {
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
* This field corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected boolean distinct;
|
|
|
|
|
@@ -26,7 +25,7 @@ public class EditBookExample {
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
* This field corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected List<Criteria> oredCriteria;
|
|
|
|
|
@@ -34,7 +33,7 @@ public class EditBookExample {
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
* This field corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected Integer offset;
|
|
|
|
|
@@ -42,7 +41,7 @@ public class EditBookExample {
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
* This field corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected Integer rows;
|
|
|
|
|
@@ -50,7 +49,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample() {
|
|
|
oredCriteria = new ArrayList<Criteria>();
|
|
@@ -60,7 +59,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public void setOrderByClause(String orderByClause) {
|
|
|
this.orderByClause = orderByClause;
|
|
@@ -70,7 +69,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public String getOrderByClause() {
|
|
|
return orderByClause;
|
|
@@ -80,7 +79,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public void setDistinct(boolean distinct) {
|
|
|
this.distinct = distinct;
|
|
@@ -90,7 +89,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public boolean isDistinct() {
|
|
|
return distinct;
|
|
@@ -100,7 +99,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public List<Criteria> getOredCriteria() {
|
|
|
return oredCriteria;
|
|
@@ -110,7 +109,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public void or(Criteria criteria) {
|
|
|
oredCriteria.add(criteria);
|
|
@@ -120,7 +119,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public Criteria or() {
|
|
|
Criteria criteria = createCriteriaInternal();
|
|
@@ -132,7 +131,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample orderBy(String orderByClause) {
|
|
|
this.setOrderByClause(orderByClause);
|
|
@@ -143,7 +142,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample orderBy(String ... orderByClauses) {
|
|
|
StringBuffer sb = new StringBuffer();
|
|
@@ -161,7 +160,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public Criteria createCriteria() {
|
|
|
Criteria criteria = createCriteriaInternal();
|
|
@@ -175,7 +174,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected Criteria createCriteriaInternal() {
|
|
|
Criteria criteria = new Criteria(this);
|
|
@@ -186,7 +185,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public void clear() {
|
|
|
oredCriteria.clear();
|
|
@@ -200,7 +199,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public void setOffset(Integer offset) {
|
|
|
this.offset = offset;
|
|
@@ -210,7 +209,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public Integer getOffset() {
|
|
|
return this.offset;
|
|
@@ -220,7 +219,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public void setRows(Integer rows) {
|
|
|
this.rows = rows;
|
|
@@ -230,7 +229,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public Integer getRows() {
|
|
|
return this.rows;
|
|
@@ -240,7 +239,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample limit(Integer rows) {
|
|
|
this.rows = rows;
|
|
@@ -251,7 +250,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample limit(Integer offset, Integer rows) {
|
|
|
this.offset = offset;
|
|
@@ -263,7 +262,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample page(Integer page, Integer pageSize) {
|
|
|
this.offset = page * pageSize;
|
|
@@ -275,7 +274,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public static Criteria newAndCreateCriteria() {
|
|
|
EditBookExample example = new EditBookExample();
|
|
@@ -286,7 +285,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample when(boolean condition, IExampleWhen then) {
|
|
|
if (condition) {
|
|
@@ -299,7 +298,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
|
|
|
if (condition) {
|
|
@@ -314,7 +313,7 @@ public class EditBookExample {
|
|
|
* This class was generated by MyBatis Generator.
|
|
|
* This class corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected abstract static class GeneratedCriteria {
|
|
|
protected List<Criterion> criteria;
|
|
@@ -647,7 +646,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeEqualTo(Date value) {
|
|
|
+ public Criteria andCreateTimeEqualTo(Integer value) {
|
|
|
addCriterion("create_time =", value, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -657,7 +656,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeNotEqualTo(Date value) {
|
|
|
+ public Criteria andCreateTimeNotEqualTo(Integer value) {
|
|
|
addCriterion("create_time <>", value, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -667,7 +666,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeGreaterThan(Date value) {
|
|
|
+ public Criteria andCreateTimeGreaterThan(Integer value) {
|
|
|
addCriterion("create_time >", value, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -677,7 +676,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
|
|
+ public Criteria andCreateTimeGreaterThanOrEqualTo(Integer value) {
|
|
|
addCriterion("create_time >=", value, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -687,7 +686,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeLessThan(Date value) {
|
|
|
+ public Criteria andCreateTimeLessThan(Integer value) {
|
|
|
addCriterion("create_time <", value, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -697,7 +696,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
|
|
+ public Criteria andCreateTimeLessThanOrEqualTo(Integer value) {
|
|
|
addCriterion("create_time <=", value, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -707,22 +706,22 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeIn(List<Date> values) {
|
|
|
+ public Criteria andCreateTimeIn(List<Integer> values) {
|
|
|
addCriterion("create_time in", values, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeNotIn(List<Date> values) {
|
|
|
+ public Criteria andCreateTimeNotIn(List<Integer> values) {
|
|
|
addCriterion("create_time not in", values, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
|
|
+ public Criteria andCreateTimeBetween(Integer value1, Integer value2) {
|
|
|
addCriterion("create_time between", value1, value2, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
|
|
+ public Criteria andCreateTimeNotBetween(Integer value1, Integer value2) {
|
|
|
addCriterion("create_time not between", value1, value2, "createTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -737,7 +736,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeEqualTo(Date value) {
|
|
|
+ public Criteria andUpdateTimeEqualTo(Integer value) {
|
|
|
addCriterion("update_time =", value, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -747,7 +746,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeNotEqualTo(Date value) {
|
|
|
+ public Criteria andUpdateTimeNotEqualTo(Integer value) {
|
|
|
addCriterion("update_time <>", value, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -757,7 +756,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeGreaterThan(Date value) {
|
|
|
+ public Criteria andUpdateTimeGreaterThan(Integer value) {
|
|
|
addCriterion("update_time >", value, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -767,7 +766,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
|
|
|
+ public Criteria andUpdateTimeGreaterThanOrEqualTo(Integer value) {
|
|
|
addCriterion("update_time >=", value, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -777,7 +776,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeLessThan(Date value) {
|
|
|
+ public Criteria andUpdateTimeLessThan(Integer value) {
|
|
|
addCriterion("update_time <", value, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -787,7 +786,7 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
|
|
|
+ public Criteria andUpdateTimeLessThanOrEqualTo(Integer value) {
|
|
|
addCriterion("update_time <=", value, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
@@ -797,39 +796,129 @@ public class EditBookExample {
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeIn(List<Date> values) {
|
|
|
+ public Criteria andUpdateTimeIn(List<Integer> values) {
|
|
|
addCriterion("update_time in", values, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeNotIn(List<Date> values) {
|
|
|
+ public Criteria andUpdateTimeNotIn(List<Integer> values) {
|
|
|
addCriterion("update_time not in", values, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeBetween(Date value1, Date value2) {
|
|
|
+ public Criteria andUpdateTimeBetween(Integer value1, Integer value2) {
|
|
|
addCriterion("update_time between", value1, value2, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
|
|
|
- public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
|
|
|
+ public Criteria andUpdateTimeNotBetween(Integer value1, Integer value2) {
|
|
|
addCriterion("update_time not between", value1, value2, "updateTime");
|
|
|
return (Criteria) this;
|
|
|
}
|
|
|
+
|
|
|
+ public Criteria andChapterIdIsNull() {
|
|
|
+ addCriterion("chapter_id is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdIsNotNull() {
|
|
|
+ addCriterion("chapter_id is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdEqualTo(Long value) {
|
|
|
+ addCriterion("chapter_id =", value, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdEqualToColumn(EditBook.Column column) {
|
|
|
+ addCriterion(new StringBuilder("chapter_id = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdNotEqualTo(Long value) {
|
|
|
+ addCriterion("chapter_id <>", value, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdNotEqualToColumn(EditBook.Column column) {
|
|
|
+ addCriterion(new StringBuilder("chapter_id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdGreaterThan(Long value) {
|
|
|
+ addCriterion("chapter_id >", value, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdGreaterThanColumn(EditBook.Column column) {
|
|
|
+ addCriterion(new StringBuilder("chapter_id > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdGreaterThanOrEqualTo(Long value) {
|
|
|
+ addCriterion("chapter_id >=", value, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdGreaterThanOrEqualToColumn(EditBook.Column column) {
|
|
|
+ addCriterion(new StringBuilder("chapter_id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdLessThan(Long value) {
|
|
|
+ addCriterion("chapter_id <", value, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdLessThanColumn(EditBook.Column column) {
|
|
|
+ addCriterion(new StringBuilder("chapter_id < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdLessThanOrEqualTo(Long value) {
|
|
|
+ addCriterion("chapter_id <=", value, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdLessThanOrEqualToColumn(EditBook.Column column) {
|
|
|
+ addCriterion(new StringBuilder("chapter_id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdIn(List<Long> values) {
|
|
|
+ addCriterion("chapter_id in", values, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdNotIn(List<Long> values) {
|
|
|
+ addCriterion("chapter_id not in", values, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdBetween(Long value1, Long value2) {
|
|
|
+ addCriterion("chapter_id between", value1, value2, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChapterIdNotBetween(Long value1, Long value2) {
|
|
|
+ addCriterion("chapter_id not between", value1, value2, "chapterId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* This class was generated by MyBatis Generator.
|
|
|
* This class corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated do_not_delete_during_merge Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated do_not_delete_during_merge Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public static class Criteria extends GeneratedCriteria {
|
|
|
/**
|
|
|
* This field was generated by MyBatis Generator.
|
|
|
* This field corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
private EditBookExample example;
|
|
|
|
|
@@ -837,7 +926,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
protected Criteria(EditBookExample example) {
|
|
|
super();
|
|
@@ -848,7 +937,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public EditBookExample example() {
|
|
|
return this.example;
|
|
@@ -858,7 +947,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
@Deprecated
|
|
|
public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
|
|
@@ -872,7 +961,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public Criteria when(boolean condition, ICriteriaWhen then) {
|
|
|
if (condition) {
|
|
@@ -885,7 +974,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
|
|
|
if (condition) {
|
|
@@ -902,7 +991,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
Criteria add(Criteria add);
|
|
|
}
|
|
@@ -912,7 +1001,7 @@ public class EditBookExample {
|
|
|
* This class was generated by MyBatis Generator.
|
|
|
* This class corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
public static class Criterion {
|
|
|
private String condition;
|
|
@@ -1005,7 +1094,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
void criteria(Criteria criteria);
|
|
|
}
|
|
@@ -1015,7 +1104,7 @@ public class EditBookExample {
|
|
|
* This method was generated by MyBatis Generator.
|
|
|
* This method corresponds to the database table edit_book
|
|
|
*
|
|
|
- * @mbg.generated Wed Aug 25 22:53:28 CST 2021
|
|
|
+ * @mbg.generated Fri Aug 27 01:01:13 CST 2021
|
|
|
*/
|
|
|
void example(com.book.dao.cps.pojo.example.EditBookExample example);
|
|
|
}
|