Browse Source

新增回收统计表

tianyunperfect 3 years ago
parent
commit
302a6d2c77
17 changed files with 10689 additions and 1 deletions
  1. 495 0
      book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncome.java
  2. 564 0
      book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncomeChannel.java
  3. 333 0
      book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncomeHundred.java
  4. 356 0
      book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncomeHundredChannel.java
  5. 164 0
      book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeChannelMapper.java
  6. 164 0
      book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeHundredChannelMapper.java
  7. 164 0
      book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeHundredMapper.java
  8. 164 0
      book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeMapper.java
  9. 1912 0
      book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeChannelExample.java
  10. 1612 0
      book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeExample.java
  11. 1041 0
      book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeHundredChannelExample.java
  12. 941 0
      book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeHundredExample.java
  13. 858 0
      book-dao/src/main/resources/mapper/polar/SunStaticIncomeChannelMapper.xml
  14. 588 0
      book-dao/src/main/resources/mapper/polar/SunStaticIncomeHundredChannelMapper.xml
  15. 560 0
      book-dao/src/main/resources/mapper/polar/SunStaticIncomeHundredMapper.xml
  16. 768 0
      book-dao/src/main/resources/mapper/polar/SunStaticIncomeMapper.xml
  17. 5 1
      book-dao/src/main/resources/polar-mybatis-generator.xml

+ 495 - 0
book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncome.java

@@ -0,0 +1,495 @@
+package com.book.dao.polardb.entity;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Date;
+import lombok.Data;
+
+@Data
+public class SunStaticIncome implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.id
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.static_date
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String staticDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.new_user_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer newUserCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.new_follow_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer newFollowCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.new_recharge_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String newRechargeCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.all_spend
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String allSpend;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.first_roi
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String firstRoi;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.all_recharge
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String allRecharge;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.all_roi
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String allRoi;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.insert_time
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Date insertTime;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income.update_time
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Date updateTime;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static SunStaticIncome.Builder builder() {
+        return new SunStaticIncome.Builder();
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Builder {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncome obj;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder() {
+            this.obj = new SunStaticIncome();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.id
+         *
+         * @param id the value for sun_static_income.id
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder id(Integer id) {
+            obj.setId(id);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.static_date
+         *
+         * @param staticDate the value for sun_static_income.static_date
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder staticDate(String staticDate) {
+            obj.setStaticDate(staticDate);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.new_user_count
+         *
+         * @param newUserCount the value for sun_static_income.new_user_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder newUserCount(Integer newUserCount) {
+            obj.setNewUserCount(newUserCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.new_follow_count
+         *
+         * @param newFollowCount the value for sun_static_income.new_follow_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder newFollowCount(Integer newFollowCount) {
+            obj.setNewFollowCount(newFollowCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.new_recharge_count
+         *
+         * @param newRechargeCount the value for sun_static_income.new_recharge_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder newRechargeCount(String newRechargeCount) {
+            obj.setNewRechargeCount(newRechargeCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.all_spend
+         *
+         * @param allSpend the value for sun_static_income.all_spend
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder allSpend(String allSpend) {
+            obj.setAllSpend(allSpend);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.first_roi
+         *
+         * @param firstRoi the value for sun_static_income.first_roi
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder firstRoi(String firstRoi) {
+            obj.setFirstRoi(firstRoi);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.all_recharge
+         *
+         * @param allRecharge the value for sun_static_income.all_recharge
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder allRecharge(String allRecharge) {
+            obj.setAllRecharge(allRecharge);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.all_roi
+         *
+         * @param allRoi the value for sun_static_income.all_roi
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder allRoi(String allRoi) {
+            obj.setAllRoi(allRoi);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.insert_time
+         *
+         * @param insertTime the value for sun_static_income.insert_time
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder insertTime(Date insertTime) {
+            obj.setInsertTime(insertTime);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income.update_time
+         *
+         * @param updateTime the value for sun_static_income.update_time
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder updateTime(Date updateTime) {
+            obj.setUpdateTime(updateTime);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncome build() {
+            return this.obj;
+        }
+    }
+
+    /**
+     * This enum was generated by MyBatis Generator.
+     * This enum corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public enum Column {
+        id("id", "id", "INTEGER", false),
+        staticDate("static_date", "staticDate", "VARCHAR", false),
+        newUserCount("new_user_count", "newUserCount", "INTEGER", false),
+        newFollowCount("new_follow_count", "newFollowCount", "INTEGER", false),
+        newRechargeCount("new_recharge_count", "newRechargeCount", "VARCHAR", false),
+        allSpend("all_spend", "allSpend", "VARCHAR", false),
+        firstRoi("first_roi", "firstRoi", "VARCHAR", false),
+        allRecharge("all_recharge", "allRecharge", "VARCHAR", false),
+        allRoi("all_roi", "allRoi", "VARCHAR", false),
+        insertTime("insert_time", "insertTime", "TIMESTAMP", false),
+        updateTime("update_time", "updateTime", "TIMESTAMP", false);
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String BEGINNING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String ENDING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String column;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final boolean isColumnNameDelimited;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String javaProperty;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String jdbcType;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String value() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getValue() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJavaProperty() {
+            return this.javaProperty;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJdbcType() {
+            return this.jdbcType;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
+            this.column = column;
+            this.javaProperty = javaProperty;
+            this.jdbcType = jdbcType;
+            this.isColumnNameDelimited = isColumnNameDelimited;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String desc() {
+            return this.getEscapedColumnName() + " DESC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String asc() {
+            return this.getEscapedColumnName() + " ASC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] excludes(Column ... excludes) {
+            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
+            if (excludes != null && excludes.length > 0) {
+                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
+            }
+            return columns.toArray(new Column[]{});
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] all() {
+            return Column.values();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getEscapedColumnName() {
+            if (this.isColumnNameDelimited) {
+                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+            } else {
+                return this.column;
+            }
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getAliasedEscapedColumnName() {
+            return this.getEscapedColumnName();
+        }
+    }
+}

+ 564 - 0
book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncomeChannel.java

@@ -0,0 +1,564 @@
+package com.book.dao.polardb.entity;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.Date;
+import lombok.Data;
+
+@Data
+public class SunStaticIncomeChannel implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.id
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.static_date
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String staticDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.channel_id
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String channelId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.channel_name
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String channelName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.book_name
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String bookName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.new_user_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer newUserCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.new_follow_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer newFollowCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.new_recharge_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String newRechargeCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.all_spend
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String allSpend;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.first_roi
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String firstRoi;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.all_recharge
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String allRecharge;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.all_roi
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String allRoi;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.insert_time
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Date insertTime;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_channel.update_time
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Date updateTime;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static SunStaticIncomeChannel.Builder builder() {
+        return new SunStaticIncomeChannel.Builder();
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Builder {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeChannel obj;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder() {
+            this.obj = new SunStaticIncomeChannel();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.id
+         *
+         * @param id the value for sun_static_income_channel.id
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder id(Integer id) {
+            obj.setId(id);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.static_date
+         *
+         * @param staticDate the value for sun_static_income_channel.static_date
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder staticDate(String staticDate) {
+            obj.setStaticDate(staticDate);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.channel_id
+         *
+         * @param channelId the value for sun_static_income_channel.channel_id
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder channelId(String channelId) {
+            obj.setChannelId(channelId);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.channel_name
+         *
+         * @param channelName the value for sun_static_income_channel.channel_name
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder channelName(String channelName) {
+            obj.setChannelName(channelName);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.book_name
+         *
+         * @param bookName the value for sun_static_income_channel.book_name
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder bookName(String bookName) {
+            obj.setBookName(bookName);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.new_user_count
+         *
+         * @param newUserCount the value for sun_static_income_channel.new_user_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder newUserCount(Integer newUserCount) {
+            obj.setNewUserCount(newUserCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.new_follow_count
+         *
+         * @param newFollowCount the value for sun_static_income_channel.new_follow_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder newFollowCount(Integer newFollowCount) {
+            obj.setNewFollowCount(newFollowCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.new_recharge_count
+         *
+         * @param newRechargeCount the value for sun_static_income_channel.new_recharge_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder newRechargeCount(String newRechargeCount) {
+            obj.setNewRechargeCount(newRechargeCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.all_spend
+         *
+         * @param allSpend the value for sun_static_income_channel.all_spend
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder allSpend(String allSpend) {
+            obj.setAllSpend(allSpend);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.first_roi
+         *
+         * @param firstRoi the value for sun_static_income_channel.first_roi
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder firstRoi(String firstRoi) {
+            obj.setFirstRoi(firstRoi);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.all_recharge
+         *
+         * @param allRecharge the value for sun_static_income_channel.all_recharge
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder allRecharge(String allRecharge) {
+            obj.setAllRecharge(allRecharge);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.all_roi
+         *
+         * @param allRoi the value for sun_static_income_channel.all_roi
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder allRoi(String allRoi) {
+            obj.setAllRoi(allRoi);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.insert_time
+         *
+         * @param insertTime the value for sun_static_income_channel.insert_time
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder insertTime(Date insertTime) {
+            obj.setInsertTime(insertTime);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_channel.update_time
+         *
+         * @param updateTime the value for sun_static_income_channel.update_time
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder updateTime(Date updateTime) {
+            obj.setUpdateTime(updateTime);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeChannel build() {
+            return this.obj;
+        }
+    }
+
+    /**
+     * This enum was generated by MyBatis Generator.
+     * This enum corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public enum Column {
+        id("id", "id", "INTEGER", false),
+        staticDate("static_date", "staticDate", "VARCHAR", false),
+        channelId("channel_id", "channelId", "VARCHAR", false),
+        channelName("channel_name", "channelName", "VARCHAR", false),
+        bookName("book_name", "bookName", "VARCHAR", false),
+        newUserCount("new_user_count", "newUserCount", "INTEGER", false),
+        newFollowCount("new_follow_count", "newFollowCount", "INTEGER", false),
+        newRechargeCount("new_recharge_count", "newRechargeCount", "VARCHAR", false),
+        allSpend("all_spend", "allSpend", "VARCHAR", false),
+        firstRoi("first_roi", "firstRoi", "VARCHAR", false),
+        allRecharge("all_recharge", "allRecharge", "VARCHAR", false),
+        allRoi("all_roi", "allRoi", "VARCHAR", false),
+        insertTime("insert_time", "insertTime", "TIMESTAMP", false),
+        updateTime("update_time", "updateTime", "TIMESTAMP", false);
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String BEGINNING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String ENDING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String column;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final boolean isColumnNameDelimited;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String javaProperty;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String jdbcType;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String value() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getValue() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJavaProperty() {
+            return this.javaProperty;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJdbcType() {
+            return this.jdbcType;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
+            this.column = column;
+            this.javaProperty = javaProperty;
+            this.jdbcType = jdbcType;
+            this.isColumnNameDelimited = isColumnNameDelimited;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String desc() {
+            return this.getEscapedColumnName() + " DESC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String asc() {
+            return this.getEscapedColumnName() + " ASC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] excludes(Column ... excludes) {
+            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
+            if (excludes != null && excludes.length > 0) {
+                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
+            }
+            return columns.toArray(new Column[]{});
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] all() {
+            return Column.values();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getEscapedColumnName() {
+            if (this.isColumnNameDelimited) {
+                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+            } else {
+                return this.column;
+            }
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getAliasedEscapedColumnName() {
+            return this.getEscapedColumnName();
+        }
+    }
+}

+ 333 - 0
book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncomeHundred.java

@@ -0,0 +1,333 @@
+package com.book.dao.polardb.entity;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Arrays;
+import lombok.Data;
+
+@Data
+public class SunStaticIncomeHundred implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred.id
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred.static_date
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String staticDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred.recharge_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String rechargeCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred.day_num
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer dayNum;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static SunStaticIncomeHundred.Builder builder() {
+        return new SunStaticIncomeHundred.Builder();
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Builder {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeHundred obj;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder() {
+            this.obj = new SunStaticIncomeHundred();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred.id
+         *
+         * @param id the value for sun_static_income_hundred.id
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder id(Integer id) {
+            obj.setId(id);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred.static_date
+         *
+         * @param staticDate the value for sun_static_income_hundred.static_date
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder staticDate(String staticDate) {
+            obj.setStaticDate(staticDate);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred.recharge_count
+         *
+         * @param rechargeCount the value for sun_static_income_hundred.recharge_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder rechargeCount(String rechargeCount) {
+            obj.setRechargeCount(rechargeCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred.day_num
+         *
+         * @param dayNum the value for sun_static_income_hundred.day_num
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder dayNum(Integer dayNum) {
+            obj.setDayNum(dayNum);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeHundred build() {
+            return this.obj;
+        }
+    }
+
+    /**
+     * This enum was generated by MyBatis Generator.
+     * This enum corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public enum Column {
+        id("id", "id", "INTEGER", false),
+        staticDate("static_date", "staticDate", "VARCHAR", false),
+        rechargeCount("recharge_count", "rechargeCount", "VARCHAR", false),
+        dayNum("day_num", "dayNum", "INTEGER", false);
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String BEGINNING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String ENDING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String column;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final boolean isColumnNameDelimited;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String javaProperty;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String jdbcType;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String value() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getValue() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJavaProperty() {
+            return this.javaProperty;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJdbcType() {
+            return this.jdbcType;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
+            this.column = column;
+            this.javaProperty = javaProperty;
+            this.jdbcType = jdbcType;
+            this.isColumnNameDelimited = isColumnNameDelimited;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String desc() {
+            return this.getEscapedColumnName() + " DESC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String asc() {
+            return this.getEscapedColumnName() + " ASC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] excludes(Column ... excludes) {
+            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
+            if (excludes != null && excludes.length > 0) {
+                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
+            }
+            return columns.toArray(new Column[]{});
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] all() {
+            return Column.values();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getEscapedColumnName() {
+            if (this.isColumnNameDelimited) {
+                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+            } else {
+                return this.column;
+            }
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getAliasedEscapedColumnName() {
+            return this.getEscapedColumnName();
+        }
+    }
+}

+ 356 - 0
book-dao/src/main/java/com/book/dao/polardb/entity/SunStaticIncomeHundredChannel.java

@@ -0,0 +1,356 @@
+package com.book.dao.polardb.entity;
+
+import java.io.Serializable;
+import java.util.ArrayList;
+import java.util.Arrays;
+import lombok.Data;
+
+@Data
+public class SunStaticIncomeHundredChannel implements Serializable {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred_channel.id
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer id;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred_channel.static_date
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String staticDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred_channel.channel_id
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String channelId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred_channel.recharge_count
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private String rechargeCount;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column sun_static_income_hundred_channel.day_num
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private Integer dayNum;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    private static final long serialVersionUID = 1L;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static SunStaticIncomeHundredChannel.Builder builder() {
+        return new SunStaticIncomeHundredChannel.Builder();
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Builder {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeHundredChannel obj;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder() {
+            this.obj = new SunStaticIncomeHundredChannel();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred_channel.id
+         *
+         * @param id the value for sun_static_income_hundred_channel.id
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder id(Integer id) {
+            obj.setId(id);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred_channel.static_date
+         *
+         * @param staticDate the value for sun_static_income_hundred_channel.static_date
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder staticDate(String staticDate) {
+            obj.setStaticDate(staticDate);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred_channel.channel_id
+         *
+         * @param channelId the value for sun_static_income_hundred_channel.channel_id
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder channelId(String channelId) {
+            obj.setChannelId(channelId);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred_channel.recharge_count
+         *
+         * @param rechargeCount the value for sun_static_income_hundred_channel.recharge_count
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder rechargeCount(String rechargeCount) {
+            obj.setRechargeCount(rechargeCount);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method sets the value of the database column sun_static_income_hundred_channel.day_num
+         *
+         * @param dayNum the value for sun_static_income_hundred_channel.day_num
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public Builder dayNum(Integer dayNum) {
+            obj.setDayNum(dayNum);
+            return this;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeHundredChannel build() {
+            return this.obj;
+        }
+    }
+
+    /**
+     * This enum was generated by MyBatis Generator.
+     * This enum corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public enum Column {
+        id("id", "id", "INTEGER", false),
+        staticDate("static_date", "staticDate", "VARCHAR", false),
+        channelId("channel_id", "channelId", "VARCHAR", false),
+        rechargeCount("recharge_count", "rechargeCount", "VARCHAR", false),
+        dayNum("day_num", "dayNum", "INTEGER", false);
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String BEGINNING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private static final String ENDING_DELIMITER = "\"";
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String column;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final boolean isColumnNameDelimited;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String javaProperty;
+
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private final String jdbcType;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String value() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getValue() {
+            return this.column;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJavaProperty() {
+            return this.javaProperty;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getJdbcType() {
+            return this.jdbcType;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
+            this.column = column;
+            this.javaProperty = javaProperty;
+            this.jdbcType = jdbcType;
+            this.isColumnNameDelimited = isColumnNameDelimited;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String desc() {
+            return this.getEscapedColumnName() + " DESC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String asc() {
+            return this.getEscapedColumnName() + " ASC";
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] excludes(Column ... excludes) {
+            ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
+            if (excludes != null && excludes.length > 0) {
+                columns.removeAll(new ArrayList<>(Arrays.asList(excludes)));
+            }
+            return columns.toArray(new Column[]{});
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public static Column[] all() {
+            return Column.values();
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getEscapedColumnName() {
+            if (this.isColumnNameDelimited) {
+                return new StringBuilder().append(BEGINNING_DELIMITER).append(this.column).append(ENDING_DELIMITER).toString();
+            } else {
+                return this.column;
+            }
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public String getAliasedEscapedColumnName() {
+            return this.getEscapedColumnName();
+        }
+    }
+}

+ 164 - 0
book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeChannelMapper.java

@@ -0,0 +1,164 @@
+package com.book.dao.polardb.mapper;
+
+import com.book.dao.polardb.entity.SunStaticIncomeChannel;
+import com.book.dao.polardb.pojo.example.SunStaticIncomeChannelExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface SunStaticIncomeChannelMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    long countByExample(SunStaticIncomeChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByExample(SunStaticIncomeChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insert(SunStaticIncomeChannel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insertSelective(@Param("record") SunStaticIncomeChannel record, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeChannel selectOneByExample(SunStaticIncomeChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeChannel selectOneByExampleSelective(@Param("example") SunStaticIncomeChannelExample example, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncomeChannel> selectByExampleSelective(@Param("example") SunStaticIncomeChannelExample example, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncomeChannel> selectByExample(SunStaticIncomeChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeChannel selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeChannel selectByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExampleSelective(@Param("record") SunStaticIncomeChannel record, @Param("example") SunStaticIncomeChannelExample example, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExample(@Param("record") SunStaticIncomeChannel record, @Param("example") SunStaticIncomeChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKeySelective(@Param("record") SunStaticIncomeChannel record, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKey(SunStaticIncomeChannel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsert(@Param("list") List<SunStaticIncomeChannel> list);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsertSelective(@Param("list") List<SunStaticIncomeChannel> list, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsert(SunStaticIncomeChannel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsertSelective(@Param("record") SunStaticIncomeChannel record, @Param("selective") SunStaticIncomeChannel.Column ... selective);
+}

+ 164 - 0
book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeHundredChannelMapper.java

@@ -0,0 +1,164 @@
+package com.book.dao.polardb.mapper;
+
+import com.book.dao.polardb.entity.SunStaticIncomeHundredChannel;
+import com.book.dao.polardb.pojo.example.SunStaticIncomeHundredChannelExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface SunStaticIncomeHundredChannelMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    long countByExample(SunStaticIncomeHundredChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByExample(SunStaticIncomeHundredChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insert(SunStaticIncomeHundredChannel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insertSelective(@Param("record") SunStaticIncomeHundredChannel record, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundredChannel selectOneByExample(SunStaticIncomeHundredChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundredChannel selectOneByExampleSelective(@Param("example") SunStaticIncomeHundredChannelExample example, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncomeHundredChannel> selectByExampleSelective(@Param("example") SunStaticIncomeHundredChannelExample example, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncomeHundredChannel> selectByExample(SunStaticIncomeHundredChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundredChannel selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundredChannel selectByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExampleSelective(@Param("record") SunStaticIncomeHundredChannel record, @Param("example") SunStaticIncomeHundredChannelExample example, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExample(@Param("record") SunStaticIncomeHundredChannel record, @Param("example") SunStaticIncomeHundredChannelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKeySelective(@Param("record") SunStaticIncomeHundredChannel record, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKey(SunStaticIncomeHundredChannel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsert(@Param("list") List<SunStaticIncomeHundredChannel> list);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsertSelective(@Param("list") List<SunStaticIncomeHundredChannel> list, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsert(SunStaticIncomeHundredChannel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsertSelective(@Param("record") SunStaticIncomeHundredChannel record, @Param("selective") SunStaticIncomeHundredChannel.Column ... selective);
+}

+ 164 - 0
book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeHundredMapper.java

@@ -0,0 +1,164 @@
+package com.book.dao.polardb.mapper;
+
+import com.book.dao.polardb.entity.SunStaticIncomeHundred;
+import com.book.dao.polardb.pojo.example.SunStaticIncomeHundredExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface SunStaticIncomeHundredMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    long countByExample(SunStaticIncomeHundredExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByExample(SunStaticIncomeHundredExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insert(SunStaticIncomeHundred record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insertSelective(@Param("record") SunStaticIncomeHundred record, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundred selectOneByExample(SunStaticIncomeHundredExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundred selectOneByExampleSelective(@Param("example") SunStaticIncomeHundredExample example, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncomeHundred> selectByExampleSelective(@Param("example") SunStaticIncomeHundredExample example, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncomeHundred> selectByExample(SunStaticIncomeHundredExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundred selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncomeHundred selectByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExampleSelective(@Param("record") SunStaticIncomeHundred record, @Param("example") SunStaticIncomeHundredExample example, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExample(@Param("record") SunStaticIncomeHundred record, @Param("example") SunStaticIncomeHundredExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKeySelective(@Param("record") SunStaticIncomeHundred record, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKey(SunStaticIncomeHundred record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsert(@Param("list") List<SunStaticIncomeHundred> list);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsertSelective(@Param("list") List<SunStaticIncomeHundred> list, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsert(SunStaticIncomeHundred record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsertSelective(@Param("record") SunStaticIncomeHundred record, @Param("selective") SunStaticIncomeHundred.Column ... selective);
+}

+ 164 - 0
book-dao/src/main/java/com/book/dao/polardb/mapper/SunStaticIncomeMapper.java

@@ -0,0 +1,164 @@
+package com.book.dao.polardb.mapper;
+
+import com.book.dao.polardb.entity.SunStaticIncome;
+import com.book.dao.polardb.pojo.example.SunStaticIncomeExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+@Mapper
+@Repository
+public interface SunStaticIncomeMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    long countByExample(SunStaticIncomeExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByExample(SunStaticIncomeExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int deleteByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insert(SunStaticIncome record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int insertSelective(@Param("record") SunStaticIncome record, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncome selectOneByExample(SunStaticIncomeExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncome selectOneByExampleSelective(@Param("example") SunStaticIncomeExample example, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncome> selectByExampleSelective(@Param("example") SunStaticIncomeExample example, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    List<SunStaticIncome> selectByExample(SunStaticIncomeExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncome selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    SunStaticIncome selectByPrimaryKey(Integer id);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExampleSelective(@Param("record") SunStaticIncome record, @Param("example") SunStaticIncomeExample example, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByExample(@Param("record") SunStaticIncome record, @Param("example") SunStaticIncomeExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKeySelective(@Param("record") SunStaticIncome record, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int updateByPrimaryKey(SunStaticIncome record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsert(@Param("list") List<SunStaticIncome> list);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int batchInsertSelective(@Param("list") List<SunStaticIncome> list, @Param("selective") SunStaticIncome.Column ... selective);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsert(SunStaticIncome record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    int upsertSelective(@Param("record") SunStaticIncome record, @Param("selective") SunStaticIncome.Column ... selective);
+}

+ 1912 - 0
book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeChannelExample.java

@@ -0,0 +1,1912 @@
+package com.book.dao.polardb.pojo.example;
+
+import com.book.dao.polardb.entity.SunStaticIncomeChannel;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class SunStaticIncomeChannelExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer offset;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer rows;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample orderBy(String orderByClause) {
+        this.setOrderByClause(orderByClause);
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getOffset() {
+        return this.offset;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getRows() {
+        return this.rows;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample limit(Integer rows) {
+        this.rows = rows;
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static Criteria newAndCreateCriteria() {
+        SunStaticIncomeChannelExample example = new SunStaticIncomeChannelExample();
+        return example.createCriteria();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeChannelExample 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_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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 andStaticDateIsNull() {
+            addCriterion("static_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIsNotNull() {
+            addCriterion("static_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualTo(String value) {
+            addCriterion("static_date =", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("static_date = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualTo(String value) {
+            addCriterion("static_date <>", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("static_date <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThan(String value) {
+            addCriterion("static_date >", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("static_date > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualTo(String value) {
+            addCriterion("static_date >=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("static_date >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThan(String value) {
+            addCriterion("static_date <", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("static_date < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualTo(String value) {
+            addCriterion("static_date <=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("static_date <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLike(String value) {
+            addCriterion("static_date like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotLike(String value) {
+            addCriterion("static_date not like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIn(List<String> values) {
+            addCriterion("static_date in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotIn(List<String> values) {
+            addCriterion("static_date not in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateBetween(String value1, String value2) {
+            addCriterion("static_date between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotBetween(String value1, String value2) {
+            addCriterion("static_date not between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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 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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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;
+        }
+
+        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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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(SunStaticIncomeChannel.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 andNewUserCountIsNull() {
+            addCriterion("new_user_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountIsNotNull() {
+            addCriterion("new_user_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountEqualTo(Integer value) {
+            addCriterion("new_user_count =", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_user_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotEqualTo(Integer value) {
+            addCriterion("new_user_count <>", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_user_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThan(Integer value) {
+            addCriterion("new_user_count >", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_user_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThanOrEqualTo(Integer value) {
+            addCriterion("new_user_count >=", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_user_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThan(Integer value) {
+            addCriterion("new_user_count <", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_user_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThanOrEqualTo(Integer value) {
+            addCriterion("new_user_count <=", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_user_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountIn(List<Integer> values) {
+            addCriterion("new_user_count in", values, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotIn(List<Integer> values) {
+            addCriterion("new_user_count not in", values, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountBetween(Integer value1, Integer value2) {
+            addCriterion("new_user_count between", value1, value2, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotBetween(Integer value1, Integer value2) {
+            addCriterion("new_user_count not between", value1, value2, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountIsNull() {
+            addCriterion("new_follow_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountIsNotNull() {
+            addCriterion("new_follow_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountEqualTo(Integer value) {
+            addCriterion("new_follow_count =", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_follow_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotEqualTo(Integer value) {
+            addCriterion("new_follow_count <>", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_follow_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThan(Integer value) {
+            addCriterion("new_follow_count >", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_follow_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThanOrEqualTo(Integer value) {
+            addCriterion("new_follow_count >=", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_follow_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThan(Integer value) {
+            addCriterion("new_follow_count <", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_follow_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThanOrEqualTo(Integer value) {
+            addCriterion("new_follow_count <=", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_follow_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountIn(List<Integer> values) {
+            addCriterion("new_follow_count in", values, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotIn(List<Integer> values) {
+            addCriterion("new_follow_count not in", values, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountBetween(Integer value1, Integer value2) {
+            addCriterion("new_follow_count between", value1, value2, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotBetween(Integer value1, Integer value2) {
+            addCriterion("new_follow_count not between", value1, value2, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountIsNull() {
+            addCriterion("new_recharge_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountIsNotNull() {
+            addCriterion("new_recharge_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountEqualTo(String value) {
+            addCriterion("new_recharge_count =", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotEqualTo(String value) {
+            addCriterion("new_recharge_count <>", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThan(String value) {
+            addCriterion("new_recharge_count >", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThanOrEqualTo(String value) {
+            addCriterion("new_recharge_count >=", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThan(String value) {
+            addCriterion("new_recharge_count <", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThanOrEqualTo(String value) {
+            addCriterion("new_recharge_count <=", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLike(String value) {
+            addCriterion("new_recharge_count like", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotLike(String value) {
+            addCriterion("new_recharge_count not like", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountIn(List<String> values) {
+            addCriterion("new_recharge_count in", values, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotIn(List<String> values) {
+            addCriterion("new_recharge_count not in", values, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountBetween(String value1, String value2) {
+            addCriterion("new_recharge_count between", value1, value2, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotBetween(String value1, String value2) {
+            addCriterion("new_recharge_count not between", value1, value2, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendIsNull() {
+            addCriterion("all_spend is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendIsNotNull() {
+            addCriterion("all_spend is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendEqualTo(String value) {
+            addCriterion("all_spend =", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_spend = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotEqualTo(String value) {
+            addCriterion("all_spend <>", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_spend <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThan(String value) {
+            addCriterion("all_spend >", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_spend > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThanOrEqualTo(String value) {
+            addCriterion("all_spend >=", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_spend >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThan(String value) {
+            addCriterion("all_spend <", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_spend < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThanOrEqualTo(String value) {
+            addCriterion("all_spend <=", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_spend <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLike(String value) {
+            addCriterion("all_spend like", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotLike(String value) {
+            addCriterion("all_spend not like", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendIn(List<String> values) {
+            addCriterion("all_spend in", values, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotIn(List<String> values) {
+            addCriterion("all_spend not in", values, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendBetween(String value1, String value2) {
+            addCriterion("all_spend between", value1, value2, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotBetween(String value1, String value2) {
+            addCriterion("all_spend not between", value1, value2, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiIsNull() {
+            addCriterion("first_roi is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiIsNotNull() {
+            addCriterion("first_roi is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiEqualTo(String value) {
+            addCriterion("first_roi =", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("first_roi = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotEqualTo(String value) {
+            addCriterion("first_roi <>", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("first_roi <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThan(String value) {
+            addCriterion("first_roi >", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("first_roi > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThanOrEqualTo(String value) {
+            addCriterion("first_roi >=", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("first_roi >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThan(String value) {
+            addCriterion("first_roi <", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("first_roi < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThanOrEqualTo(String value) {
+            addCriterion("first_roi <=", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("first_roi <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLike(String value) {
+            addCriterion("first_roi like", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotLike(String value) {
+            addCriterion("first_roi not like", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiIn(List<String> values) {
+            addCriterion("first_roi in", values, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotIn(List<String> values) {
+            addCriterion("first_roi not in", values, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiBetween(String value1, String value2) {
+            addCriterion("first_roi between", value1, value2, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotBetween(String value1, String value2) {
+            addCriterion("first_roi not between", value1, value2, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeIsNull() {
+            addCriterion("all_recharge is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeIsNotNull() {
+            addCriterion("all_recharge is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeEqualTo(String value) {
+            addCriterion("all_recharge =", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_recharge = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotEqualTo(String value) {
+            addCriterion("all_recharge <>", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_recharge <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThan(String value) {
+            addCriterion("all_recharge >", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_recharge > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThanOrEqualTo(String value) {
+            addCriterion("all_recharge >=", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_recharge >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThan(String value) {
+            addCriterion("all_recharge <", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_recharge < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThanOrEqualTo(String value) {
+            addCriterion("all_recharge <=", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_recharge <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLike(String value) {
+            addCriterion("all_recharge like", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotLike(String value) {
+            addCriterion("all_recharge not like", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeIn(List<String> values) {
+            addCriterion("all_recharge in", values, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotIn(List<String> values) {
+            addCriterion("all_recharge not in", values, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeBetween(String value1, String value2) {
+            addCriterion("all_recharge between", value1, value2, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotBetween(String value1, String value2) {
+            addCriterion("all_recharge not between", value1, value2, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiIsNull() {
+            addCriterion("all_roi is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiIsNotNull() {
+            addCriterion("all_roi is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiEqualTo(String value) {
+            addCriterion("all_roi =", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_roi = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotEqualTo(String value) {
+            addCriterion("all_roi <>", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_roi <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThan(String value) {
+            addCriterion("all_roi >", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_roi > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThanOrEqualTo(String value) {
+            addCriterion("all_roi >=", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_roi >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThan(String value) {
+            addCriterion("all_roi <", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_roi < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThanOrEqualTo(String value) {
+            addCriterion("all_roi <=", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("all_roi <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLike(String value) {
+            addCriterion("all_roi like", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotLike(String value) {
+            addCriterion("all_roi not like", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiIn(List<String> values) {
+            addCriterion("all_roi in", values, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotIn(List<String> values) {
+            addCriterion("all_roi not in", values, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiBetween(String value1, String value2) {
+            addCriterion("all_roi between", value1, value2, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotBetween(String value1, String value2) {
+            addCriterion("all_roi not between", value1, value2, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeIsNull() {
+            addCriterion("insert_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeIsNotNull() {
+            addCriterion("insert_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeEqualTo(Date value) {
+            addCriterion("insert_time =", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("insert_time = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotEqualTo(Date value) {
+            addCriterion("insert_time <>", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("insert_time <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThan(Date value) {
+            addCriterion("insert_time >", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("insert_time > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThanOrEqualTo(Date value) {
+            addCriterion("insert_time >=", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("insert_time >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThan(Date value) {
+            addCriterion("insert_time <", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("insert_time < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThanOrEqualTo(Date value) {
+            addCriterion("insert_time <=", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("insert_time <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeIn(List<Date> values) {
+            addCriterion("insert_time in", values, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotIn(List<Date> values) {
+            addCriterion("insert_time not in", values, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeBetween(Date value1, Date value2) {
+            addCriterion("insert_time between", value1, value2, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotBetween(Date value1, Date value2) {
+            addCriterion("insert_time not between", value1, value2, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIsNull() {
+            addCriterion("update_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIsNotNull() {
+            addCriterion("update_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeEqualTo(Date value) {
+            addCriterion("update_time =", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotEqualTo(Date value) {
+            addCriterion("update_time <>", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThan(Date value) {
+            addCriterion("update_time >", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+            addCriterion("update_time >=", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThan(Date value) {
+            addCriterion("update_time <", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+            addCriterion("update_time <=", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanOrEqualToColumn(SunStaticIncomeChannel.Column column) {
+            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIn(List<Date> values) {
+            addCriterion("update_time in", values, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotIn(List<Date> values) {
+            addCriterion("update_time not in", values, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+            addCriterion("update_time between", value1, value2, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+            addCriterion("update_time not between", value1, value2, "updateTime");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated do_not_delete_during_merge Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Criteria extends GeneratedCriteria {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeChannelExample example;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        protected Criteria(SunStaticIncomeChannelExample example) {
+            super();
+            this.example = example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeChannelExample example() {
+            return this.example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+             *
+             * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+             */
+            Criteria add(Criteria add);
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        void example(com.book.dao.polardb.pojo.example.SunStaticIncomeChannelExample example);
+    }
+}

+ 1612 - 0
book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeExample.java

@@ -0,0 +1,1612 @@
+package com.book.dao.polardb.pojo.example;
+
+import com.book.dao.polardb.entity.SunStaticIncome;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class SunStaticIncomeExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer offset;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer rows;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample orderBy(String orderByClause) {
+        this.setOrderByClause(orderByClause);
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getOffset() {
+        return this.offset;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getRows() {
+        return this.rows;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample limit(Integer rows) {
+        this.rows = rows;
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static Criteria newAndCreateCriteria() {
+        SunStaticIncomeExample example = new SunStaticIncomeExample();
+        return example.createCriteria();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeExample 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_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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(SunStaticIncome.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(SunStaticIncome.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(SunStaticIncome.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(SunStaticIncome.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(SunStaticIncome.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(SunStaticIncome.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 andStaticDateIsNull() {
+            addCriterion("static_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIsNotNull() {
+            addCriterion("static_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualTo(String value) {
+            addCriterion("static_date =", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("static_date = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualTo(String value) {
+            addCriterion("static_date <>", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("static_date <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThan(String value) {
+            addCriterion("static_date >", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("static_date > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualTo(String value) {
+            addCriterion("static_date >=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("static_date >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThan(String value) {
+            addCriterion("static_date <", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("static_date < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualTo(String value) {
+            addCriterion("static_date <=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("static_date <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLike(String value) {
+            addCriterion("static_date like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotLike(String value) {
+            addCriterion("static_date not like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIn(List<String> values) {
+            addCriterion("static_date in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotIn(List<String> values) {
+            addCriterion("static_date not in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateBetween(String value1, String value2) {
+            addCriterion("static_date between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotBetween(String value1, String value2) {
+            addCriterion("static_date not between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountIsNull() {
+            addCriterion("new_user_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountIsNotNull() {
+            addCriterion("new_user_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountEqualTo(Integer value) {
+            addCriterion("new_user_count =", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_user_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotEqualTo(Integer value) {
+            addCriterion("new_user_count <>", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_user_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThan(Integer value) {
+            addCriterion("new_user_count >", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_user_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThanOrEqualTo(Integer value) {
+            addCriterion("new_user_count >=", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_user_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThan(Integer value) {
+            addCriterion("new_user_count <", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_user_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThanOrEqualTo(Integer value) {
+            addCriterion("new_user_count <=", value, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_user_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountIn(List<Integer> values) {
+            addCriterion("new_user_count in", values, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotIn(List<Integer> values) {
+            addCriterion("new_user_count not in", values, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountBetween(Integer value1, Integer value2) {
+            addCriterion("new_user_count between", value1, value2, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewUserCountNotBetween(Integer value1, Integer value2) {
+            addCriterion("new_user_count not between", value1, value2, "newUserCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountIsNull() {
+            addCriterion("new_follow_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountIsNotNull() {
+            addCriterion("new_follow_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountEqualTo(Integer value) {
+            addCriterion("new_follow_count =", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_follow_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotEqualTo(Integer value) {
+            addCriterion("new_follow_count <>", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_follow_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThan(Integer value) {
+            addCriterion("new_follow_count >", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_follow_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThanOrEqualTo(Integer value) {
+            addCriterion("new_follow_count >=", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_follow_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThan(Integer value) {
+            addCriterion("new_follow_count <", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_follow_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThanOrEqualTo(Integer value) {
+            addCriterion("new_follow_count <=", value, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_follow_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountIn(List<Integer> values) {
+            addCriterion("new_follow_count in", values, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotIn(List<Integer> values) {
+            addCriterion("new_follow_count not in", values, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountBetween(Integer value1, Integer value2) {
+            addCriterion("new_follow_count between", value1, value2, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewFollowCountNotBetween(Integer value1, Integer value2) {
+            addCriterion("new_follow_count not between", value1, value2, "newFollowCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountIsNull() {
+            addCriterion("new_recharge_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountIsNotNull() {
+            addCriterion("new_recharge_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountEqualTo(String value) {
+            addCriterion("new_recharge_count =", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotEqualTo(String value) {
+            addCriterion("new_recharge_count <>", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThan(String value) {
+            addCriterion("new_recharge_count >", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThanOrEqualTo(String value) {
+            addCriterion("new_recharge_count >=", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThan(String value) {
+            addCriterion("new_recharge_count <", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThanOrEqualTo(String value) {
+            addCriterion("new_recharge_count <=", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("new_recharge_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountLike(String value) {
+            addCriterion("new_recharge_count like", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotLike(String value) {
+            addCriterion("new_recharge_count not like", value, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountIn(List<String> values) {
+            addCriterion("new_recharge_count in", values, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotIn(List<String> values) {
+            addCriterion("new_recharge_count not in", values, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountBetween(String value1, String value2) {
+            addCriterion("new_recharge_count between", value1, value2, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewRechargeCountNotBetween(String value1, String value2) {
+            addCriterion("new_recharge_count not between", value1, value2, "newRechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendIsNull() {
+            addCriterion("all_spend is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendIsNotNull() {
+            addCriterion("all_spend is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendEqualTo(String value) {
+            addCriterion("all_spend =", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_spend = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotEqualTo(String value) {
+            addCriterion("all_spend <>", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_spend <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThan(String value) {
+            addCriterion("all_spend >", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_spend > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThanOrEqualTo(String value) {
+            addCriterion("all_spend >=", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_spend >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThan(String value) {
+            addCriterion("all_spend <", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_spend < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThanOrEqualTo(String value) {
+            addCriterion("all_spend <=", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_spend <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendLike(String value) {
+            addCriterion("all_spend like", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotLike(String value) {
+            addCriterion("all_spend not like", value, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendIn(List<String> values) {
+            addCriterion("all_spend in", values, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotIn(List<String> values) {
+            addCriterion("all_spend not in", values, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendBetween(String value1, String value2) {
+            addCriterion("all_spend between", value1, value2, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllSpendNotBetween(String value1, String value2) {
+            addCriterion("all_spend not between", value1, value2, "allSpend");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiIsNull() {
+            addCriterion("first_roi is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiIsNotNull() {
+            addCriterion("first_roi is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiEqualTo(String value) {
+            addCriterion("first_roi =", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("first_roi = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotEqualTo(String value) {
+            addCriterion("first_roi <>", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("first_roi <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThan(String value) {
+            addCriterion("first_roi >", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("first_roi > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThanOrEqualTo(String value) {
+            addCriterion("first_roi >=", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("first_roi >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThan(String value) {
+            addCriterion("first_roi <", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("first_roi < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThanOrEqualTo(String value) {
+            addCriterion("first_roi <=", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("first_roi <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiLike(String value) {
+            addCriterion("first_roi like", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotLike(String value) {
+            addCriterion("first_roi not like", value, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiIn(List<String> values) {
+            addCriterion("first_roi in", values, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotIn(List<String> values) {
+            addCriterion("first_roi not in", values, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiBetween(String value1, String value2) {
+            addCriterion("first_roi between", value1, value2, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andFirstRoiNotBetween(String value1, String value2) {
+            addCriterion("first_roi not between", value1, value2, "firstRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeIsNull() {
+            addCriterion("all_recharge is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeIsNotNull() {
+            addCriterion("all_recharge is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeEqualTo(String value) {
+            addCriterion("all_recharge =", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_recharge = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotEqualTo(String value) {
+            addCriterion("all_recharge <>", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_recharge <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThan(String value) {
+            addCriterion("all_recharge >", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_recharge > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThanOrEqualTo(String value) {
+            addCriterion("all_recharge >=", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_recharge >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThan(String value) {
+            addCriterion("all_recharge <", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_recharge < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThanOrEqualTo(String value) {
+            addCriterion("all_recharge <=", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_recharge <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeLike(String value) {
+            addCriterion("all_recharge like", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotLike(String value) {
+            addCriterion("all_recharge not like", value, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeIn(List<String> values) {
+            addCriterion("all_recharge in", values, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotIn(List<String> values) {
+            addCriterion("all_recharge not in", values, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeBetween(String value1, String value2) {
+            addCriterion("all_recharge between", value1, value2, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRechargeNotBetween(String value1, String value2) {
+            addCriterion("all_recharge not between", value1, value2, "allRecharge");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiIsNull() {
+            addCriterion("all_roi is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiIsNotNull() {
+            addCriterion("all_roi is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiEqualTo(String value) {
+            addCriterion("all_roi =", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_roi = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotEqualTo(String value) {
+            addCriterion("all_roi <>", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_roi <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThan(String value) {
+            addCriterion("all_roi >", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_roi > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThanOrEqualTo(String value) {
+            addCriterion("all_roi >=", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_roi >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThan(String value) {
+            addCriterion("all_roi <", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_roi < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThanOrEqualTo(String value) {
+            addCriterion("all_roi <=", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("all_roi <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiLike(String value) {
+            addCriterion("all_roi like", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotLike(String value) {
+            addCriterion("all_roi not like", value, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiIn(List<String> values) {
+            addCriterion("all_roi in", values, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotIn(List<String> values) {
+            addCriterion("all_roi not in", values, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiBetween(String value1, String value2) {
+            addCriterion("all_roi between", value1, value2, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andAllRoiNotBetween(String value1, String value2) {
+            addCriterion("all_roi not between", value1, value2, "allRoi");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeIsNull() {
+            addCriterion("insert_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeIsNotNull() {
+            addCriterion("insert_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeEqualTo(Date value) {
+            addCriterion("insert_time =", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("insert_time = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotEqualTo(Date value) {
+            addCriterion("insert_time <>", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("insert_time <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThan(Date value) {
+            addCriterion("insert_time >", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("insert_time > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThanOrEqualTo(Date value) {
+            addCriterion("insert_time >=", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("insert_time >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThan(Date value) {
+            addCriterion("insert_time <", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("insert_time < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThanOrEqualTo(Date value) {
+            addCriterion("insert_time <=", value, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("insert_time <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeIn(List<Date> values) {
+            addCriterion("insert_time in", values, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotIn(List<Date> values) {
+            addCriterion("insert_time not in", values, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeBetween(Date value1, Date value2) {
+            addCriterion("insert_time between", value1, value2, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andInsertTimeNotBetween(Date value1, Date value2) {
+            addCriterion("insert_time not between", value1, value2, "insertTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIsNull() {
+            addCriterion("update_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIsNotNull() {
+            addCriterion("update_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeEqualTo(Date value) {
+            addCriterion("update_time =", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotEqualTo(Date value) {
+            addCriterion("update_time <>", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThan(Date value) {
+            addCriterion("update_time >", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
+            addCriterion("update_time >=", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThan(Date value) {
+            addCriterion("update_time <", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
+            addCriterion("update_time <=", value, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeLessThanOrEqualToColumn(SunStaticIncome.Column column) {
+            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeIn(List<Date> values) {
+            addCriterion("update_time in", values, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotIn(List<Date> values) {
+            addCriterion("update_time not in", values, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
+            addCriterion("update_time between", value1, value2, "updateTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
+            addCriterion("update_time not between", value1, value2, "updateTime");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income
+     *
+     * @mbg.generated do_not_delete_during_merge Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Criteria extends GeneratedCriteria {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeExample example;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        protected Criteria(SunStaticIncomeExample example) {
+            super();
+            this.example = example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeExample example() {
+            return this.example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income
+             *
+             * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+             */
+            Criteria add(Criteria add);
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        void example(com.book.dao.polardb.pojo.example.SunStaticIncomeExample example);
+    }
+}

+ 1041 - 0
book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeHundredChannelExample.java

@@ -0,0 +1,1041 @@
+package com.book.dao.polardb.pojo.example;
+
+import com.book.dao.polardb.entity.SunStaticIncomeHundredChannel;
+import java.util.ArrayList;
+import java.util.List;
+
+public class SunStaticIncomeHundredChannelExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer offset;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer rows;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample orderBy(String orderByClause) {
+        this.setOrderByClause(orderByClause);
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getOffset() {
+        return this.offset;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getRows() {
+        return this.rows;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample limit(Integer rows) {
+        this.rows = rows;
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static Criteria newAndCreateCriteria() {
+        SunStaticIncomeHundredChannelExample example = new SunStaticIncomeHundredChannelExample();
+        return example.createCriteria();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredChannelExample 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_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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 andStaticDateIsNull() {
+            addCriterion("static_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIsNotNull() {
+            addCriterion("static_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualTo(String value) {
+            addCriterion("static_date =", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("static_date = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualTo(String value) {
+            addCriterion("static_date <>", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("static_date <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThan(String value) {
+            addCriterion("static_date >", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("static_date > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualTo(String value) {
+            addCriterion("static_date >=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("static_date >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThan(String value) {
+            addCriterion("static_date <", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("static_date < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualTo(String value) {
+            addCriterion("static_date <=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("static_date <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLike(String value) {
+            addCriterion("static_date like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotLike(String value) {
+            addCriterion("static_date not like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIn(List<String> values) {
+            addCriterion("static_date in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotIn(List<String> values) {
+            addCriterion("static_date not in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateBetween(String value1, String value2) {
+            addCriterion("static_date between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotBetween(String value1, String value2) {
+            addCriterion("static_date not between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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(SunStaticIncomeHundredChannel.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 andRechargeCountIsNull() {
+            addCriterion("recharge_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountIsNotNull() {
+            addCriterion("recharge_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountEqualTo(String value) {
+            addCriterion("recharge_count =", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("recharge_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotEqualTo(String value) {
+            addCriterion("recharge_count <>", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("recharge_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThan(String value) {
+            addCriterion("recharge_count >", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThanColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("recharge_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThanOrEqualTo(String value) {
+            addCriterion("recharge_count >=", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThanOrEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("recharge_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThan(String value) {
+            addCriterion("recharge_count <", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThanColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("recharge_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThanOrEqualTo(String value) {
+            addCriterion("recharge_count <=", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThanOrEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("recharge_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLike(String value) {
+            addCriterion("recharge_count like", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotLike(String value) {
+            addCriterion("recharge_count not like", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountIn(List<String> values) {
+            addCriterion("recharge_count in", values, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotIn(List<String> values) {
+            addCriterion("recharge_count not in", values, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountBetween(String value1, String value2) {
+            addCriterion("recharge_count between", value1, value2, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotBetween(String value1, String value2) {
+            addCriterion("recharge_count not between", value1, value2, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumIsNull() {
+            addCriterion("day_num is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumIsNotNull() {
+            addCriterion("day_num is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumEqualTo(Integer value) {
+            addCriterion("day_num =", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("day_num = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotEqualTo(Integer value) {
+            addCriterion("day_num <>", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("day_num <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThan(Integer value) {
+            addCriterion("day_num >", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThanColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("day_num > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThanOrEqualTo(Integer value) {
+            addCriterion("day_num >=", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThanOrEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("day_num >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThan(Integer value) {
+            addCriterion("day_num <", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThanColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("day_num < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThanOrEqualTo(Integer value) {
+            addCriterion("day_num <=", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThanOrEqualToColumn(SunStaticIncomeHundredChannel.Column column) {
+            addCriterion(new StringBuilder("day_num <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumIn(List<Integer> values) {
+            addCriterion("day_num in", values, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotIn(List<Integer> values) {
+            addCriterion("day_num not in", values, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumBetween(Integer value1, Integer value2) {
+            addCriterion("day_num between", value1, value2, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotBetween(Integer value1, Integer value2) {
+            addCriterion("day_num not between", value1, value2, "dayNum");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated do_not_delete_during_merge Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Criteria extends GeneratedCriteria {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeHundredChannelExample example;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        protected Criteria(SunStaticIncomeHundredChannelExample example) {
+            super();
+            this.example = example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeHundredChannelExample example() {
+            return this.example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+             *
+             * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+             */
+            Criteria add(Criteria add);
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_hundred_channel
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred_channel
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        void example(com.book.dao.polardb.pojo.example.SunStaticIncomeHundredChannelExample example);
+    }
+}

+ 941 - 0
book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunStaticIncomeHundredExample.java

@@ -0,0 +1,941 @@
+package com.book.dao.polardb.pojo.example;
+
+import com.book.dao.polardb.entity.SunStaticIncomeHundred;
+import java.util.ArrayList;
+import java.util.List;
+
+public class SunStaticIncomeHundredExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer offset;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    protected Integer rows;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample orderBy(String orderByClause) {
+        this.setOrderByClause(orderByClause);
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getOffset() {
+        return this.offset;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public Integer getRows() {
+        return this.rows;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample limit(Integer rows) {
+        this.rows = rows;
+        return this;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public static Criteria newAndCreateCriteria() {
+        SunStaticIncomeHundredExample example = new SunStaticIncomeHundredExample();
+        return example.createCriteria();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+     */
+    public SunStaticIncomeHundredExample 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_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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(SunStaticIncomeHundred.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(SunStaticIncomeHundred.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(SunStaticIncomeHundred.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(SunStaticIncomeHundred.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(SunStaticIncomeHundred.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(SunStaticIncomeHundred.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 andStaticDateIsNull() {
+            addCriterion("static_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIsNotNull() {
+            addCriterion("static_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualTo(String value) {
+            addCriterion("static_date =", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("static_date = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualTo(String value) {
+            addCriterion("static_date <>", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("static_date <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThan(String value) {
+            addCriterion("static_date >", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("static_date > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualTo(String value) {
+            addCriterion("static_date >=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateGreaterThanOrEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("static_date >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThan(String value) {
+            addCriterion("static_date <", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("static_date < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualTo(String value) {
+            addCriterion("static_date <=", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLessThanOrEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("static_date <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateLike(String value) {
+            addCriterion("static_date like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotLike(String value) {
+            addCriterion("static_date not like", value, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateIn(List<String> values) {
+            addCriterion("static_date in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotIn(List<String> values) {
+            addCriterion("static_date not in", values, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateBetween(String value1, String value2) {
+            addCriterion("static_date between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStaticDateNotBetween(String value1, String value2) {
+            addCriterion("static_date not between", value1, value2, "staticDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountIsNull() {
+            addCriterion("recharge_count is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountIsNotNull() {
+            addCriterion("recharge_count is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountEqualTo(String value) {
+            addCriterion("recharge_count =", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("recharge_count = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotEqualTo(String value) {
+            addCriterion("recharge_count <>", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("recharge_count <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThan(String value) {
+            addCriterion("recharge_count >", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThanColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("recharge_count > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThanOrEqualTo(String value) {
+            addCriterion("recharge_count >=", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountGreaterThanOrEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("recharge_count >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThan(String value) {
+            addCriterion("recharge_count <", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThanColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("recharge_count < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThanOrEqualTo(String value) {
+            addCriterion("recharge_count <=", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLessThanOrEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("recharge_count <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountLike(String value) {
+            addCriterion("recharge_count like", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotLike(String value) {
+            addCriterion("recharge_count not like", value, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountIn(List<String> values) {
+            addCriterion("recharge_count in", values, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotIn(List<String> values) {
+            addCriterion("recharge_count not in", values, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountBetween(String value1, String value2) {
+            addCriterion("recharge_count between", value1, value2, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andRechargeCountNotBetween(String value1, String value2) {
+            addCriterion("recharge_count not between", value1, value2, "rechargeCount");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumIsNull() {
+            addCriterion("day_num is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumIsNotNull() {
+            addCriterion("day_num is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumEqualTo(Integer value) {
+            addCriterion("day_num =", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("day_num = ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotEqualTo(Integer value) {
+            addCriterion("day_num <>", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("day_num <> ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThan(Integer value) {
+            addCriterion("day_num >", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThanColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("day_num > ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThanOrEqualTo(Integer value) {
+            addCriterion("day_num >=", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumGreaterThanOrEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("day_num >= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThan(Integer value) {
+            addCriterion("day_num <", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThanColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("day_num < ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThanOrEqualTo(Integer value) {
+            addCriterion("day_num <=", value, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumLessThanOrEqualToColumn(SunStaticIncomeHundred.Column column) {
+            addCriterion(new StringBuilder("day_num <= ").append(column.getEscapedColumnName()).toString());
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumIn(List<Integer> values) {
+            addCriterion("day_num in", values, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotIn(List<Integer> values) {
+            addCriterion("day_num not in", values, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumBetween(Integer value1, Integer value2) {
+            addCriterion("day_num between", value1, value2, "dayNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andDayNumNotBetween(Integer value1, Integer value2) {
+            addCriterion("day_num not between", value1, value2, "dayNum");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated do_not_delete_during_merge Fri Oct 15 21:30:01 CST 2021
+     */
+    public static class Criteria extends GeneratedCriteria {
+        /**
+         * This field was generated by MyBatis Generator.
+         * This field corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        private SunStaticIncomeHundredExample example;
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        protected Criteria(SunStaticIncomeHundredExample example) {
+            super();
+            this.example = example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        public SunStaticIncomeHundredExample example() {
+            return this.example;
+        }
+
+        /**
+         * This method was generated by MyBatis Generator.
+         * This method corresponds to the database table sun_static_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+             *
+             * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+             */
+            Criteria add(Criteria add);
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table sun_static_income_hundred
+     *
+     * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 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_income_hundred
+         *
+         * @mbg.generated Fri Oct 15 21:30:01 CST 2021
+         */
+        void example(com.book.dao.polardb.pojo.example.SunStaticIncomeHundredExample example);
+    }
+}

+ 858 - 0
book-dao/src/main/resources/mapper/polar/SunStaticIncomeChannelMapper.xml

@@ -0,0 +1,858 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.book.dao.polardb.mapper.SunStaticIncomeChannelMapper">
+  <resultMap id="BaseResultMap" type="com.book.dao.polardb.entity.SunStaticIncomeChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="static_date" jdbcType="VARCHAR" property="staticDate" />
+    <result column="channel_id" jdbcType="VARCHAR" property="channelId" />
+    <result column="channel_name" jdbcType="VARCHAR" property="channelName" />
+    <result column="book_name" jdbcType="VARCHAR" property="bookName" />
+    <result column="new_user_count" jdbcType="INTEGER" property="newUserCount" />
+    <result column="new_follow_count" jdbcType="INTEGER" property="newFollowCount" />
+    <result column="new_recharge_count" jdbcType="VARCHAR" property="newRechargeCount" />
+    <result column="all_spend" jdbcType="VARCHAR" property="allSpend" />
+    <result column="first_roi" jdbcType="VARCHAR" property="firstRoi" />
+    <result column="all_recharge" jdbcType="VARCHAR" property="allRecharge" />
+    <result column="all_roi" jdbcType="VARCHAR" property="allRoi" />
+    <result column="insert_time" jdbcType="TIMESTAMP" property="insertTime" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    id, static_date, channel_id, channel_name, book_name, new_user_count, new_follow_count, 
+    new_recharge_count, all_spend, first_roi, all_recharge, all_roi, insert_time, update_time
+  </sql>
+  <select id="selectByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeChannelExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from sun_static_income_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    <if test="rows != null">
+      <if test="offset != null">
+        limit ${offset}, ${rows}
+      </if>
+      <if test="offset == null">
+        limit ${rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="example != null and example.distinct">
+      distinct
+    </if>
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_channel
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    <if test="example != null and example.rows != null">
+      <if test="example.offset != null">
+        limit ${example.offset}, ${example.rows}
+      </if>
+      <if test="example.offset == null">
+        limit ${example.rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from sun_static_income_channel
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_channel
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income_channel
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeChannelExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.book.dao.polardb.entity.SunStaticIncomeChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_channel (id, static_date, channel_id, 
+      channel_name, book_name, new_user_count, 
+      new_follow_count, new_recharge_count, all_spend, 
+      first_roi, all_recharge, all_roi, 
+      insert_time, update_time)
+    values (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{channelId,jdbcType=VARCHAR}, 
+      #{channelName,jdbcType=VARCHAR}, #{bookName,jdbcType=VARCHAR}, #{newUserCount,jdbcType=INTEGER}, 
+      #{newFollowCount,jdbcType=INTEGER}, #{newRechargeCount,jdbcType=VARCHAR}, #{allSpend,jdbcType=VARCHAR}, 
+      #{firstRoi,jdbcType=VARCHAR}, #{allRecharge,jdbcType=VARCHAR}, #{allRoi,jdbcType=VARCHAR}, 
+      #{insertTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_channel
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.channelId != null">
+            channel_id,
+          </if>
+          <if test="record.channelName != null">
+            channel_name,
+          </if>
+          <if test="record.bookName != null">
+            book_name,
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count,
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count,
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count,
+          </if>
+          <if test="record.allSpend != null">
+            all_spend,
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi,
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge,
+          </if>
+          <if test="record.allRoi != null">
+            all_roi,
+          </if>
+          <if test="record.insertTime != null">
+            insert_time,
+          </if>
+          <if test="record.updateTime != null">
+            update_time,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelName != null">
+            #{record.channelName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.bookName != null">
+            #{record.bookName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <select id="countByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeChannelExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select count(*) from sun_static_income_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_channel
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            channel_id = #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelName != null">
+            channel_name = #{record.channelName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.bookName != null">
+            book_name = #{record.bookName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            all_spend = #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            all_roi = #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_channel
+    set id = #{record.id,jdbcType=INTEGER},
+      static_date = #{record.staticDate,jdbcType=VARCHAR},
+      channel_id = #{record.channelId,jdbcType=VARCHAR},
+      channel_name = #{record.channelName,jdbcType=VARCHAR},
+      book_name = #{record.bookName,jdbcType=VARCHAR},
+      new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+      new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+      new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+      all_spend = #{record.allSpend,jdbcType=VARCHAR},
+      first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+      all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+      all_roi = #{record.allRoi,jdbcType=VARCHAR},
+      insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+      update_time = #{record.updateTime,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_channel
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            channel_id = #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelName != null">
+            channel_name = #{record.channelName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.bookName != null">
+            book_name = #{record.bookName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            all_spend = #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            all_roi = #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    where id = #{record.id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.book.dao.polardb.entity.SunStaticIncomeChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_channel
+    set static_date = #{staticDate,jdbcType=VARCHAR},
+      channel_id = #{channelId,jdbcType=VARCHAR},
+      channel_name = #{channelName,jdbcType=VARCHAR},
+      book_name = #{bookName,jdbcType=VARCHAR},
+      new_user_count = #{newUserCount,jdbcType=INTEGER},
+      new_follow_count = #{newFollowCount,jdbcType=INTEGER},
+      new_recharge_count = #{newRechargeCount,jdbcType=VARCHAR},
+      all_spend = #{allSpend,jdbcType=VARCHAR},
+      first_roi = #{firstRoi,jdbcType=VARCHAR},
+      all_recharge = #{allRecharge,jdbcType=VARCHAR},
+      all_roi = #{allRoi,jdbcType=VARCHAR},
+      insert_time = #{insertTime,jdbcType=TIMESTAMP},
+      update_time = #{updateTime,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <select id="selectOneByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeChannelExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <include refid="Base_Column_List" />
+    from sun_static_income_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    limit 1
+  </select>
+  <select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_channel
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    limit 1
+  </select>
+  <insert id="batchInsert" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_channel
+    (id, static_date, channel_id, channel_name, book_name, new_user_count, new_follow_count, 
+      new_recharge_count, all_spend, first_roi, all_recharge, all_roi, insert_time, update_time
+      )
+    values
+    <foreach collection="list" item="item" separator=",">
+      (#{item.id,jdbcType=INTEGER}, #{item.staticDate,jdbcType=VARCHAR}, #{item.channelId,jdbcType=VARCHAR}, 
+        #{item.channelName,jdbcType=VARCHAR}, #{item.bookName,jdbcType=VARCHAR}, #{item.newUserCount,jdbcType=INTEGER}, 
+        #{item.newFollowCount,jdbcType=INTEGER}, #{item.newRechargeCount,jdbcType=VARCHAR}, 
+        #{item.allSpend,jdbcType=VARCHAR}, #{item.firstRoi,jdbcType=VARCHAR}, #{item.allRecharge,jdbcType=VARCHAR}, 
+        #{item.allRoi,jdbcType=VARCHAR}, #{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}
+        )
+    </foreach>
+  </insert>
+  <insert id="batchInsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_channel (
+    <foreach collection="selective" item="column" separator=",">
+      ${column.escapedColumnName}
+    </foreach>
+    )
+    values
+    <foreach collection="list" item="item" separator=",">
+      (
+      <foreach collection="selective" item="column" separator=",">
+        <if test="'id'.toString() == column.value">
+          #{item.id,jdbcType=INTEGER}
+        </if>
+        <if test="'static_date'.toString() == column.value">
+          #{item.staticDate,jdbcType=VARCHAR}
+        </if>
+        <if test="'channel_id'.toString() == column.value">
+          #{item.channelId,jdbcType=VARCHAR}
+        </if>
+        <if test="'channel_name'.toString() == column.value">
+          #{item.channelName,jdbcType=VARCHAR}
+        </if>
+        <if test="'book_name'.toString() == column.value">
+          #{item.bookName,jdbcType=VARCHAR}
+        </if>
+        <if test="'new_user_count'.toString() == column.value">
+          #{item.newUserCount,jdbcType=INTEGER}
+        </if>
+        <if test="'new_follow_count'.toString() == column.value">
+          #{item.newFollowCount,jdbcType=INTEGER}
+        </if>
+        <if test="'new_recharge_count'.toString() == column.value">
+          #{item.newRechargeCount,jdbcType=VARCHAR}
+        </if>
+        <if test="'all_spend'.toString() == column.value">
+          #{item.allSpend,jdbcType=VARCHAR}
+        </if>
+        <if test="'first_roi'.toString() == column.value">
+          #{item.firstRoi,jdbcType=VARCHAR}
+        </if>
+        <if test="'all_recharge'.toString() == column.value">
+          #{item.allRecharge,jdbcType=VARCHAR}
+        </if>
+        <if test="'all_roi'.toString() == column.value">
+          #{item.allRoi,jdbcType=VARCHAR}
+        </if>
+        <if test="'insert_time'.toString() == column.value">
+          #{item.insertTime,jdbcType=TIMESTAMP}
+        </if>
+        <if test="'update_time'.toString() == column.value">
+          #{item.updateTime,jdbcType=TIMESTAMP}
+        </if>
+      </foreach>
+      )
+    </foreach>
+  </insert>
+  <insert id="upsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_channel
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.channelId != null">
+            channel_id,
+          </if>
+          <if test="record.channelName != null">
+            channel_name,
+          </if>
+          <if test="record.bookName != null">
+            book_name,
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count,
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count,
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count,
+          </if>
+          <if test="record.allSpend != null">
+            all_spend,
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi,
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge,
+          </if>
+          <if test="record.allRoi != null">
+            all_roi,
+          </if>
+          <if test="record.insertTime != null">
+            insert_time,
+          </if>
+          <if test="record.updateTime != null">
+            update_time,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelName != null">
+            #{record.channelName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.bookName != null">
+            #{record.bookName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    on duplicate key update 
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            channel_id = #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelName != null">
+            channel_name = #{record.channelName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.bookName != null">
+            book_name = #{record.bookName,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            all_spend = #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            all_roi = #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <insert id="upsert" parameterType="com.book.dao.polardb.entity.SunStaticIncomeChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_channel
+    (id, static_date, channel_id, channel_name, book_name, new_user_count, new_follow_count, 
+      new_recharge_count, all_spend, first_roi, all_recharge, all_roi, insert_time, update_time
+      )
+    values
+    (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{channelId,jdbcType=VARCHAR}, 
+      #{channelName,jdbcType=VARCHAR}, #{bookName,jdbcType=VARCHAR}, #{newUserCount,jdbcType=INTEGER}, 
+      #{newFollowCount,jdbcType=INTEGER}, #{newRechargeCount,jdbcType=VARCHAR}, #{allSpend,jdbcType=VARCHAR}, 
+      #{firstRoi,jdbcType=VARCHAR}, #{allRecharge,jdbcType=VARCHAR}, #{allRoi,jdbcType=VARCHAR}, 
+      #{insertTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
+    on duplicate key update 
+    id = #{id,jdbcType=INTEGER}, 
+    static_date = #{staticDate,jdbcType=VARCHAR}, 
+    channel_id = #{channelId,jdbcType=VARCHAR}, 
+    channel_name = #{channelName,jdbcType=VARCHAR}, 
+    book_name = #{bookName,jdbcType=VARCHAR}, 
+    new_user_count = #{newUserCount,jdbcType=INTEGER}, 
+    new_follow_count = #{newFollowCount,jdbcType=INTEGER}, 
+    new_recharge_count = #{newRechargeCount,jdbcType=VARCHAR}, 
+    all_spend = #{allSpend,jdbcType=VARCHAR}, 
+    first_roi = #{firstRoi,jdbcType=VARCHAR}, 
+    all_recharge = #{allRecharge,jdbcType=VARCHAR}, 
+    all_roi = #{allRoi,jdbcType=VARCHAR}, 
+    insert_time = #{insertTime,jdbcType=TIMESTAMP}, 
+    update_time = #{updateTime,jdbcType=TIMESTAMP}
+  </insert>
+</mapper>

+ 588 - 0
book-dao/src/main/resources/mapper/polar/SunStaticIncomeHundredChannelMapper.xml

@@ -0,0 +1,588 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.book.dao.polardb.mapper.SunStaticIncomeHundredChannelMapper">
+  <resultMap id="BaseResultMap" type="com.book.dao.polardb.entity.SunStaticIncomeHundredChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="static_date" jdbcType="VARCHAR" property="staticDate" />
+    <result column="channel_id" jdbcType="VARCHAR" property="channelId" />
+    <result column="recharge_count" jdbcType="VARCHAR" property="rechargeCount" />
+    <result column="day_num" jdbcType="INTEGER" property="dayNum" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    id, static_date, channel_id, recharge_count, day_num
+  </sql>
+  <select id="selectByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredChannelExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from sun_static_income_hundred_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    <if test="rows != null">
+      <if test="offset != null">
+        limit ${offset}, ${rows}
+      </if>
+      <if test="offset == null">
+        limit ${rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="example != null and example.distinct">
+      distinct
+    </if>
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_hundred_channel
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    <if test="example != null and example.rows != null">
+      <if test="example.offset != null">
+        limit ${example.offset}, ${example.rows}
+      </if>
+      <if test="example.offset == null">
+        limit ${example.rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from sun_static_income_hundred_channel
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_hundred_channel
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income_hundred_channel
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredChannelExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income_hundred_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.book.dao.polardb.entity.SunStaticIncomeHundredChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred_channel (id, static_date, channel_id, 
+      recharge_count, day_num)
+    values (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{channelId,jdbcType=VARCHAR}, 
+      #{rechargeCount,jdbcType=VARCHAR}, #{dayNum,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred_channel
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.channelId != null">
+            channel_id,
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count,
+          </if>
+          <if test="record.dayNum != null">
+            day_num,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <select id="countByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredChannelExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select count(*) from sun_static_income_hundred_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred_channel
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            channel_id = #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            day_num = #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred_channel
+    set id = #{record.id,jdbcType=INTEGER},
+      static_date = #{record.staticDate,jdbcType=VARCHAR},
+      channel_id = #{record.channelId,jdbcType=VARCHAR},
+      recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+      day_num = #{record.dayNum,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred_channel
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            channel_id = #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            day_num = #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    where id = #{record.id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.book.dao.polardb.entity.SunStaticIncomeHundredChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred_channel
+    set static_date = #{staticDate,jdbcType=VARCHAR},
+      channel_id = #{channelId,jdbcType=VARCHAR},
+      recharge_count = #{rechargeCount,jdbcType=VARCHAR},
+      day_num = #{dayNum,jdbcType=INTEGER}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <select id="selectOneByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredChannelExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <include refid="Base_Column_List" />
+    from sun_static_income_hundred_channel
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    limit 1
+  </select>
+  <select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_hundred_channel
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    limit 1
+  </select>
+  <insert id="batchInsert" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred_channel
+    (id, static_date, channel_id, recharge_count, day_num)
+    values
+    <foreach collection="list" item="item" separator=",">
+      (#{item.id,jdbcType=INTEGER}, #{item.staticDate,jdbcType=VARCHAR}, #{item.channelId,jdbcType=VARCHAR}, 
+        #{item.rechargeCount,jdbcType=VARCHAR}, #{item.dayNum,jdbcType=INTEGER})
+    </foreach>
+  </insert>
+  <insert id="batchInsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred_channel (
+    <foreach collection="selective" item="column" separator=",">
+      ${column.escapedColumnName}
+    </foreach>
+    )
+    values
+    <foreach collection="list" item="item" separator=",">
+      (
+      <foreach collection="selective" item="column" separator=",">
+        <if test="'id'.toString() == column.value">
+          #{item.id,jdbcType=INTEGER}
+        </if>
+        <if test="'static_date'.toString() == column.value">
+          #{item.staticDate,jdbcType=VARCHAR}
+        </if>
+        <if test="'channel_id'.toString() == column.value">
+          #{item.channelId,jdbcType=VARCHAR}
+        </if>
+        <if test="'recharge_count'.toString() == column.value">
+          #{item.rechargeCount,jdbcType=VARCHAR}
+        </if>
+        <if test="'day_num'.toString() == column.value">
+          #{item.dayNum,jdbcType=INTEGER}
+        </if>
+      </foreach>
+      )
+    </foreach>
+  </insert>
+  <insert id="upsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred_channel
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.channelId != null">
+            channel_id,
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count,
+          </if>
+          <if test="record.dayNum != null">
+            day_num,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    on duplicate key update 
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.channelId != null">
+            channel_id = #{record.channelId,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            day_num = #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <insert id="upsert" parameterType="com.book.dao.polardb.entity.SunStaticIncomeHundredChannel">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred_channel
+    (id, static_date, channel_id, recharge_count, day_num)
+    values
+    (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{channelId,jdbcType=VARCHAR}, 
+      #{rechargeCount,jdbcType=VARCHAR}, #{dayNum,jdbcType=INTEGER})
+    on duplicate key update 
+    id = #{id,jdbcType=INTEGER}, 
+    static_date = #{staticDate,jdbcType=VARCHAR}, 
+    channel_id = #{channelId,jdbcType=VARCHAR}, 
+    recharge_count = #{rechargeCount,jdbcType=VARCHAR}, 
+    day_num = #{dayNum,jdbcType=INTEGER}
+  </insert>
+</mapper>

+ 560 - 0
book-dao/src/main/resources/mapper/polar/SunStaticIncomeHundredMapper.xml

@@ -0,0 +1,560 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.book.dao.polardb.mapper.SunStaticIncomeHundredMapper">
+  <resultMap id="BaseResultMap" type="com.book.dao.polardb.entity.SunStaticIncomeHundred">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="static_date" jdbcType="VARCHAR" property="staticDate" />
+    <result column="recharge_count" jdbcType="VARCHAR" property="rechargeCount" />
+    <result column="day_num" jdbcType="INTEGER" property="dayNum" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    id, static_date, recharge_count, day_num
+  </sql>
+  <select id="selectByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from sun_static_income_hundred
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    <if test="rows != null">
+      <if test="offset != null">
+        limit ${offset}, ${rows}
+      </if>
+      <if test="offset == null">
+        limit ${rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="example != null and example.distinct">
+      distinct
+    </if>
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_hundred
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    <if test="example != null and example.rows != null">
+      <if test="example.offset != null">
+        limit ${example.offset}, ${example.rows}
+      </if>
+      <if test="example.offset == null">
+        limit ${example.rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from sun_static_income_hundred
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_hundred
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income_hundred
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income_hundred
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.book.dao.polardb.entity.SunStaticIncomeHundred">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred (id, static_date, recharge_count, 
+      day_num)
+    values (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{rechargeCount,jdbcType=VARCHAR}, 
+      #{dayNum,jdbcType=INTEGER})
+  </insert>
+  <insert id="insertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count,
+          </if>
+          <if test="record.dayNum != null">
+            day_num,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <select id="countByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select count(*) from sun_static_income_hundred
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            day_num = #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred
+    set id = #{record.id,jdbcType=INTEGER},
+      static_date = #{record.staticDate,jdbcType=VARCHAR},
+      recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+      day_num = #{record.dayNum,jdbcType=INTEGER}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            day_num = #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    where id = #{record.id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.book.dao.polardb.entity.SunStaticIncomeHundred">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income_hundred
+    set static_date = #{staticDate,jdbcType=VARCHAR},
+      recharge_count = #{rechargeCount,jdbcType=VARCHAR},
+      day_num = #{dayNum,jdbcType=INTEGER}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <select id="selectOneByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeHundredExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <include refid="Base_Column_List" />
+    from sun_static_income_hundred
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    limit 1
+  </select>
+  <select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income_hundred
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    limit 1
+  </select>
+  <insert id="batchInsert" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred
+    (id, static_date, recharge_count, day_num)
+    values
+    <foreach collection="list" item="item" separator=",">
+      (#{item.id,jdbcType=INTEGER}, #{item.staticDate,jdbcType=VARCHAR}, #{item.rechargeCount,jdbcType=VARCHAR}, 
+        #{item.dayNum,jdbcType=INTEGER})
+    </foreach>
+  </insert>
+  <insert id="batchInsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred (
+    <foreach collection="selective" item="column" separator=",">
+      ${column.escapedColumnName}
+    </foreach>
+    )
+    values
+    <foreach collection="list" item="item" separator=",">
+      (
+      <foreach collection="selective" item="column" separator=",">
+        <if test="'id'.toString() == column.value">
+          #{item.id,jdbcType=INTEGER}
+        </if>
+        <if test="'static_date'.toString() == column.value">
+          #{item.staticDate,jdbcType=VARCHAR}
+        </if>
+        <if test="'recharge_count'.toString() == column.value">
+          #{item.rechargeCount,jdbcType=VARCHAR}
+        </if>
+        <if test="'day_num'.toString() == column.value">
+          #{item.dayNum,jdbcType=INTEGER}
+        </if>
+      </foreach>
+      )
+    </foreach>
+  </insert>
+  <insert id="upsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count,
+          </if>
+          <if test="record.dayNum != null">
+            day_num,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    on duplicate key update 
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.rechargeCount != null">
+            recharge_count = #{record.rechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.dayNum != null">
+            day_num = #{record.dayNum,jdbcType=INTEGER},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <insert id="upsert" parameterType="com.book.dao.polardb.entity.SunStaticIncomeHundred">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income_hundred
+    (id, static_date, recharge_count, day_num)
+    values
+    (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{rechargeCount,jdbcType=VARCHAR}, 
+      #{dayNum,jdbcType=INTEGER})
+    on duplicate key update 
+    id = #{id,jdbcType=INTEGER}, 
+    static_date = #{staticDate,jdbcType=VARCHAR}, 
+    recharge_count = #{rechargeCount,jdbcType=VARCHAR}, 
+    day_num = #{dayNum,jdbcType=INTEGER}
+  </insert>
+</mapper>

+ 768 - 0
book-dao/src/main/resources/mapper/polar/SunStaticIncomeMapper.xml

@@ -0,0 +1,768 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.book.dao.polardb.mapper.SunStaticIncomeMapper">
+  <resultMap id="BaseResultMap" type="com.book.dao.polardb.entity.SunStaticIncome">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <id column="id" jdbcType="INTEGER" property="id" />
+    <result column="static_date" jdbcType="VARCHAR" property="staticDate" />
+    <result column="new_user_count" jdbcType="INTEGER" property="newUserCount" />
+    <result column="new_follow_count" jdbcType="INTEGER" property="newFollowCount" />
+    <result column="new_recharge_count" jdbcType="VARCHAR" property="newRechargeCount" />
+    <result column="all_spend" jdbcType="VARCHAR" property="allSpend" />
+    <result column="first_roi" jdbcType="VARCHAR" property="firstRoi" />
+    <result column="all_recharge" jdbcType="VARCHAR" property="allRecharge" />
+    <result column="all_roi" jdbcType="VARCHAR" property="allRoi" />
+    <result column="insert_time" jdbcType="TIMESTAMP" property="insertTime" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Update_By_Example_Where_Clause">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    <where>
+      <foreach collection="example.oredCriteria" item="criteria" separator="or">
+        <if test="criteria.valid">
+          <trim prefix="(" prefixOverrides="and" suffix=")">
+            <foreach collection="criteria.criteria" item="criterion">
+              <choose>
+                <when test="criterion.noValue">
+                  and ${criterion.condition}
+                </when>
+                <when test="criterion.singleValue">
+                  and ${criterion.condition} #{criterion.value}
+                </when>
+                <when test="criterion.betweenValue">
+                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
+                </when>
+                <when test="criterion.listValue">
+                  and ${criterion.condition}
+                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
+                    #{listItem}
+                  </foreach>
+                </when>
+              </choose>
+            </foreach>
+          </trim>
+        </if>
+      </foreach>
+    </where>
+  </sql>
+  <sql id="Base_Column_List">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    id, static_date, new_user_count, new_follow_count, new_recharge_count, all_spend, 
+    first_roi, all_recharge, all_roi, insert_time, update_time
+  </sql>
+  <select id="selectByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from sun_static_income
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    <if test="rows != null">
+      <if test="offset != null">
+        limit ${offset}, ${rows}
+      </if>
+      <if test="offset == null">
+        limit ${rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <if test="example != null and example.distinct">
+      distinct
+    </if>
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    <if test="example != null and example.rows != null">
+      <if test="example.offset != null">
+        limit ${example.offset}, ${example.rows}
+      </if>
+      <if test="example.offset == null">
+        limit ${example.rows}
+      </if>
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select 
+    <include refid="Base_Column_List" />
+    from sun_static_income
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income
+    where id = #{id,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income
+    where id = #{id,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeExample">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    delete from sun_static_income
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.book.dao.polardb.entity.SunStaticIncome">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income (id, static_date, new_user_count, 
+      new_follow_count, new_recharge_count, all_spend, 
+      first_roi, all_recharge, all_roi, 
+      insert_time, update_time)
+    values (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{newUserCount,jdbcType=INTEGER}, 
+      #{newFollowCount,jdbcType=INTEGER}, #{newRechargeCount,jdbcType=VARCHAR}, #{allSpend,jdbcType=VARCHAR}, 
+      #{firstRoi,jdbcType=VARCHAR}, #{allRecharge,jdbcType=VARCHAR}, #{allRoi,jdbcType=VARCHAR}, 
+      #{insertTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count,
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count,
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count,
+          </if>
+          <if test="record.allSpend != null">
+            all_spend,
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi,
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge,
+          </if>
+          <if test="record.allRoi != null">
+            all_roi,
+          </if>
+          <if test="record.insertTime != null">
+            insert_time,
+          </if>
+          <if test="record.updateTime != null">
+            update_time,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <select id="countByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeExample" resultType="java.lang.Long">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select count(*) from sun_static_income
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            all_spend = #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            all_roi = #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income
+    set id = #{record.id,jdbcType=INTEGER},
+      static_date = #{record.staticDate,jdbcType=VARCHAR},
+      new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+      new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+      new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+      all_spend = #{record.allSpend,jdbcType=VARCHAR},
+      first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+      all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+      all_roi = #{record.allRoi,jdbcType=VARCHAR},
+      insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+      update_time = #{record.updateTime,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income
+    SET
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            all_spend = #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            all_roi = #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    where id = #{record.id,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.book.dao.polardb.entity.SunStaticIncome">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    update sun_static_income
+    set static_date = #{staticDate,jdbcType=VARCHAR},
+      new_user_count = #{newUserCount,jdbcType=INTEGER},
+      new_follow_count = #{newFollowCount,jdbcType=INTEGER},
+      new_recharge_count = #{newRechargeCount,jdbcType=VARCHAR},
+      all_spend = #{allSpend,jdbcType=VARCHAR},
+      first_roi = #{firstRoi,jdbcType=VARCHAR},
+      all_recharge = #{allRecharge,jdbcType=VARCHAR},
+      all_roi = #{allRoi,jdbcType=VARCHAR},
+      insert_time = #{insertTime,jdbcType=TIMESTAMP},
+      update_time = #{updateTime,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=INTEGER}
+  </update>
+  <select id="selectOneByExample" parameterType="com.book.dao.polardb.pojo.example.SunStaticIncomeExample" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <include refid="Base_Column_List" />
+    from sun_static_income
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    limit 1
+  </select>
+  <select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    select
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.aliasedEscapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <include refid="Base_Column_List" />
+      </otherwise>
+    </choose>
+    from sun_static_income
+    <if test="example != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+    <if test="example != null and example.orderByClause != null">
+      order by ${example.orderByClause}
+    </if>
+    limit 1
+  </select>
+  <insert id="batchInsert" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income
+    (id, static_date, new_user_count, new_follow_count, new_recharge_count, all_spend, 
+      first_roi, all_recharge, all_roi, insert_time, update_time)
+    values
+    <foreach collection="list" item="item" separator=",">
+      (#{item.id,jdbcType=INTEGER}, #{item.staticDate,jdbcType=VARCHAR}, #{item.newUserCount,jdbcType=INTEGER}, 
+        #{item.newFollowCount,jdbcType=INTEGER}, #{item.newRechargeCount,jdbcType=VARCHAR}, 
+        #{item.allSpend,jdbcType=VARCHAR}, #{item.firstRoi,jdbcType=VARCHAR}, #{item.allRecharge,jdbcType=VARCHAR}, 
+        #{item.allRoi,jdbcType=VARCHAR}, #{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}
+        )
+    </foreach>
+  </insert>
+  <insert id="batchInsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income (
+    <foreach collection="selective" item="column" separator=",">
+      ${column.escapedColumnName}
+    </foreach>
+    )
+    values
+    <foreach collection="list" item="item" separator=",">
+      (
+      <foreach collection="selective" item="column" separator=",">
+        <if test="'id'.toString() == column.value">
+          #{item.id,jdbcType=INTEGER}
+        </if>
+        <if test="'static_date'.toString() == column.value">
+          #{item.staticDate,jdbcType=VARCHAR}
+        </if>
+        <if test="'new_user_count'.toString() == column.value">
+          #{item.newUserCount,jdbcType=INTEGER}
+        </if>
+        <if test="'new_follow_count'.toString() == column.value">
+          #{item.newFollowCount,jdbcType=INTEGER}
+        </if>
+        <if test="'new_recharge_count'.toString() == column.value">
+          #{item.newRechargeCount,jdbcType=VARCHAR}
+        </if>
+        <if test="'all_spend'.toString() == column.value">
+          #{item.allSpend,jdbcType=VARCHAR}
+        </if>
+        <if test="'first_roi'.toString() == column.value">
+          #{item.firstRoi,jdbcType=VARCHAR}
+        </if>
+        <if test="'all_recharge'.toString() == column.value">
+          #{item.allRecharge,jdbcType=VARCHAR}
+        </if>
+        <if test="'all_roi'.toString() == column.value">
+          #{item.allRoi,jdbcType=VARCHAR}
+        </if>
+        <if test="'insert_time'.toString() == column.value">
+          #{item.insertTime,jdbcType=TIMESTAMP}
+        </if>
+        <if test="'update_time'.toString() == column.value">
+          #{item.updateTime,jdbcType=TIMESTAMP}
+        </if>
+      </foreach>
+      )
+    </foreach>
+  </insert>
+  <insert id="upsertSelective" parameterType="map">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          ${column.escapedColumnName}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            id,
+          </if>
+          <if test="record.staticDate != null">
+            static_date,
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count,
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count,
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count,
+          </if>
+          <if test="record.allSpend != null">
+            all_spend,
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi,
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge,
+          </if>
+          <if test="record.allRoi != null">
+            all_roi,
+          </if>
+          <if test="record.insertTime != null">
+            insert_time,
+          </if>
+          <if test="record.updateTime != null">
+            update_time,
+          </if>
+        </trim>
+        <trim prefix="(" suffix=")" suffixOverrides="," />
+      </otherwise>
+    </choose>
+    values
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach close=")" collection="selective" item="column" open="(" separator=",">
+          #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+          <if test="record.id != null">
+            #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+    on duplicate key update 
+    <choose>
+      <when test="selective != null and selective.length > 0">
+        <foreach collection="selective" item="column" separator=",">
+          ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
+        </foreach>
+      </when>
+      <otherwise>
+        <trim suffixOverrides=",">
+          <if test="record.id != null">
+            id = #{record.id,jdbcType=INTEGER},
+          </if>
+          <if test="record.staticDate != null">
+            static_date = #{record.staticDate,jdbcType=VARCHAR},
+          </if>
+          <if test="record.newUserCount != null">
+            new_user_count = #{record.newUserCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newFollowCount != null">
+            new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
+          </if>
+          <if test="record.newRechargeCount != null">
+            new_recharge_count = #{record.newRechargeCount,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allSpend != null">
+            all_spend = #{record.allSpend,jdbcType=VARCHAR},
+          </if>
+          <if test="record.firstRoi != null">
+            first_roi = #{record.firstRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRecharge != null">
+            all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
+          </if>
+          <if test="record.allRoi != null">
+            all_roi = #{record.allRoi,jdbcType=VARCHAR},
+          </if>
+          <if test="record.insertTime != null">
+            insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
+          </if>
+          <if test="record.updateTime != null">
+            update_time = #{record.updateTime,jdbcType=TIMESTAMP},
+          </if>
+        </trim>
+      </otherwise>
+    </choose>
+  </insert>
+  <insert id="upsert" parameterType="com.book.dao.polardb.entity.SunStaticIncome">
+    <!--
+      WARNING - @mbg.generated
+      This element is automatically generated by MyBatis Generator, do not modify.
+      This element was generated on Fri Oct 15 21:30:01 CST 2021.
+    -->
+    insert into sun_static_income
+    (id, static_date, new_user_count, new_follow_count, new_recharge_count, all_spend, 
+      first_roi, all_recharge, all_roi, insert_time, update_time)
+    values
+    (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{newUserCount,jdbcType=INTEGER}, 
+      #{newFollowCount,jdbcType=INTEGER}, #{newRechargeCount,jdbcType=VARCHAR}, #{allSpend,jdbcType=VARCHAR}, 
+      #{firstRoi,jdbcType=VARCHAR}, #{allRecharge,jdbcType=VARCHAR}, #{allRoi,jdbcType=VARCHAR}, 
+      #{insertTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
+    on duplicate key update 
+    id = #{id,jdbcType=INTEGER}, 
+    static_date = #{staticDate,jdbcType=VARCHAR}, 
+    new_user_count = #{newUserCount,jdbcType=INTEGER}, 
+    new_follow_count = #{newFollowCount,jdbcType=INTEGER}, 
+    new_recharge_count = #{newRechargeCount,jdbcType=VARCHAR}, 
+    all_spend = #{allSpend,jdbcType=VARCHAR}, 
+    first_roi = #{firstRoi,jdbcType=VARCHAR}, 
+    all_recharge = #{allRecharge,jdbcType=VARCHAR}, 
+    all_roi = #{allRoi,jdbcType=VARCHAR}, 
+    insert_time = #{insertTime,jdbcType=TIMESTAMP}, 
+    update_time = #{updateTime,jdbcType=TIMESTAMP}
+  </insert>
+</mapper>

+ 5 - 1
book-dao/src/main/resources/polar-mybatis-generator.xml

@@ -131,7 +131,7 @@
         <!--<table tableName="ad_user_group_extend"></table>-->
         <!--<table tableName="ad_user_group_extend"/>-->
         <!--<table tableName="sun_user_collect"/>-->
-        <table tableName="sun_order"/>
+        <!--<table tableName="sun_order"/>-->
         <!--<table tableName="sun_order_collect"/>-->
         <!--<table tableName="sun_user"></table>-->
         <!--<table tableName="sun_user_active"></table>-->
@@ -140,6 +140,10 @@
         <!--<table tableName="sun_static_order_day_channel"></table>-->
      <!--   <table tableName="sun_static_user_day_channel"></table>
         <table tableName="sun_static_user_day"></table>-->
+        <table tableName="sun_static_income"/>
+        <table tableName="sun_static_income_channel"/>
+        <table tableName="sun_static_income_hundred"/>
+        <table tableName="sun_static_income_hundred_channel"/>
     </context>
 
 </generatorConfiguration>