From 0c5defb96c450261e19d4fdbb14979a7b5c92d77 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 06 三月 2024 17:01:47 +0800 Subject: [PATCH] 添加方法 --- cloud-server-other/src/main/java/com/dsh/other/entity/SiteLock.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/entity/SiteLock.java b/cloud-server-other/src/main/java/com/dsh/other/entity/SiteLock.java index bd6cdee..e0243fe 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/entity/SiteLock.java +++ b/cloud-server-other/src/main/java/com/dsh/other/entity/SiteLock.java @@ -30,12 +30,12 @@ * 锁定开始时间 */ @TableField("startTime") - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date startTime; /** * 锁定结束时间 */ @TableField("endTime") - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") + @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private Date endTime; } -- Gitblit v1.7.1