From 5c849f0bd79d8436612b7ffb40795897236293ca Mon Sep 17 00:00:00 2001 From: guoshilong <123456> Date: Sat, 03 Sep 2022 14:40:48 +0800 Subject: [PATCH] 遥感时间为年月 --- src/main/java/org/springblade/modules/remote/entity/Remote.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springblade/modules/remote/entity/Remote.java b/src/main/java/org/springblade/modules/remote/entity/Remote.java index 4280379..eab2ef4 100644 --- a/src/main/java/org/springblade/modules/remote/entity/Remote.java +++ b/src/main/java/org/springblade/modules/remote/entity/Remote.java @@ -51,8 +51,8 @@ /** * 遥感时间 */ - @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8") - @DateTimeFormat(pattern = "yyyy-MM-dd") + @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM") private Date reTime; /** * 是否展示 -- Gitblit v1.9.3