From 420da8b6fbf1953e977165ed651be9d59e6eb2a8 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Mon, 2 Sep 2024 15:09:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=8A=E8=AD=A6=E5=A4=84=E7=90=86?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E6=97=B6=E9=97=B4=E7=AD=9B=E9=80=89=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E6=9F=A5=E8=AF=A2=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hnac/hzims/alarm/show/vo/HandleQueryVo.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/show/vo/HandleQueryVo.java b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/show/vo/HandleQueryVo.java index c8ae79c..4cd94f8 100644 --- a/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/show/vo/HandleQueryVo.java +++ b/hzims-service-api/alarm-api/src/main/java/com/hnac/hzims/alarm/show/vo/HandleQueryVo.java @@ -2,6 +2,8 @@ package com.hnac.hzims.alarm.show.vo; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import org.springblade.core.tool.utils.DateUtil; +import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; @@ -20,9 +22,11 @@ public class HandleQueryVo { private Long handleUser; @ApiModelProperty("开始时间") + @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME) private Date startTime; @ApiModelProperty("结束时间") + @DateTimeFormat(pattern = DateUtil.PATTERN_DATETIME) private Date endTime; @ApiModelProperty("处理类型:1-延后 2-误报 3-缺陷 4-检修")