Browse Source

阳光数据接口调试

lijilei 3 years ago
parent
commit
e87535e109

+ 87 - 86
book-dao/src/main/java/com/book/dao/polardb/entity/SunUser.java

@@ -1,6 +1,7 @@
 package com.book.dao.polardb.entity;
 
 import java.io.Serializable;
+import java.math.BigDecimal;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Date;
@@ -13,7 +14,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer id;
 
@@ -22,7 +23,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.user_id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String userId;
 
@@ -31,7 +32,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.nickname
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String nickname;
 
@@ -40,7 +41,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.openid
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String openid;
 
@@ -49,7 +50,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.mobile
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String mobile;
 
@@ -58,7 +59,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.province
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String province;
 
@@ -67,7 +68,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.city
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String city;
 
@@ -76,7 +77,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.sex
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String sex;
 
@@ -85,7 +86,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.is_subscribe
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String isSubscribe;
 
@@ -94,7 +95,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.operatetime
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String operatetime;
 
@@ -103,7 +104,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.registertime
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String registertime;
 
@@ -112,7 +113,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.authorizer_nickname
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String authorizerNickname;
 
@@ -121,7 +122,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.authorizer_appid
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String authorizerAppid;
 
@@ -130,7 +131,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.subscribe_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String subscribeTime;
 
@@ -139,7 +140,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.channel_id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String channelId;
 
@@ -148,7 +149,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.vip_end_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String vipEndTime;
 
@@ -157,16 +158,16 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.recharge_amount
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
-    private Long rechargeAmount;
+    private BigDecimal rechargeAmount;
 
     /**
      *
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.recharge_num
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer rechargeNum;
 
@@ -175,16 +176,16 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.first_pay
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
-    private Long firstPay;
+    private BigDecimal firstPay;
 
     /**
      *
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.last_recharge_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String lastRechargeTime;
 
@@ -193,7 +194,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.total_kandian
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer totalKandian;
 
@@ -202,7 +203,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.kandian
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer kandian;
 
@@ -211,7 +212,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.referral_id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String referralId;
 
@@ -220,7 +221,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.referral_id_permanent
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String referralIdPermanent;
 
@@ -229,7 +230,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.register_ip
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String registerIp;
 
@@ -238,7 +239,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.user_agent
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String userAgent;
 
@@ -247,7 +248,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.start_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Date startTime;
 
@@ -256,7 +257,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.end_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Date endTime;
 
@@ -265,7 +266,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user.insert_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Date insertTime;
 
@@ -273,7 +274,7 @@ public class SunUser implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private static final long serialVersionUID = 1L;
 
@@ -281,7 +282,7 @@ public class SunUser implements Serializable {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static SunUser.Builder builder() {
         return new SunUser.Builder();
@@ -291,14 +292,14 @@ public class SunUser implements Serializable {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static class Builder {
         /**
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private SunUser obj;
 
@@ -306,7 +307,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder() {
             this.obj = new SunUser();
@@ -318,7 +319,7 @@ public class SunUser implements Serializable {
          *
          * @param id the value for sun_user.id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder id(Integer id) {
             obj.setId(id);
@@ -331,7 +332,7 @@ public class SunUser implements Serializable {
          *
          * @param userId the value for sun_user.user_id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder userId(String userId) {
             obj.setUserId(userId);
@@ -344,7 +345,7 @@ public class SunUser implements Serializable {
          *
          * @param nickname the value for sun_user.nickname
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder nickname(String nickname) {
             obj.setNickname(nickname);
@@ -357,7 +358,7 @@ public class SunUser implements Serializable {
          *
          * @param openid the value for sun_user.openid
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder openid(String openid) {
             obj.setOpenid(openid);
@@ -370,7 +371,7 @@ public class SunUser implements Serializable {
          *
          * @param mobile the value for sun_user.mobile
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder mobile(String mobile) {
             obj.setMobile(mobile);
@@ -383,7 +384,7 @@ public class SunUser implements Serializable {
          *
          * @param province the value for sun_user.province
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder province(String province) {
             obj.setProvince(province);
@@ -396,7 +397,7 @@ public class SunUser implements Serializable {
          *
          * @param city the value for sun_user.city
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder city(String city) {
             obj.setCity(city);
@@ -409,7 +410,7 @@ public class SunUser implements Serializable {
          *
          * @param sex the value for sun_user.sex
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder sex(String sex) {
             obj.setSex(sex);
@@ -422,7 +423,7 @@ public class SunUser implements Serializable {
          *
          * @param isSubscribe the value for sun_user.is_subscribe
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder isSubscribe(String isSubscribe) {
             obj.setIsSubscribe(isSubscribe);
@@ -435,7 +436,7 @@ public class SunUser implements Serializable {
          *
          * @param operatetime the value for sun_user.operatetime
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder operatetime(String operatetime) {
             obj.setOperatetime(operatetime);
@@ -448,7 +449,7 @@ public class SunUser implements Serializable {
          *
          * @param registertime the value for sun_user.registertime
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder registertime(String registertime) {
             obj.setRegistertime(registertime);
@@ -461,7 +462,7 @@ public class SunUser implements Serializable {
          *
          * @param authorizerNickname the value for sun_user.authorizer_nickname
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder authorizerNickname(String authorizerNickname) {
             obj.setAuthorizerNickname(authorizerNickname);
@@ -474,7 +475,7 @@ public class SunUser implements Serializable {
          *
          * @param authorizerAppid the value for sun_user.authorizer_appid
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder authorizerAppid(String authorizerAppid) {
             obj.setAuthorizerAppid(authorizerAppid);
@@ -487,7 +488,7 @@ public class SunUser implements Serializable {
          *
          * @param subscribeTime the value for sun_user.subscribe_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder subscribeTime(String subscribeTime) {
             obj.setSubscribeTime(subscribeTime);
@@ -500,7 +501,7 @@ public class SunUser implements Serializable {
          *
          * @param channelId the value for sun_user.channel_id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder channelId(String channelId) {
             obj.setChannelId(channelId);
@@ -513,7 +514,7 @@ public class SunUser implements Serializable {
          *
          * @param vipEndTime the value for sun_user.vip_end_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder vipEndTime(String vipEndTime) {
             obj.setVipEndTime(vipEndTime);
@@ -526,9 +527,9 @@ public class SunUser implements Serializable {
          *
          * @param rechargeAmount the value for sun_user.recharge_amount
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
-        public Builder rechargeAmount(Long rechargeAmount) {
+        public Builder rechargeAmount(BigDecimal rechargeAmount) {
             obj.setRechargeAmount(rechargeAmount);
             return this;
         }
@@ -539,7 +540,7 @@ public class SunUser implements Serializable {
          *
          * @param rechargeNum the value for sun_user.recharge_num
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder rechargeNum(Integer rechargeNum) {
             obj.setRechargeNum(rechargeNum);
@@ -552,9 +553,9 @@ public class SunUser implements Serializable {
          *
          * @param firstPay the value for sun_user.first_pay
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
-        public Builder firstPay(Long firstPay) {
+        public Builder firstPay(BigDecimal firstPay) {
             obj.setFirstPay(firstPay);
             return this;
         }
@@ -565,7 +566,7 @@ public class SunUser implements Serializable {
          *
          * @param lastRechargeTime the value for sun_user.last_recharge_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder lastRechargeTime(String lastRechargeTime) {
             obj.setLastRechargeTime(lastRechargeTime);
@@ -578,7 +579,7 @@ public class SunUser implements Serializable {
          *
          * @param totalKandian the value for sun_user.total_kandian
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder totalKandian(Integer totalKandian) {
             obj.setTotalKandian(totalKandian);
@@ -591,7 +592,7 @@ public class SunUser implements Serializable {
          *
          * @param kandian the value for sun_user.kandian
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder kandian(Integer kandian) {
             obj.setKandian(kandian);
@@ -604,7 +605,7 @@ public class SunUser implements Serializable {
          *
          * @param referralId the value for sun_user.referral_id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder referralId(String referralId) {
             obj.setReferralId(referralId);
@@ -617,7 +618,7 @@ public class SunUser implements Serializable {
          *
          * @param referralIdPermanent the value for sun_user.referral_id_permanent
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder referralIdPermanent(String referralIdPermanent) {
             obj.setReferralIdPermanent(referralIdPermanent);
@@ -630,7 +631,7 @@ public class SunUser implements Serializable {
          *
          * @param registerIp the value for sun_user.register_ip
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder registerIp(String registerIp) {
             obj.setRegisterIp(registerIp);
@@ -643,7 +644,7 @@ public class SunUser implements Serializable {
          *
          * @param userAgent the value for sun_user.user_agent
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder userAgent(String userAgent) {
             obj.setUserAgent(userAgent);
@@ -656,7 +657,7 @@ public class SunUser implements Serializable {
          *
          * @param startTime the value for sun_user.start_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder startTime(Date startTime) {
             obj.setStartTime(startTime);
@@ -669,7 +670,7 @@ public class SunUser implements Serializable {
          *
          * @param endTime the value for sun_user.end_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder endTime(Date endTime) {
             obj.setEndTime(endTime);
@@ -682,7 +683,7 @@ public class SunUser implements Serializable {
          *
          * @param insertTime the value for sun_user.insert_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder insertTime(Date insertTime) {
             obj.setInsertTime(insertTime);
@@ -693,7 +694,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public SunUser build() {
             return this.obj;
@@ -704,7 +705,7 @@ public class SunUser implements Serializable {
      * This enum was generated by MyBatis Generator.
      * This enum corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public enum Column {
         id("id", "id", "INTEGER", false),
@@ -741,7 +742,7 @@ public class SunUser implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private static final String BEGINNING_DELIMITER = "\"";
 
@@ -749,7 +750,7 @@ public class SunUser implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private static final String ENDING_DELIMITER = "\"";
 
@@ -757,7 +758,7 @@ public class SunUser implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final String column;
 
@@ -765,7 +766,7 @@ public class SunUser implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final boolean isColumnNameDelimited;
 
@@ -773,7 +774,7 @@ public class SunUser implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final String javaProperty;
 
@@ -781,7 +782,7 @@ public class SunUser implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final String jdbcType;
 
@@ -789,7 +790,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String value() {
             return this.column;
@@ -799,7 +800,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getValue() {
             return this.column;
@@ -809,7 +810,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getJavaProperty() {
             return this.javaProperty;
@@ -819,7 +820,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getJdbcType() {
             return this.jdbcType;
@@ -829,7 +830,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
             this.column = column;
@@ -842,7 +843,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String desc() {
             return this.getEscapedColumnName() + " DESC";
@@ -852,7 +853,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String asc() {
             return this.getEscapedColumnName() + " ASC";
@@ -862,7 +863,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public static Column[] excludes(Column ... excludes) {
             ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
@@ -876,7 +877,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public static Column[] all() {
             return Column.values();
@@ -886,7 +887,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getEscapedColumnName() {
             if (this.isColumnNameDelimited) {
@@ -900,7 +901,7 @@ public class SunUser implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getAliasedEscapedColumnName() {
             return this.getEscapedColumnName();

+ 85 - 84
book-dao/src/main/java/com/book/dao/polardb/entity/SunUserActive.java

@@ -1,6 +1,7 @@
 package com.book.dao.polardb.entity;
 
 import java.io.Serializable;
+import java.math.BigDecimal;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Date;
@@ -13,7 +14,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer id;
 
@@ -22,7 +23,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.user_id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String userId;
 
@@ -31,7 +32,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.nickname
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String nickname;
 
@@ -40,7 +41,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.openid
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String openid;
 
@@ -49,7 +50,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.mobile
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String mobile;
 
@@ -58,7 +59,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.province
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String province;
 
@@ -67,7 +68,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.city
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String city;
 
@@ -76,7 +77,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.sex
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String sex;
 
@@ -85,7 +86,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.is_subscribe
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String isSubscribe;
 
@@ -94,7 +95,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.operatetime
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String operatetime;
 
@@ -103,7 +104,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.registertime
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String registertime;
 
@@ -112,7 +113,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.authorizer_nickname
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String authorizerNickname;
 
@@ -121,7 +122,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.authorizer_appid
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String authorizerAppid;
 
@@ -130,7 +131,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.subscribe_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String subscribeTime;
 
@@ -139,7 +140,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.channel_id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String channelId;
 
@@ -148,7 +149,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.vip_end_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String vipEndTime;
 
@@ -157,16 +158,16 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.recharge_amount
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
-    private Long rechargeAmount;
+    private BigDecimal rechargeAmount;
 
     /**
      *
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.recharge_num
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer rechargeNum;
 
@@ -175,16 +176,16 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.first_pay
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
-    private Long firstPay;
+    private BigDecimal firstPay;
 
     /**
      *
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.last_recharge_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String lastRechargeTime;
 
@@ -193,7 +194,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.total_kandian
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer totalKandian;
 
@@ -202,7 +203,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.kandian
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Integer kandian;
 
@@ -211,7 +212,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.referral_id
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String referralId;
 
@@ -220,7 +221,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.referral_id_permanent
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String referralIdPermanent;
 
@@ -229,7 +230,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.register_ip
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String registerIp;
 
@@ -238,7 +239,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.user_agent
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private String userAgent;
 
@@ -247,7 +248,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.collect_date
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Date collectDate;
 
@@ -256,7 +257,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column sun_user_active.insert_time
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private Date insertTime;
 
@@ -264,7 +265,7 @@ public class SunUserActive implements Serializable {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     private static final long serialVersionUID = 1L;
 
@@ -272,7 +273,7 @@ public class SunUserActive implements Serializable {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static SunUserActive.Builder builder() {
         return new SunUserActive.Builder();
@@ -282,14 +283,14 @@ public class SunUserActive implements Serializable {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static class Builder {
         /**
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private SunUserActive obj;
 
@@ -297,7 +298,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder() {
             this.obj = new SunUserActive();
@@ -309,7 +310,7 @@ public class SunUserActive implements Serializable {
          *
          * @param id the value for sun_user_active.id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder id(Integer id) {
             obj.setId(id);
@@ -322,7 +323,7 @@ public class SunUserActive implements Serializable {
          *
          * @param userId the value for sun_user_active.user_id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder userId(String userId) {
             obj.setUserId(userId);
@@ -335,7 +336,7 @@ public class SunUserActive implements Serializable {
          *
          * @param nickname the value for sun_user_active.nickname
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder nickname(String nickname) {
             obj.setNickname(nickname);
@@ -348,7 +349,7 @@ public class SunUserActive implements Serializable {
          *
          * @param openid the value for sun_user_active.openid
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder openid(String openid) {
             obj.setOpenid(openid);
@@ -361,7 +362,7 @@ public class SunUserActive implements Serializable {
          *
          * @param mobile the value for sun_user_active.mobile
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder mobile(String mobile) {
             obj.setMobile(mobile);
@@ -374,7 +375,7 @@ public class SunUserActive implements Serializable {
          *
          * @param province the value for sun_user_active.province
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder province(String province) {
             obj.setProvince(province);
@@ -387,7 +388,7 @@ public class SunUserActive implements Serializable {
          *
          * @param city the value for sun_user_active.city
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder city(String city) {
             obj.setCity(city);
@@ -400,7 +401,7 @@ public class SunUserActive implements Serializable {
          *
          * @param sex the value for sun_user_active.sex
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder sex(String sex) {
             obj.setSex(sex);
@@ -413,7 +414,7 @@ public class SunUserActive implements Serializable {
          *
          * @param isSubscribe the value for sun_user_active.is_subscribe
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder isSubscribe(String isSubscribe) {
             obj.setIsSubscribe(isSubscribe);
@@ -426,7 +427,7 @@ public class SunUserActive implements Serializable {
          *
          * @param operatetime the value for sun_user_active.operatetime
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder operatetime(String operatetime) {
             obj.setOperatetime(operatetime);
@@ -439,7 +440,7 @@ public class SunUserActive implements Serializable {
          *
          * @param registertime the value for sun_user_active.registertime
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder registertime(String registertime) {
             obj.setRegistertime(registertime);
@@ -452,7 +453,7 @@ public class SunUserActive implements Serializable {
          *
          * @param authorizerNickname the value for sun_user_active.authorizer_nickname
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder authorizerNickname(String authorizerNickname) {
             obj.setAuthorizerNickname(authorizerNickname);
@@ -465,7 +466,7 @@ public class SunUserActive implements Serializable {
          *
          * @param authorizerAppid the value for sun_user_active.authorizer_appid
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder authorizerAppid(String authorizerAppid) {
             obj.setAuthorizerAppid(authorizerAppid);
@@ -478,7 +479,7 @@ public class SunUserActive implements Serializable {
          *
          * @param subscribeTime the value for sun_user_active.subscribe_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder subscribeTime(String subscribeTime) {
             obj.setSubscribeTime(subscribeTime);
@@ -491,7 +492,7 @@ public class SunUserActive implements Serializable {
          *
          * @param channelId the value for sun_user_active.channel_id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder channelId(String channelId) {
             obj.setChannelId(channelId);
@@ -504,7 +505,7 @@ public class SunUserActive implements Serializable {
          *
          * @param vipEndTime the value for sun_user_active.vip_end_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder vipEndTime(String vipEndTime) {
             obj.setVipEndTime(vipEndTime);
@@ -517,9 +518,9 @@ public class SunUserActive implements Serializable {
          *
          * @param rechargeAmount the value for sun_user_active.recharge_amount
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
-        public Builder rechargeAmount(Long rechargeAmount) {
+        public Builder rechargeAmount(BigDecimal rechargeAmount) {
             obj.setRechargeAmount(rechargeAmount);
             return this;
         }
@@ -530,7 +531,7 @@ public class SunUserActive implements Serializable {
          *
          * @param rechargeNum the value for sun_user_active.recharge_num
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder rechargeNum(Integer rechargeNum) {
             obj.setRechargeNum(rechargeNum);
@@ -543,9 +544,9 @@ public class SunUserActive implements Serializable {
          *
          * @param firstPay the value for sun_user_active.first_pay
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
-        public Builder firstPay(Long firstPay) {
+        public Builder firstPay(BigDecimal firstPay) {
             obj.setFirstPay(firstPay);
             return this;
         }
@@ -556,7 +557,7 @@ public class SunUserActive implements Serializable {
          *
          * @param lastRechargeTime the value for sun_user_active.last_recharge_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder lastRechargeTime(String lastRechargeTime) {
             obj.setLastRechargeTime(lastRechargeTime);
@@ -569,7 +570,7 @@ public class SunUserActive implements Serializable {
          *
          * @param totalKandian the value for sun_user_active.total_kandian
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder totalKandian(Integer totalKandian) {
             obj.setTotalKandian(totalKandian);
@@ -582,7 +583,7 @@ public class SunUserActive implements Serializable {
          *
          * @param kandian the value for sun_user_active.kandian
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder kandian(Integer kandian) {
             obj.setKandian(kandian);
@@ -595,7 +596,7 @@ public class SunUserActive implements Serializable {
          *
          * @param referralId the value for sun_user_active.referral_id
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder referralId(String referralId) {
             obj.setReferralId(referralId);
@@ -608,7 +609,7 @@ public class SunUserActive implements Serializable {
          *
          * @param referralIdPermanent the value for sun_user_active.referral_id_permanent
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder referralIdPermanent(String referralIdPermanent) {
             obj.setReferralIdPermanent(referralIdPermanent);
@@ -621,7 +622,7 @@ public class SunUserActive implements Serializable {
          *
          * @param registerIp the value for sun_user_active.register_ip
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder registerIp(String registerIp) {
             obj.setRegisterIp(registerIp);
@@ -634,7 +635,7 @@ public class SunUserActive implements Serializable {
          *
          * @param userAgent the value for sun_user_active.user_agent
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder userAgent(String userAgent) {
             obj.setUserAgent(userAgent);
@@ -647,7 +648,7 @@ public class SunUserActive implements Serializable {
          *
          * @param collectDate the value for sun_user_active.collect_date
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder collectDate(Date collectDate) {
             obj.setCollectDate(collectDate);
@@ -660,7 +661,7 @@ public class SunUserActive implements Serializable {
          *
          * @param insertTime the value for sun_user_active.insert_time
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Builder insertTime(Date insertTime) {
             obj.setInsertTime(insertTime);
@@ -671,7 +672,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public SunUserActive build() {
             return this.obj;
@@ -682,7 +683,7 @@ public class SunUserActive implements Serializable {
      * This enum was generated by MyBatis Generator.
      * This enum corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public enum Column {
         id("id", "id", "INTEGER", false),
@@ -718,7 +719,7 @@ public class SunUserActive implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private static final String BEGINNING_DELIMITER = "\"";
 
@@ -726,7 +727,7 @@ public class SunUserActive implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private static final String ENDING_DELIMITER = "\"";
 
@@ -734,7 +735,7 @@ public class SunUserActive implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final String column;
 
@@ -742,7 +743,7 @@ public class SunUserActive implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final boolean isColumnNameDelimited;
 
@@ -750,7 +751,7 @@ public class SunUserActive implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final String javaProperty;
 
@@ -758,7 +759,7 @@ public class SunUserActive implements Serializable {
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private final String jdbcType;
 
@@ -766,7 +767,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String value() {
             return this.column;
@@ -776,7 +777,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getValue() {
             return this.column;
@@ -786,7 +787,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getJavaProperty() {
             return this.javaProperty;
@@ -796,7 +797,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getJdbcType() {
             return this.jdbcType;
@@ -806,7 +807,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         Column(String column, String javaProperty, String jdbcType, boolean isColumnNameDelimited) {
             this.column = column;
@@ -819,7 +820,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String desc() {
             return this.getEscapedColumnName() + " DESC";
@@ -829,7 +830,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String asc() {
             return this.getEscapedColumnName() + " ASC";
@@ -839,7 +840,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public static Column[] excludes(Column ... excludes) {
             ArrayList<Column> columns = new ArrayList<>(Arrays.asList(Column.values()));
@@ -853,7 +854,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public static Column[] all() {
             return Column.values();
@@ -863,7 +864,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getEscapedColumnName() {
             if (this.isColumnNameDelimited) {
@@ -877,7 +878,7 @@ public class SunUserActive implements Serializable {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public String getAliasedEscapedColumnName() {
             return this.getEscapedColumnName();

+ 19 - 19
book-dao/src/main/java/com/book/dao/polardb/mapper/SunUserActiveMapper.java

@@ -14,7 +14,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     long countByExample(SunUserActiveExample example);
 
@@ -22,7 +22,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int deleteByExample(SunUserActiveExample example);
 
@@ -30,7 +30,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int deleteByPrimaryKey(Integer id);
 
@@ -38,7 +38,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int insert(SunUserActive record);
 
@@ -46,7 +46,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int insertSelective(@Param("record") SunUserActive record, @Param("selective") SunUserActive.Column ... selective);
 
@@ -54,7 +54,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUserActive selectOneByExample(SunUserActiveExample example);
 
@@ -62,7 +62,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUserActive selectOneByExampleSelective(@Param("example") SunUserActiveExample example, @Param("selective") SunUserActive.Column ... selective);
 
@@ -70,7 +70,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     List<SunUserActive> selectByExampleSelective(@Param("example") SunUserActiveExample example, @Param("selective") SunUserActive.Column ... selective);
 
@@ -78,7 +78,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     List<SunUserActive> selectByExample(SunUserActiveExample example);
 
@@ -86,7 +86,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUserActive selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SunUserActive.Column ... selective);
 
@@ -94,7 +94,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUserActive selectByPrimaryKey(Integer id);
 
@@ -102,7 +102,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByExampleSelective(@Param("record") SunUserActive record, @Param("example") SunUserActiveExample example, @Param("selective") SunUserActive.Column ... selective);
 
@@ -110,7 +110,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByExample(@Param("record") SunUserActive record, @Param("example") SunUserActiveExample example);
 
@@ -118,7 +118,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByPrimaryKeySelective(@Param("record") SunUserActive record, @Param("selective") SunUserActive.Column ... selective);
 
@@ -126,7 +126,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByPrimaryKey(SunUserActive record);
 
@@ -134,7 +134,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int batchInsert(@Param("list") List<SunUserActive> list);
 
@@ -142,7 +142,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int batchInsertSelective(@Param("list") List<SunUserActive> list, @Param("selective") SunUserActive.Column ... selective);
 
@@ -150,7 +150,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int upsert(SunUserActive record);
 
@@ -158,7 +158,7 @@ public interface SunUserActiveMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int upsertSelective(@Param("record") SunUserActive record, @Param("selective") SunUserActive.Column ... selective);
 }

+ 19 - 19
book-dao/src/main/java/com/book/dao/polardb/mapper/SunUserMapper.java

@@ -14,7 +14,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     long countByExample(SunUserExample example);
 
@@ -22,7 +22,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int deleteByExample(SunUserExample example);
 
@@ -30,7 +30,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int deleteByPrimaryKey(Integer id);
 
@@ -38,7 +38,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int insert(SunUser record);
 
@@ -46,7 +46,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int insertSelective(@Param("record") SunUser record, @Param("selective") SunUser.Column ... selective);
 
@@ -54,7 +54,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUser selectOneByExample(SunUserExample example);
 
@@ -62,7 +62,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUser selectOneByExampleSelective(@Param("example") SunUserExample example, @Param("selective") SunUser.Column ... selective);
 
@@ -70,7 +70,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     List<SunUser> selectByExampleSelective(@Param("example") SunUserExample example, @Param("selective") SunUser.Column ... selective);
 
@@ -78,7 +78,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     List<SunUser> selectByExample(SunUserExample example);
 
@@ -86,7 +86,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUser selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") SunUser.Column ... selective);
 
@@ -94,7 +94,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     SunUser selectByPrimaryKey(Integer id);
 
@@ -102,7 +102,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByExampleSelective(@Param("record") SunUser record, @Param("example") SunUserExample example, @Param("selective") SunUser.Column ... selective);
 
@@ -110,7 +110,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByExample(@Param("record") SunUser record, @Param("example") SunUserExample example);
 
@@ -118,7 +118,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByPrimaryKeySelective(@Param("record") SunUser record, @Param("selective") SunUser.Column ... selective);
 
@@ -126,7 +126,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int updateByPrimaryKey(SunUser record);
 
@@ -134,7 +134,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int batchInsert(@Param("list") List<SunUser> list);
 
@@ -142,7 +142,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int batchInsertSelective(@Param("list") List<SunUser> list, @Param("selective") SunUser.Column ... selective);
 
@@ -150,7 +150,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int upsert(SunUser record);
 
@@ -158,7 +158,7 @@ public interface SunUserMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     int upsertSelective(@Param("record") SunUser record, @Param("selective") SunUser.Column ... selective);
 }

+ 61 - 60
book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunUserActiveExample.java

@@ -1,6 +1,7 @@
 package com.book.dao.polardb.pojo.example;
 
 import com.book.dao.polardb.entity.SunUserActive;
+import java.math.BigDecimal;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
@@ -10,7 +11,7 @@ public class SunUserActiveExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected String orderByClause;
 
@@ -18,7 +19,7 @@ public class SunUserActiveExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected boolean distinct;
 
@@ -26,7 +27,7 @@ public class SunUserActiveExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected List<Criteria> oredCriteria;
 
@@ -34,7 +35,7 @@ public class SunUserActiveExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected Integer offset;
 
@@ -42,7 +43,7 @@ public class SunUserActiveExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected Integer rows;
 
@@ -50,7 +51,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample() {
         oredCriteria = new ArrayList<Criteria>();
@@ -60,7 +61,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setOrderByClause(String orderByClause) {
         this.orderByClause = orderByClause;
@@ -70,7 +71,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public String getOrderByClause() {
         return orderByClause;
@@ -80,7 +81,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setDistinct(boolean distinct) {
         this.distinct = distinct;
@@ -90,7 +91,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public boolean isDistinct() {
         return distinct;
@@ -100,7 +101,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public List<Criteria> getOredCriteria() {
         return oredCriteria;
@@ -110,7 +111,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void or(Criteria criteria) {
         oredCriteria.add(criteria);
@@ -120,7 +121,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Criteria or() {
         Criteria criteria = createCriteriaInternal();
@@ -132,7 +133,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample orderBy(String orderByClause) {
         this.setOrderByClause(orderByClause);
@@ -143,7 +144,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample orderBy(String ... orderByClauses) {
         StringBuffer sb = new StringBuffer();
@@ -161,7 +162,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Criteria createCriteria() {
         Criteria criteria = createCriteriaInternal();
@@ -175,7 +176,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected Criteria createCriteriaInternal() {
         Criteria criteria = new Criteria(this);
@@ -186,7 +187,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void clear() {
         oredCriteria.clear();
@@ -200,7 +201,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setOffset(Integer offset) {
         this.offset = offset;
@@ -210,7 +211,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Integer getOffset() {
         return this.offset;
@@ -220,7 +221,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setRows(Integer rows) {
         this.rows = rows;
@@ -230,7 +231,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Integer getRows() {
         return this.rows;
@@ -240,7 +241,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample limit(Integer rows) {
         this.rows = rows;
@@ -251,7 +252,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample limit(Integer offset, Integer rows) {
         this.offset = offset;
@@ -263,7 +264,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample page(Integer page, Integer pageSize) {
         this.offset = page * pageSize;
@@ -275,7 +276,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static Criteria newAndCreateCriteria() {
         SunUserActiveExample example = new SunUserActiveExample();
@@ -286,7 +287,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample when(boolean condition, IExampleWhen then) {
         if (condition) {
@@ -299,7 +300,7 @@ public class SunUserActiveExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserActiveExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
         if (condition) {
@@ -314,7 +315,7 @@ public class SunUserActiveExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected abstract static class GeneratedCriteria {
         protected List<Criterion> criteria;
@@ -1957,7 +1958,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountEqualTo(Long value) {
+        public Criteria andRechargeAmountEqualTo(BigDecimal value) {
             addCriterion("recharge_amount =", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1967,7 +1968,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountNotEqualTo(Long value) {
+        public Criteria andRechargeAmountNotEqualTo(BigDecimal value) {
             addCriterion("recharge_amount <>", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1977,7 +1978,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountGreaterThan(Long value) {
+        public Criteria andRechargeAmountGreaterThan(BigDecimal value) {
             addCriterion("recharge_amount >", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1987,7 +1988,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountGreaterThanOrEqualTo(Long value) {
+        public Criteria andRechargeAmountGreaterThanOrEqualTo(BigDecimal value) {
             addCriterion("recharge_amount >=", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1997,7 +1998,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountLessThan(Long value) {
+        public Criteria andRechargeAmountLessThan(BigDecimal value) {
             addCriterion("recharge_amount <", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -2007,7 +2008,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountLessThanOrEqualTo(Long value) {
+        public Criteria andRechargeAmountLessThanOrEqualTo(BigDecimal value) {
             addCriterion("recharge_amount <=", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -2017,22 +2018,22 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountIn(List<Long> values) {
+        public Criteria andRechargeAmountIn(List<BigDecimal> values) {
             addCriterion("recharge_amount in", values, "rechargeAmount");
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountNotIn(List<Long> values) {
+        public Criteria andRechargeAmountNotIn(List<BigDecimal> values) {
             addCriterion("recharge_amount not in", values, "rechargeAmount");
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountBetween(Long value1, Long value2) {
+        public Criteria andRechargeAmountBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("recharge_amount between", value1, value2, "rechargeAmount");
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountNotBetween(Long value1, Long value2) {
+        public Criteria andRechargeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("recharge_amount not between", value1, value2, "rechargeAmount");
             return (Criteria) this;
         }
@@ -2137,7 +2138,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayEqualTo(Long value) {
+        public Criteria andFirstPayEqualTo(BigDecimal value) {
             addCriterion("first_pay =", value, "firstPay");
             return (Criteria) this;
         }
@@ -2147,7 +2148,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayNotEqualTo(Long value) {
+        public Criteria andFirstPayNotEqualTo(BigDecimal value) {
             addCriterion("first_pay <>", value, "firstPay");
             return (Criteria) this;
         }
@@ -2157,7 +2158,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayGreaterThan(Long value) {
+        public Criteria andFirstPayGreaterThan(BigDecimal value) {
             addCriterion("first_pay >", value, "firstPay");
             return (Criteria) this;
         }
@@ -2167,7 +2168,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayGreaterThanOrEqualTo(Long value) {
+        public Criteria andFirstPayGreaterThanOrEqualTo(BigDecimal value) {
             addCriterion("first_pay >=", value, "firstPay");
             return (Criteria) this;
         }
@@ -2177,7 +2178,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayLessThan(Long value) {
+        public Criteria andFirstPayLessThan(BigDecimal value) {
             addCriterion("first_pay <", value, "firstPay");
             return (Criteria) this;
         }
@@ -2187,7 +2188,7 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayLessThanOrEqualTo(Long value) {
+        public Criteria andFirstPayLessThanOrEqualTo(BigDecimal value) {
             addCriterion("first_pay <=", value, "firstPay");
             return (Criteria) this;
         }
@@ -2197,22 +2198,22 @@ public class SunUserActiveExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayIn(List<Long> values) {
+        public Criteria andFirstPayIn(List<BigDecimal> values) {
             addCriterion("first_pay in", values, "firstPay");
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayNotIn(List<Long> values) {
+        public Criteria andFirstPayNotIn(List<BigDecimal> values) {
             addCriterion("first_pay not in", values, "firstPay");
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayBetween(Long value1, Long value2) {
+        public Criteria andFirstPayBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("first_pay between", value1, value2, "firstPay");
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayNotBetween(Long value1, Long value2) {
+        public Criteria andFirstPayNotBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("first_pay not between", value1, value2, "firstPay");
             return (Criteria) this;
         }
@@ -3082,14 +3083,14 @@ public class SunUserActiveExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user_active
      *
-     * @mbg.generated do_not_delete_during_merge Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated do_not_delete_during_merge Sat Oct 09 21:20:25 CST 2021
      */
     public static class Criteria extends GeneratedCriteria {
         /**
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private SunUserActiveExample example;
 
@@ -3097,7 +3098,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         protected Criteria(SunUserActiveExample example) {
             super();
@@ -3108,7 +3109,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public SunUserActiveExample example() {
             return this.example;
@@ -3118,7 +3119,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         @Deprecated
         public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
@@ -3132,7 +3133,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Criteria when(boolean condition, ICriteriaWhen then) {
             if (condition) {
@@ -3145,7 +3146,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
             if (condition) {
@@ -3162,7 +3163,7 @@ public class SunUserActiveExample {
              * This method was generated by MyBatis Generator.
              * This method corresponds to the database table sun_user_active
              *
-             * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+             * @mbg.generated Sat Oct 09 21:20:25 CST 2021
              */
             Criteria add(Criteria add);
         }
@@ -3172,7 +3173,7 @@ public class SunUserActiveExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user_active
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static class Criterion {
         private String condition;
@@ -3265,7 +3266,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         void criteria(Criteria criteria);
     }
@@ -3275,7 +3276,7 @@ public class SunUserActiveExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user_active
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         void example(com.book.dao.polardb.pojo.example.SunUserActiveExample example);
     }

+ 61 - 60
book-dao/src/main/java/com/book/dao/polardb/pojo/example/SunUserExample.java

@@ -1,6 +1,7 @@
 package com.book.dao.polardb.pojo.example;
 
 import com.book.dao.polardb.entity.SunUser;
+import java.math.BigDecimal;
 import java.util.ArrayList;
 import java.util.Date;
 import java.util.List;
@@ -10,7 +11,7 @@ public class SunUserExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected String orderByClause;
 
@@ -18,7 +19,7 @@ public class SunUserExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected boolean distinct;
 
@@ -26,7 +27,7 @@ public class SunUserExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected List<Criteria> oredCriteria;
 
@@ -34,7 +35,7 @@ public class SunUserExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected Integer offset;
 
@@ -42,7 +43,7 @@ public class SunUserExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected Integer rows;
 
@@ -50,7 +51,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample() {
         oredCriteria = new ArrayList<Criteria>();
@@ -60,7 +61,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setOrderByClause(String orderByClause) {
         this.orderByClause = orderByClause;
@@ -70,7 +71,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public String getOrderByClause() {
         return orderByClause;
@@ -80,7 +81,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setDistinct(boolean distinct) {
         this.distinct = distinct;
@@ -90,7 +91,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public boolean isDistinct() {
         return distinct;
@@ -100,7 +101,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public List<Criteria> getOredCriteria() {
         return oredCriteria;
@@ -110,7 +111,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void or(Criteria criteria) {
         oredCriteria.add(criteria);
@@ -120,7 +121,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Criteria or() {
         Criteria criteria = createCriteriaInternal();
@@ -132,7 +133,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample orderBy(String orderByClause) {
         this.setOrderByClause(orderByClause);
@@ -143,7 +144,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample orderBy(String ... orderByClauses) {
         StringBuffer sb = new StringBuffer();
@@ -161,7 +162,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Criteria createCriteria() {
         Criteria criteria = createCriteriaInternal();
@@ -175,7 +176,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected Criteria createCriteriaInternal() {
         Criteria criteria = new Criteria(this);
@@ -186,7 +187,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void clear() {
         oredCriteria.clear();
@@ -200,7 +201,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setOffset(Integer offset) {
         this.offset = offset;
@@ -210,7 +211,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Integer getOffset() {
         return this.offset;
@@ -220,7 +221,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public void setRows(Integer rows) {
         this.rows = rows;
@@ -230,7 +231,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public Integer getRows() {
         return this.rows;
@@ -240,7 +241,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample limit(Integer rows) {
         this.rows = rows;
@@ -251,7 +252,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample limit(Integer offset, Integer rows) {
         this.offset = offset;
@@ -263,7 +264,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample page(Integer page, Integer pageSize) {
         this.offset = page * pageSize;
@@ -275,7 +276,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static Criteria newAndCreateCriteria() {
         SunUserExample example = new SunUserExample();
@@ -286,7 +287,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample when(boolean condition, IExampleWhen then) {
         if (condition) {
@@ -299,7 +300,7 @@ public class SunUserExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public SunUserExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
         if (condition) {
@@ -314,7 +315,7 @@ public class SunUserExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     protected abstract static class GeneratedCriteria {
         protected List<Criterion> criteria;
@@ -1957,7 +1958,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountEqualTo(Long value) {
+        public Criteria andRechargeAmountEqualTo(BigDecimal value) {
             addCriterion("recharge_amount =", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1967,7 +1968,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountNotEqualTo(Long value) {
+        public Criteria andRechargeAmountNotEqualTo(BigDecimal value) {
             addCriterion("recharge_amount <>", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1977,7 +1978,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountGreaterThan(Long value) {
+        public Criteria andRechargeAmountGreaterThan(BigDecimal value) {
             addCriterion("recharge_amount >", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1987,7 +1988,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountGreaterThanOrEqualTo(Long value) {
+        public Criteria andRechargeAmountGreaterThanOrEqualTo(BigDecimal value) {
             addCriterion("recharge_amount >=", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -1997,7 +1998,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountLessThan(Long value) {
+        public Criteria andRechargeAmountLessThan(BigDecimal value) {
             addCriterion("recharge_amount <", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -2007,7 +2008,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountLessThanOrEqualTo(Long value) {
+        public Criteria andRechargeAmountLessThanOrEqualTo(BigDecimal value) {
             addCriterion("recharge_amount <=", value, "rechargeAmount");
             return (Criteria) this;
         }
@@ -2017,22 +2018,22 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountIn(List<Long> values) {
+        public Criteria andRechargeAmountIn(List<BigDecimal> values) {
             addCriterion("recharge_amount in", values, "rechargeAmount");
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountNotIn(List<Long> values) {
+        public Criteria andRechargeAmountNotIn(List<BigDecimal> values) {
             addCriterion("recharge_amount not in", values, "rechargeAmount");
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountBetween(Long value1, Long value2) {
+        public Criteria andRechargeAmountBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("recharge_amount between", value1, value2, "rechargeAmount");
             return (Criteria) this;
         }
 
-        public Criteria andRechargeAmountNotBetween(Long value1, Long value2) {
+        public Criteria andRechargeAmountNotBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("recharge_amount not between", value1, value2, "rechargeAmount");
             return (Criteria) this;
         }
@@ -2137,7 +2138,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayEqualTo(Long value) {
+        public Criteria andFirstPayEqualTo(BigDecimal value) {
             addCriterion("first_pay =", value, "firstPay");
             return (Criteria) this;
         }
@@ -2147,7 +2148,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayNotEqualTo(Long value) {
+        public Criteria andFirstPayNotEqualTo(BigDecimal value) {
             addCriterion("first_pay <>", value, "firstPay");
             return (Criteria) this;
         }
@@ -2157,7 +2158,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayGreaterThan(Long value) {
+        public Criteria andFirstPayGreaterThan(BigDecimal value) {
             addCriterion("first_pay >", value, "firstPay");
             return (Criteria) this;
         }
@@ -2167,7 +2168,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayGreaterThanOrEqualTo(Long value) {
+        public Criteria andFirstPayGreaterThanOrEqualTo(BigDecimal value) {
             addCriterion("first_pay >=", value, "firstPay");
             return (Criteria) this;
         }
@@ -2177,7 +2178,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayLessThan(Long value) {
+        public Criteria andFirstPayLessThan(BigDecimal value) {
             addCriterion("first_pay <", value, "firstPay");
             return (Criteria) this;
         }
@@ -2187,7 +2188,7 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayLessThanOrEqualTo(Long value) {
+        public Criteria andFirstPayLessThanOrEqualTo(BigDecimal value) {
             addCriterion("first_pay <=", value, "firstPay");
             return (Criteria) this;
         }
@@ -2197,22 +2198,22 @@ public class SunUserExample {
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayIn(List<Long> values) {
+        public Criteria andFirstPayIn(List<BigDecimal> values) {
             addCriterion("first_pay in", values, "firstPay");
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayNotIn(List<Long> values) {
+        public Criteria andFirstPayNotIn(List<BigDecimal> values) {
             addCriterion("first_pay not in", values, "firstPay");
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayBetween(Long value1, Long value2) {
+        public Criteria andFirstPayBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("first_pay between", value1, value2, "firstPay");
             return (Criteria) this;
         }
 
-        public Criteria andFirstPayNotBetween(Long value1, Long value2) {
+        public Criteria andFirstPayNotBetween(BigDecimal value1, BigDecimal value2) {
             addCriterion("first_pay not between", value1, value2, "firstPay");
             return (Criteria) this;
         }
@@ -3172,14 +3173,14 @@ public class SunUserExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user
      *
-     * @mbg.generated do_not_delete_during_merge Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated do_not_delete_during_merge Sat Oct 09 21:20:25 CST 2021
      */
     public static class Criteria extends GeneratedCriteria {
         /**
          * This field was generated by MyBatis Generator.
          * This field corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         private SunUserExample example;
 
@@ -3187,7 +3188,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         protected Criteria(SunUserExample example) {
             super();
@@ -3198,7 +3199,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public SunUserExample example() {
             return this.example;
@@ -3208,7 +3209,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         @Deprecated
         public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
@@ -3222,7 +3223,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Criteria when(boolean condition, ICriteriaWhen then) {
             if (condition) {
@@ -3235,7 +3236,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
             if (condition) {
@@ -3252,7 +3253,7 @@ public class SunUserExample {
              * This method was generated by MyBatis Generator.
              * This method corresponds to the database table sun_user
              *
-             * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+             * @mbg.generated Sat Oct 09 21:20:25 CST 2021
              */
             Criteria add(Criteria add);
         }
@@ -3262,7 +3263,7 @@ public class SunUserExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table sun_user
      *
-     * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+     * @mbg.generated Sat Oct 09 21:20:25 CST 2021
      */
     public static class Criterion {
         private String condition;
@@ -3355,7 +3356,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         void criteria(Criteria criteria);
     }
@@ -3365,7 +3366,7 @@ public class SunUserExample {
          * This method was generated by MyBatis Generator.
          * This method corresponds to the database table sun_user
          *
-         * @mbg.generated Sat Oct 09 18:15:43 CST 2021
+         * @mbg.generated Sat Oct 09 21:20:25 CST 2021
          */
         void example(com.book.dao.polardb.pojo.example.SunUserExample example);
     }

+ 33 - 33
book-dao/src/main/resources/mapper/polar/SunUserActiveMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     <id column="id" jdbcType="INTEGER" property="id" />
     <result column="user_id" jdbcType="VARCHAR" property="userId" />
@@ -40,7 +40,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -74,7 +74,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -108,7 +108,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     id, user_id, nickname, openid, mobile, province, city, sex, is_subscribe, operatetime, 
     registertime, authorizer_nickname, authorizer_appid, subscribe_time, channel_id, 
@@ -120,7 +120,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <if test="distinct">
@@ -147,14 +147,14 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <if test="example != null and example.distinct">
       distinct
     </if>
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.aliasedEscapedColumnName}
         </foreach>
@@ -183,7 +183,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -194,11 +194,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.aliasedEscapedColumnName}
         </foreach>
@@ -214,7 +214,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     delete from sun_user_active
     where id = #{id,jdbcType=INTEGER}
@@ -223,7 +223,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     delete from sun_user_active
     <if test="_parameter != null">
@@ -234,7 +234,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user_active (id, user_id, nickname, 
       openid, mobile, province, 
@@ -261,11 +261,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user_active
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           ${column.escapedColumnName}
         </foreach>
@@ -362,7 +362,7 @@
     </choose>
     values
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -461,7 +461,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select count(*) from sun_user_active
     <if test="_parameter != null">
@@ -472,12 +472,12 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user_active
     SET
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -579,7 +579,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user_active
     set id = #{record.id,jdbcType=INTEGER},
@@ -618,12 +618,12 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user_active
     SET
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -720,7 +720,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user_active
     set user_id = #{userId,jdbcType=VARCHAR},
@@ -756,7 +756,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <include refid="Base_Column_List" />
@@ -773,11 +773,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.aliasedEscapedColumnName}
         </foreach>
@@ -799,7 +799,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user_active
     (id, user_id, nickname, openid, mobile, province, city, sex, is_subscribe, operatetime, 
@@ -826,7 +826,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user_active (
     <foreach collection="selective" item="column" separator=",">
@@ -929,11 +929,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user_active
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           ${column.escapedColumnName}
         </foreach>
@@ -1030,7 +1030,7 @@
     </choose>
     values
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -1126,7 +1126,7 @@
     </choose>
     on duplicate key update 
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -1225,7 +1225,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user_active
     (id, user_id, nickname, openid, mobile, province, city, sex, is_subscribe, operatetime, 

+ 33 - 33
book-dao/src/main/resources/mapper/polar/SunUserMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     <id column="id" jdbcType="INTEGER" property="id" />
     <result column="user_id" jdbcType="VARCHAR" property="userId" />
@@ -41,7 +41,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -75,7 +75,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -109,7 +109,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     id, user_id, nickname, openid, mobile, province, city, sex, is_subscribe, operatetime, 
     registertime, authorizer_nickname, authorizer_appid, subscribe_time, channel_id, 
@@ -121,7 +121,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <if test="distinct">
@@ -148,14 +148,14 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <if test="example != null and example.distinct">
       distinct
     </if>
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.aliasedEscapedColumnName}
         </foreach>
@@ -184,7 +184,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -195,11 +195,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.aliasedEscapedColumnName}
         </foreach>
@@ -215,7 +215,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     delete from sun_user
     where id = #{id,jdbcType=INTEGER}
@@ -224,7 +224,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     delete from sun_user
     <if test="_parameter != null">
@@ -235,7 +235,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user (id, user_id, nickname, 
       openid, mobile, province, 
@@ -262,11 +262,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           ${column.escapedColumnName}
         </foreach>
@@ -366,7 +366,7 @@
     </choose>
     values
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -468,7 +468,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select count(*) from sun_user
     <if test="_parameter != null">
@@ -479,12 +479,12 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user
     SET
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -589,7 +589,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user
     set id = #{record.id,jdbcType=INTEGER},
@@ -629,12 +629,12 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user
     SET
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -734,7 +734,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     update sun_user
     set user_id = #{userId,jdbcType=VARCHAR},
@@ -771,7 +771,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <include refid="Base_Column_List" />
@@ -788,11 +788,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     select
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.aliasedEscapedColumnName}
         </foreach>
@@ -814,7 +814,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user
     (id, user_id, nickname, openid, mobile, province, city, sex, is_subscribe, operatetime, 
@@ -841,7 +841,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user (
     <foreach collection="selective" item="column" separator=",">
@@ -947,11 +947,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           ${column.escapedColumnName}
         </foreach>
@@ -1051,7 +1051,7 @@
     </choose>
     values
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach close=")" collection="selective" item="column" open="(" separator=",">
           #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -1150,7 +1150,7 @@
     </choose>
     on duplicate key update 
     <choose>
-      <when test="selective != null and selective.length > 0">
+      <when test="selective != null and selective.length &gt; 0">
         <foreach collection="selective" item="column" separator=",">
           ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
         </foreach>
@@ -1252,7 +1252,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sat Oct 09 18:15:43 CST 2021.
+      This element was generated on Sat Oct 09 21:20:25 CST 2021.
     -->
     insert into sun_user
     (id, user_id, nickname, openid, mobile, province, city, sex, is_subscribe, operatetime, 

+ 1 - 1
book-server/src/main/resources/application.yml

@@ -9,7 +9,7 @@ spring:
     cps:
       type: com.alibaba.druid.pool.DruidDataSource
       driver-class-name: com.mysql.cj.jdbc.Driver
-      jdbc-url: jdbc:mysql://121.41.100.198:3306/test_cps?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
+      jdbc-url: jdbc:mysql://121.41.100.198:3306/test_cps?useUnicode=true&useSSL=false&serverTimezone=Asia/Shanghai
       username: root
       password: root
       #下面为连接池补充设置