From 65006ee20bda7b4b1a49b964325039c52b2a6f39 Mon Sep 17 00:00:00 2001 From: wu Date: Tue, 31 Dec 2024 15:21:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=81=9C=E5=A4=8D=E5=B7=A5bu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/mudu/entity/ASafeTfg.java | 4 ++-- src/main/java/com/mudu/quartz/AcheckTaskQuartz.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/mudu/entity/ASafeTfg.java b/src/main/java/com/mudu/entity/ASafeTfg.java index 8f56819..50c9a36 100644 --- a/src/main/java/com/mudu/entity/ASafeTfg.java +++ b/src/main/java/com/mudu/entity/ASafeTfg.java @@ -71,7 +71,7 @@ public class ASafeTfg implements Serializable { * 格式: yyyy-MM-dd HH:mm:ss */ @ApiModelProperty(value = "格式: yyyy-MM-dd HH:mm:ss") - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date rksj; /** * 更新人员 @@ -81,7 +81,7 @@ public class ASafeTfg implements Serializable { /** * 格式: yyyy-MM-dd HH:mm:ss */ - @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8") + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @ApiModelProperty(value = "格式: yyyy-MM-dd HH:mm:ss") private Date gxsj; /** diff --git a/src/main/java/com/mudu/quartz/AcheckTaskQuartz.java b/src/main/java/com/mudu/quartz/AcheckTaskQuartz.java index ad3aa0c..0dd915a 100644 --- a/src/main/java/com/mudu/quartz/AcheckTaskQuartz.java +++ b/src/main/java/com/mudu/quartz/AcheckTaskQuartz.java @@ -1026,7 +1026,6 @@ public class AcheckTaskQuartz { * 停复工表 */ @Scheduled(cron = "0 30 19 * * ? ") -// @Scheduled(cron = "0 0/5 * * * ?") // @PostMapping("/tfg") // @ApiOperation(value = "停复工表") public void tfg() { @@ -1042,7 +1041,7 @@ public class AcheckTaskQuartz { .header("Authorization", token) .execute().body(); JSONObject jsonResponseList = JSON.parseObject(responseList); - String dataList = jsonResponseList.getString("rows"); + String dataList = jsonResponseList.getString("data"); if (StrUtil.isEmpty(dataList)) { return; }