|
@@ -0,0 +1,861 @@
|
|
|
+package com.book.dao.polardb.pojo.example;
|
|
|
+
|
|
|
+import com.book.dao.polardb.entity.SunChannel;
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+public class SunChannelExample {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer offset;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ protected Integer rows;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample() {
|
|
|
+ oredCriteria = new ArrayList<Criteria>();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public String getOrderByClause() {
|
|
|
+ return orderByClause;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public boolean isDistinct() {
|
|
|
+ return distinct;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public List<Criteria> getOredCriteria() {
|
|
|
+ return oredCriteria;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample orderBy(String orderByClause) {
|
|
|
+ this.setOrderByClause(orderByClause);
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getOffset() {
|
|
|
+ return this.offset;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public Integer getRows() {
|
|
|
+ return this.rows;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample limit(Integer rows) {
|
|
|
+ this.rows = rows;
|
|
|
+ return this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public static Criteria newAndCreateCriteria() {
|
|
|
+ SunChannelExample example = new SunChannelExample();
|
|
|
+ return example.createCriteria();
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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 andChannelIdIsNull() {
|
|
|
+ addCriterion("channel_id is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdIsNotNull() {
|
|
|
+ addCriterion("channel_id is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdEqualTo(String value) {
|
|
|
+ addCriterion("channel_id =", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_id = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdNotEqualTo(String value) {
|
|
|
+ addCriterion("channel_id <>", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdNotEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_id <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdGreaterThan(String value) {
|
|
|
+ addCriterion("channel_id >", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdGreaterThanColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_id > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("channel_id >=", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdGreaterThanOrEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_id >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdLessThan(String value) {
|
|
|
+ addCriterion("channel_id <", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdLessThanColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_id < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("channel_id <=", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdLessThanOrEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_id <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdLike(String value) {
|
|
|
+ addCriterion("channel_id like", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdNotLike(String value) {
|
|
|
+ addCriterion("channel_id not like", value, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdIn(List<String> values) {
|
|
|
+ addCriterion("channel_id in", values, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdNotIn(List<String> values) {
|
|
|
+ addCriterion("channel_id not in", values, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdBetween(String value1, String value2) {
|
|
|
+ addCriterion("channel_id between", value1, value2, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelIdNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("channel_id not between", value1, value2, "channelId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameIsNull() {
|
|
|
+ addCriterion("account_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameIsNotNull() {
|
|
|
+ addCriterion("account_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameEqualTo(String value) {
|
|
|
+ addCriterion("account_name =", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("account_name = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameNotEqualTo(String value) {
|
|
|
+ addCriterion("account_name <>", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameNotEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("account_name <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameGreaterThan(String value) {
|
|
|
+ addCriterion("account_name >", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameGreaterThanColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("account_name > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("account_name >=", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameGreaterThanOrEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("account_name >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameLessThan(String value) {
|
|
|
+ addCriterion("account_name <", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameLessThanColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("account_name < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("account_name <=", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameLessThanOrEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("account_name <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameLike(String value) {
|
|
|
+ addCriterion("account_name like", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameNotLike(String value) {
|
|
|
+ addCriterion("account_name not like", value, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameIn(List<String> values) {
|
|
|
+ addCriterion("account_name in", values, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameNotIn(List<String> values) {
|
|
|
+ addCriterion("account_name not in", values, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameBetween(String value1, String value2) {
|
|
|
+ addCriterion("account_name between", value1, value2, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andAccountNameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("account_name not between", value1, value2, "accountName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameIsNull() {
|
|
|
+ addCriterion("channel_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameIsNotNull() {
|
|
|
+ addCriterion("channel_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameEqualTo(String value) {
|
|
|
+ addCriterion("channel_name =", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_name = ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameNotEqualTo(String value) {
|
|
|
+ addCriterion("channel_name <>", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameNotEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_name <> ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameGreaterThan(String value) {
|
|
|
+ addCriterion("channel_name >", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameGreaterThanColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_name > ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("channel_name >=", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameGreaterThanOrEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_name >= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameLessThan(String value) {
|
|
|
+ addCriterion("channel_name <", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameLessThanColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_name < ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("channel_name <=", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameLessThanOrEqualToColumn(SunChannel.Column column) {
|
|
|
+ addCriterion(new StringBuilder("channel_name <= ").append(column.getEscapedColumnName()).toString());
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameLike(String value) {
|
|
|
+ addCriterion("channel_name like", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameNotLike(String value) {
|
|
|
+ addCriterion("channel_name not like", value, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameIn(List<String> values) {
|
|
|
+ addCriterion("channel_name in", values, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameNotIn(List<String> values) {
|
|
|
+ addCriterion("channel_name not in", values, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameBetween(String value1, String value2) {
|
|
|
+ addCriterion("channel_name between", value1, value2, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andChannelNameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("channel_name not between", value1, value2, "channelName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated do_not_delete_during_merge Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
+ /**
|
|
|
+ * This field was generated by MyBatis Generator.
|
|
|
+ * This field corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ private SunChannelExample example;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ protected Criteria(SunChannelExample example) {
|
|
|
+ super();
|
|
|
+ this.example = example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ public SunChannelExample example() {
|
|
|
+ return this.example;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ Criteria add(Criteria add);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * This class was generated by MyBatis Generator.
|
|
|
+ * This class corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 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_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ void criteria(Criteria criteria);
|
|
|
+ }
|
|
|
+
|
|
|
+ public interface IExampleWhen {
|
|
|
+ /**
|
|
|
+ * This method was generated by MyBatis Generator.
|
|
|
+ * This method corresponds to the database table sun_channel
|
|
|
+ *
|
|
|
+ * @mbg.generated Wed Sep 29 19:29:34 CST 2021
|
|
|
+ */
|
|
|
+ void example(com.book.dao.polardb.pojo.example.SunChannelExample example);
|
|
|
+ }
|
|
|
+}
|