|
@@ -1,1122 +0,0 @@
|
|
-package com.book.dao.polardb.pojo.example;
|
|
|
|
-
|
|
|
|
-import com.book.dao.polardb.entity.SunStaticOrder;
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
-import java.util.Date;
|
|
|
|
-import java.util.List;
|
|
|
|
-
|
|
|
|
-public class SunStaticOrderExample {
|
|
|
|
- /**
|
|
|
|
- * This field was generated by MyBatis Generator.
|
|
|
|
- * This field corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- protected String orderByClause;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This field was generated by MyBatis Generator.
|
|
|
|
- * This field corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- protected boolean distinct;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This field was generated by MyBatis Generator.
|
|
|
|
- * This field corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- protected List<Criteria> oredCriteria;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This field was generated by MyBatis Generator.
|
|
|
|
- * This field corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- protected Integer offset;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This field was generated by MyBatis Generator.
|
|
|
|
- * This field corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- protected Integer rows;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample() {
|
|
|
|
- oredCriteria = new ArrayList<Criteria>();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public void setOrderByClause(String orderByClause) {
|
|
|
|
- this.orderByClause = orderByClause;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public String getOrderByClause() {
|
|
|
|
- return orderByClause;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public void setDistinct(boolean distinct) {
|
|
|
|
- this.distinct = distinct;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public boolean isDistinct() {
|
|
|
|
- return distinct;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public List<Criteria> getOredCriteria() {
|
|
|
|
- return oredCriteria;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public void or(Criteria criteria) {
|
|
|
|
- oredCriteria.add(criteria);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample orderBy(String orderByClause) {
|
|
|
|
- this.setOrderByClause(orderByClause);
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public void setOffset(Integer offset) {
|
|
|
|
- this.offset = offset;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public Integer getOffset() {
|
|
|
|
- return this.offset;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public void setRows(Integer rows) {
|
|
|
|
- this.rows = rows;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public Integer getRows() {
|
|
|
|
- return this.rows;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample limit(Integer rows) {
|
|
|
|
- this.rows = rows;
|
|
|
|
- return this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public static Criteria newAndCreateCriteria() {
|
|
|
|
- SunStaticOrderExample example = new SunStaticOrderExample();
|
|
|
|
- return example.createCriteria();
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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(SunStaticOrder.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(SunStaticOrder.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(SunStaticOrder.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(SunStaticOrder.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(SunStaticOrder.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(SunStaticOrder.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 andActiveDateIsNull() {
|
|
|
|
- addCriterion("active_date is null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateIsNotNull() {
|
|
|
|
- addCriterion("active_date is not null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateEqualTo(String value) {
|
|
|
|
- addCriterion("active_date =", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_date = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateNotEqualTo(String value) {
|
|
|
|
- addCriterion("active_date <>", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateNotEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_date <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateGreaterThan(String value) {
|
|
|
|
- addCriterion("active_date >", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateGreaterThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_date > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateGreaterThanOrEqualTo(String value) {
|
|
|
|
- addCriterion("active_date >=", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateGreaterThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_date >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateLessThan(String value) {
|
|
|
|
- addCriterion("active_date <", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateLessThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_date < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateLessThanOrEqualTo(String value) {
|
|
|
|
- addCriterion("active_date <=", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateLessThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_date <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateLike(String value) {
|
|
|
|
- addCriterion("active_date like", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateNotLike(String value) {
|
|
|
|
- addCriterion("active_date not like", value, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateIn(List<String> values) {
|
|
|
|
- addCriterion("active_date in", values, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateNotIn(List<String> values) {
|
|
|
|
- addCriterion("active_date not in", values, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateBetween(String value1, String value2) {
|
|
|
|
- addCriterion("active_date between", value1, value2, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveDateNotBetween(String value1, String value2) {
|
|
|
|
- addCriterion("active_date not between", value1, value2, "activeDate");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountIsNull() {
|
|
|
|
- addCriterion("active_count is null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountIsNotNull() {
|
|
|
|
- addCriterion("active_count is not null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountEqualTo(String value) {
|
|
|
|
- addCriterion("active_count =", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_count = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountNotEqualTo(String value) {
|
|
|
|
- addCriterion("active_count <>", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountNotEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_count <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountGreaterThan(String value) {
|
|
|
|
- addCriterion("active_count >", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountGreaterThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_count > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountGreaterThanOrEqualTo(String value) {
|
|
|
|
- addCriterion("active_count >=", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountGreaterThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_count >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountLessThan(String value) {
|
|
|
|
- addCriterion("active_count <", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountLessThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_count < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountLessThanOrEqualTo(String value) {
|
|
|
|
- addCriterion("active_count <=", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountLessThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("active_count <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountLike(String value) {
|
|
|
|
- addCriterion("active_count like", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountNotLike(String value) {
|
|
|
|
- addCriterion("active_count not like", value, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountIn(List<String> values) {
|
|
|
|
- addCriterion("active_count in", values, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountNotIn(List<String> values) {
|
|
|
|
- addCriterion("active_count not in", values, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountBetween(String value1, String value2) {
|
|
|
|
- addCriterion("active_count between", value1, value2, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andActiveCountNotBetween(String value1, String value2) {
|
|
|
|
- addCriterion("active_count not between", value1, value2, "activeCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountIsNull() {
|
|
|
|
- addCriterion("recharge_user_count is null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountIsNotNull() {
|
|
|
|
- addCriterion("recharge_user_count is not null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_user_count =", value, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_user_count = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountNotEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_user_count <>", value, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountNotEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_user_count <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountGreaterThan(Integer value) {
|
|
|
|
- addCriterion("recharge_user_count >", value, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountGreaterThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_user_count > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountGreaterThanOrEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_user_count >=", value, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountGreaterThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_user_count >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountLessThan(Integer value) {
|
|
|
|
- addCriterion("recharge_user_count <", value, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountLessThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_user_count < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountLessThanOrEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_user_count <=", value, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountLessThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_user_count <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountIn(List<Integer> values) {
|
|
|
|
- addCriterion("recharge_user_count in", values, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountNotIn(List<Integer> values) {
|
|
|
|
- addCriterion("recharge_user_count not in", values, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountBetween(Integer value1, Integer value2) {
|
|
|
|
- addCriterion("recharge_user_count between", value1, value2, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeUserCountNotBetween(Integer value1, Integer value2) {
|
|
|
|
- addCriterion("recharge_user_count not between", value1, value2, "rechargeUserCount");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumIsNull() {
|
|
|
|
- addCriterion("recharge_sum is null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumIsNotNull() {
|
|
|
|
- addCriterion("recharge_sum is not null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_sum =", value, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_sum = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumNotEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_sum <>", value, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumNotEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_sum <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumGreaterThan(Integer value) {
|
|
|
|
- addCriterion("recharge_sum >", value, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumGreaterThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_sum > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumGreaterThanOrEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_sum >=", value, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumGreaterThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_sum >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumLessThan(Integer value) {
|
|
|
|
- addCriterion("recharge_sum <", value, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumLessThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_sum < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumLessThanOrEqualTo(Integer value) {
|
|
|
|
- addCriterion("recharge_sum <=", value, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumLessThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("recharge_sum <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumIn(List<Integer> values) {
|
|
|
|
- addCriterion("recharge_sum in", values, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumNotIn(List<Integer> values) {
|
|
|
|
- addCriterion("recharge_sum not in", values, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumBetween(Integer value1, Integer value2) {
|
|
|
|
- addCriterion("recharge_sum between", value1, value2, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andRechargeSumNotBetween(Integer value1, Integer value2) {
|
|
|
|
- addCriterion("recharge_sum not between", value1, value2, "rechargeSum");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeIsNull() {
|
|
|
|
- addCriterion("create_time is null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeIsNotNull() {
|
|
|
|
- addCriterion("create_time is not null");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeEqualTo(Date value) {
|
|
|
|
- addCriterion("create_time =", value, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("create_time = ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeNotEqualTo(Date value) {
|
|
|
|
- addCriterion("create_time <>", value, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeNotEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("create_time <> ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeGreaterThan(Date value) {
|
|
|
|
- addCriterion("create_time >", value, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeGreaterThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("create_time > ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
|
|
|
- addCriterion("create_time >=", value, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeGreaterThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("create_time >= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeLessThan(Date value) {
|
|
|
|
- addCriterion("create_time <", value, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeLessThanColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("create_time < ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
|
|
|
- addCriterion("create_time <=", value, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeLessThanOrEqualToColumn(SunStaticOrder.Column column) {
|
|
|
|
- addCriterion(new StringBuilder("create_time <= ").append(column.getEscapedColumnName()).toString());
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeIn(List<Date> values) {
|
|
|
|
- addCriterion("create_time in", values, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeNotIn(List<Date> values) {
|
|
|
|
- addCriterion("create_time not in", values, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
|
|
|
- addCriterion("create_time between", value1, value2, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
|
|
|
- addCriterion("create_time not between", value1, value2, "createTime");
|
|
|
|
- return (Criteria) this;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This class was generated by MyBatis Generator.
|
|
|
|
- * This class corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated do_not_delete_during_merge Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public static class Criteria extends GeneratedCriteria {
|
|
|
|
- /**
|
|
|
|
- * This field was generated by MyBatis Generator.
|
|
|
|
- * This field corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- private SunStaticOrderExample example;
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- protected Criteria(SunStaticOrderExample example) {
|
|
|
|
- super();
|
|
|
|
- this.example = example;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- public SunStaticOrderExample example() {
|
|
|
|
- return this.example;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- Criteria add(Criteria add);
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * This class was generated by MyBatis Generator.
|
|
|
|
- * This class corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 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 sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- void criteria(Criteria criteria);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public interface IExampleWhen {
|
|
|
|
- /**
|
|
|
|
- * This method was generated by MyBatis Generator.
|
|
|
|
- * This method corresponds to the database table sun_static_order
|
|
|
|
- *
|
|
|
|
- * @mbg.generated Sun Oct 10 12:25:38 CST 2021
|
|
|
|
- */
|
|
|
|
- void example(com.book.dao.polardb.pojo.example.SunStaticOrderExample example);
|
|
|
|
- }
|
|
|
|
-}
|
|
|