From 71f61d13531b3e2a0099ba5afe3f268c99c5bacf Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 29 五月 2025 18:13:33 +0800 Subject: [PATCH] 修改大屏录像可用率指标,点位在线指标,数据中心录像可用率, --- ycl-pojo/src/main/java/com/ycl/platform/domain/query/DataCenterQuery.java | 29 +++++++++++++++++++++-------- 1 files changed, 21 insertions(+), 8 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/query/DataCenterQuery.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/query/DataCenterQuery.java index 5019600..1c78898 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/query/DataCenterQuery.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/query/DataCenterQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.platform.base.AbsQuery; import lombok.Data; +import org.springframework.format.annotation.DateTimeFormat; import utils.DateUtils; import java.util.Date; @@ -17,13 +18,14 @@ */ @Data public class DataCenterQuery extends AbsQuery { + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") + private Date date; /** 寮�濮嬫椂闂� */ - @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") private Date startTime; /** 缁撴潫鏃堕棿 */ - @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") private Date endTime; /** 鍏抽敭璇� */ @@ -40,15 +42,26 @@ /** 1 瑙嗛 2 杞﹁締 3 浜鸿劯 */ private Integer deviceType; - - + /** 涓嬫媺妗� */ + private Integer option; + /** 鑰冩牳鐘舵�� */ + private Integer examineStatus; public void setTime() { - if (Objects.nonNull(this.startTime)) { - this.startTime = DateUtils.getDayStart(this.startTime); + if (Objects.nonNull(this.date)) { + this.startTime = DateUtils.getDayStart(this.date); } - if (Objects.nonNull(this.endTime)) { - this.endTime = DateUtils.getDayEnd(this.endTime); + if (Objects.nonNull(this.date)) { + this.endTime = DateUtils.getDayEnd(this.date); } } + /** + * 鏌ヨ鍔ㄦ�佸垪鏁版嵁id + */ + private Integer DyId; + /** + * 鏌ヨ鍔ㄦ�佸垪鏁版嵁value 鐢ㄤ簬鍖归厤鍊� + */ + private String DyValue; + } -- Gitblit v1.8.0