修改停复工bug

main
吴顺杰 2 months ago
parent e4bab34df3
commit 65006ee20b

@ -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;
/**

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

Loading…
Cancel
Save