From 1f7788224b6d9bb4e7221bee984e614d05b524b1 Mon Sep 17 00:00:00 2001 From: PQZ Date: Wed, 25 Sep 2024 16:32:06 +0800 Subject: [PATCH] 1 --- .../iocoder/yudao/module/booking/entity/DlRepairBooking.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dl-module-repair/src/main/java/cn/iocoder/yudao/module/booking/entity/DlRepairBooking.java b/dl-module-repair/src/main/java/cn/iocoder/yudao/module/booking/entity/DlRepairBooking.java index 6d37c076..bb74c78a 100644 --- a/dl-module-repair/src/main/java/cn/iocoder/yudao/module/booking/entity/DlRepairBooking.java +++ b/dl-module-repair/src/main/java/cn/iocoder/yudao/module/booking/entity/DlRepairBooking.java @@ -9,6 +9,7 @@ import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.format.annotation.DateTimeFormat; +import java.time.LocalDateTime; import java.util.Date; /** @@ -63,9 +64,7 @@ public class DlRepairBooking extends TenantBaseDO { /** * 预约时间 */ - @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss", timezone = "GMT+8") - @DateTimeFormat(pattern="yyyy-MM-dd hh:mm:ss") - private Date bookingTime; + private LocalDateTime bookingTime; /** * 门店ID(base_company表的ID)