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; }