From d3f5a984360ae152369e6edf743cf8ace4e1d8ec Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期四, 28 八月 2025 14:23:08 +0800 Subject: [PATCH] 导出时间 --- framework/src/main/java/cn/lili/modules/lmk/domain/query/PrizeGrantRecordQuery.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/framework/src/main/java/cn/lili/modules/lmk/domain/query/PrizeGrantRecordQuery.java b/framework/src/main/java/cn/lili/modules/lmk/domain/query/PrizeGrantRecordQuery.java index 9f33d16..ef21145 100644 --- a/framework/src/main/java/cn/lili/modules/lmk/domain/query/PrizeGrantRecordQuery.java +++ b/framework/src/main/java/cn/lili/modules/lmk/domain/query/PrizeGrantRecordQuery.java @@ -1,7 +1,12 @@ package cn.lili.modules.lmk.domain.query; import cn.lili.base.AbsQuery; + +import java.util.Date; import java.util.List; + +import com.fasterxml.jackson.annotation.JsonFormat; +import org.springframework.format.annotation.DateTimeFormat; import org.springframework.lang.NonNull; import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; @@ -24,6 +29,12 @@ private String activityName; //涓鐘舵�� private String grantStatus; + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date startTime; + @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + private Date endTime; } -- Gitblit v1.8.0