leon 5 роки тому
батько
коміт
afaa4aee4c

+ 0 - 4
src/main/java/com/mokamrp/privates/mapper/pangu/pojo/FosterwxMobile.java

@@ -55,7 +55,6 @@ public class FosterwxMobile extends Model<FosterwxMobile> {
     /**
      * 手机开卡时间
      */
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private LocalDateTime mobileCreateAt;
 
     /**
@@ -111,7 +110,6 @@ public class FosterwxMobile extends Model<FosterwxMobile> {
     /**
      * 微信注册时间
      */
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private LocalDateTime wxRegisterAt;
 
     /**
@@ -132,7 +130,6 @@ public class FosterwxMobile extends Model<FosterwxMobile> {
     /**
      * 企业微信注册时间
      */
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private LocalDateTime workWxRegisterAt;
 
     /**
@@ -146,7 +143,6 @@ public class FosterwxMobile extends Model<FosterwxMobile> {
     /**
      * 任务开始时间
      */
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private LocalDateTime taskStartAt;
 
     /**

+ 0 - 1
src/main/java/com/mokamrp/privates/mapper/pangu/pojo/FosterwxTaskSchedule.java

@@ -83,7 +83,6 @@ public class FosterwxTaskSchedule extends Model<FosterwxTaskSchedule> {
     /**
      * 发送时间
      */
-    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
     private LocalDateTime sendTime;
 
     /**

+ 1 - 1
src/main/java/com/mokamrp/privates/tast/pangu/SyncFosterwxEdit.java

@@ -56,7 +56,7 @@ public class SyncFosterwxEdit {
                 if (info == null || info.isEmpty()){
                     continue;
                 }
-                FosterwxMobile fosterwxMobile = JSON.parseObject(info,FosterwxMobile.class);
+                FosterwxMobile fosterwxMobile = JSONObject.parseObject(info,FosterwxMobile.class);
                 if (fosterwxMobile.getStationId().equals(0)){
                     continue;
                 }