From 618d7684ddaf2449461b18b1c834d2f8e8f7da1c Mon Sep 17 00:00:00 2001 From: liurunyu <lry9898@163.com> Date: 星期三, 26 三月 2025 10:03:56 +0800 Subject: [PATCH] 1、通信中间件配置方式进行调整,以方便修改; 2、增加文档《打包发布配置修改》。 --- pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/records/controllerAlarmState/ControllerAlarmStateQueryVo.java | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/records/controllerAlarmState/ControllerAlarmStateQueryVo.java b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/records/controllerAlarmState/ControllerAlarmStateQueryVo.java index 3609963..4a405f4 100644 --- a/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/records/controllerAlarmState/ControllerAlarmStateQueryVo.java +++ b/pipIrr-platform/pipIrr-web/pipIrr-web-remote/src/main/java/com/dy/pipIrrRemote/records/controllerAlarmState/ControllerAlarmStateQueryVo.java @@ -6,8 +6,6 @@ import lombok.*; import org.springframework.format.annotation.DateTimeFormat; -import java.util.Date; - /** * @author :WuZeYu * @Date :2024/7/22 20:01 @@ -35,13 +33,22 @@ @Schema(description = "寮�濮嬫椂闂�", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") - private Date startDt; + private String startDt; @Schema(description = "缁撴潫鏃堕棿", requiredMode = Schema.RequiredMode.NOT_REQUIRED) @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") - private Date endDt; + private String endDt; @Schema(description = "鎶ヨ鐘舵��", requiredMode = Schema.RequiredMode.NOT_REQUIRED)//锛�0姝e父銆�1鎶ヨ锛� private Byte alarmState; + + public void completionTime(){ + if(this.startDt != null && !this.startDt.trim().equals("")) { + this.startDt = startDt + " 00:00:00"; + } + if(this.endDt != null && !this.endDt.trim().equals("")) { + this.endDt = endDt + " 23:59:59"; + } + } } -- Gitblit v1.8.0