|
@@ -0,0 +1,1621 @@
|
|
|
+package com.book.server.dao.entity.example;
|
|
|
+
|
|
|
+import com.book.server.dao.entity.SmartRecommand;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class SmartRecommandExample {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer offset;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer rows;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample() {
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public void setOrderByClause(String orderByClause) {
|
|
|
+ this.orderByClause = orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public String getOrderByClause() {
|
|
|
+ return orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public void setDistinct(boolean distinct) {
|
|
|
+ this.distinct = distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public boolean isDistinct() {
|
|
|
+ return distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public List<Criteria> getOredCriteria() {
|
|
|
+ return oredCriteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public void or(Criteria criteria) {
|
|
|
+ oredCriteria.add(criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample orderBy(String orderByClause) {
|
|
|
+ this.setOrderByClause(orderByClause);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public void setOffset(Integer offset) {
|
|
|
+ this.offset = offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getOffset() {
|
|
|
+ return this.offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public void setRows(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getRows() {
|
|
|
+ return this.rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample limit(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public static Criteria newAndCreateCriteria() {
|
|
|
+ SmartRecommandExample example = new SmartRecommandExample();
|
|
|
+ return example.createCriteria();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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 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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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 andBookNameIsNull() {
|
|
|
+ addCriterion("book_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameIsNotNull() {
|
|
|
+ addCriterion("book_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameEqualTo(String value) {
|
|
|
+ addCriterion("book_name =", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("book_name = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameNotEqualTo(String value) {
|
|
|
+ addCriterion("book_name <>", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameNotEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("book_name <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameGreaterThan(String value) {
|
|
|
+ addCriterion("book_name >", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameGreaterThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("book_name > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("book_name >=", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameGreaterThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("book_name >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameLessThan(String value) {
|
|
|
+ addCriterion("book_name <", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameLessThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("book_name < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("book_name <=", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameLessThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("book_name <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameLike(String value) {
|
|
|
+ addCriterion("book_name like", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameNotLike(String value) {
|
|
|
+ addCriterion("book_name not like", value, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameIn(List<String> values) {
|
|
|
+ addCriterion("book_name in", values, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameNotIn(List<String> values) {
|
|
|
+ addCriterion("book_name not in", values, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameBetween(String value1, String value2) {
|
|
|
+ addCriterion("book_name between", value1, value2, "bookName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andBookNameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("book_name not between", value1, value2, "bookName");
|
|
|
+ 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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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 andDescriptionIsNull() {
|
|
|
+ addCriterion("description is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionIsNotNull() {
|
|
|
+ addCriterion("description is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionEqualTo(String value) {
|
|
|
+ addCriterion("description =", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("description = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionNotEqualTo(String value) {
|
|
|
+ addCriterion("description <>", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionNotEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("description <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionGreaterThan(String value) {
|
|
|
+ addCriterion("description >", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionGreaterThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("description > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("description >=", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionGreaterThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("description >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionLessThan(String value) {
|
|
|
+ addCriterion("description <", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionLessThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("description < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("description <=", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionLessThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("description <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionLike(String value) {
|
|
|
+ addCriterion("description like", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionNotLike(String value) {
|
|
|
+ addCriterion("description not like", value, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionIn(List<String> values) {
|
|
|
+ addCriterion("description in", values, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionNotIn(List<String> values) {
|
|
|
+ addCriterion("description not in", values, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionBetween(String value1, String value2) {
|
|
|
+ addCriterion("description between", value1, value2, "description");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andDescriptionNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("description not between", value1, value2, "description");
|
|
|
+ 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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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 andSexIsNull() {
|
|
|
+ addCriterion("sex is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexIsNotNull() {
|
|
|
+ addCriterion("sex is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexEqualTo(String value) {
|
|
|
+ addCriterion("sex =", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("sex = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexNotEqualTo(String value) {
|
|
|
+ addCriterion("sex <>", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexNotEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("sex <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexGreaterThan(String value) {
|
|
|
+ addCriterion("sex >", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexGreaterThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("sex > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("sex >=", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexGreaterThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("sex >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexLessThan(String value) {
|
|
|
+ addCriterion("sex <", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexLessThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("sex < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("sex <=", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexLessThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("sex <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexLike(String value) {
|
|
|
+ addCriterion("sex like", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexNotLike(String value) {
|
|
|
+ addCriterion("sex not like", value, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexIn(List<String> values) {
|
|
|
+ addCriterion("sex in", values, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexNotIn(List<String> values) {
|
|
|
+ addCriterion("sex not in", values, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexBetween(String value1, String value2) {
|
|
|
+ addCriterion("sex between", value1, value2, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSexNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("sex not between", value1, value2, "sex");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusIsNull() {
|
|
|
+ addCriterion("status is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusIsNotNull() {
|
|
|
+ addCriterion("status is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusEqualTo(String value) {
|
|
|
+ addCriterion("status =", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("status = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusNotEqualTo(String value) {
|
|
|
+ addCriterion("status <>", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusNotEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("status <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusGreaterThan(String value) {
|
|
|
+ addCriterion("status >", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusGreaterThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("status > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("status >=", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusGreaterThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("status >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusLessThan(String value) {
|
|
|
+ addCriterion("status <", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusLessThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("status < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("status <=", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusLessThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("status <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusLike(String value) {
|
|
|
+ addCriterion("status like", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusNotLike(String value) {
|
|
|
+ addCriterion("status not like", value, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusIn(List<String> values) {
|
|
|
+ addCriterion("status in", values, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusNotIn(List<String> values) {
|
|
|
+ addCriterion("status not in", values, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusBetween(String value1, String value2) {
|
|
|
+ addCriterion("status between", value1, value2, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andStatusNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("status not between", value1, value2, "status");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationIsNull() {
|
|
|
+ addCriterion("location is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationIsNotNull() {
|
|
|
+ addCriterion("location is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationEqualTo(String value) {
|
|
|
+ addCriterion("location =", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("location = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationNotEqualTo(String value) {
|
|
|
+ addCriterion("location <>", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationNotEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("location <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationGreaterThan(String value) {
|
|
|
+ addCriterion("location >", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationGreaterThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("location > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("location >=", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationGreaterThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("location >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationLessThan(String value) {
|
|
|
+ addCriterion("location <", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationLessThanColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("location < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("location <=", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationLessThanOrEqualToColumn(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("location <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationLike(String value) {
|
|
|
+ addCriterion("location like", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationNotLike(String value) {
|
|
|
+ addCriterion("location not like", value, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationIn(List<String> values) {
|
|
|
+ addCriterion("location in", values, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationNotIn(List<String> values) {
|
|
|
+ addCriterion("location not in", values, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationBetween(String value1, String value2) {
|
|
|
+ addCriterion("location between", value1, value2, "location");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andLocationNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("location not between", value1, value2, "location");
|
|
|
+ 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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.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(SmartRecommand.Column column) {
|
|
|
+ addCriterion(new StringBuilder("updatetime <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeIn(List<Integer> values) {
|
|
|
+ addCriterion("updatetime in", values, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeNotIn(List<Integer> values) {
|
|
|
+ addCriterion("updatetime not in", values, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("updatetime between", value1, value2, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatetimeNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("updatetime not between", value1, value2, "updatetime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated do_not_delete_during_merge Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ private SmartRecommandExample example;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ protected Criteria(SmartRecommandExample example) {
|
|
|
+ super();
|
|
|
+ this.example = example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ public SmartRecommandExample example() {
|
|
|
+ return this.example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ Criteria add(Criteria add);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 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 smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ void criteria(Criteria criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ public interface IExampleWhen {
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table smart_recommand
|
|
|
+ *
|
|
|
+ * @mbg.generated Fri Aug 20 19:52:17 CST 2021
|
|
|
+ */
|
|
|
+ void example(com.book.server.dao.entity.example.SmartRecommandExample example);
|
|
|
+ }
|
|
|
+}
|