From c6842e8498c2d9b469890b38cd9f0d714392c445 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 01 十二月 2023 13:22:02 +0800 Subject: [PATCH] 1. 修改优化日统计和风险统计的逻辑 --- src/main/java/com/flightfeather/monitor/domain/ds1/entity/RiskValue.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/flightfeather/monitor/domain/ds1/entity/RiskValue.java b/src/main/java/com/flightfeather/monitor/domain/ds1/entity/RiskValue.java index 4dc559a..9679473 100644 --- a/src/main/java/com/flightfeather/monitor/domain/ds1/entity/RiskValue.java +++ b/src/main/java/com/flightfeather/monitor/domain/ds1/entity/RiskValue.java @@ -1,5 +1,7 @@ package com.flightfeather.monitor.domain.ds1.entity; +import com.fasterxml.jackson.annotation.JsonFormat; + import java.util.Date; import javax.persistence.*; @@ -17,6 +19,7 @@ /** * 鏃堕棿 */ + @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "YYYY-MM-dd HH:mm:ss", timezone = "GMT+8") private Date lst; /** -- Gitblit v1.9.3