From 9814a8fa6387ac048423e489597f2d56ece54fd6 Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期一, 16 十二月 2024 14:50:21 +0800 Subject: [PATCH] 1 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java index 8093a19..ccf179d 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java @@ -86,12 +86,12 @@ @ApiModelProperty(value = "有效期开始时间") @TableField("period_start_time") @JsonFormat(pattern = "yyyy-MM-dd") - private LocalDateTime periodStartTime; + private LocalDate periodStartTime; @ApiModelProperty(value = "有效期结束时间") @TableField("period_end_time") @JsonFormat(pattern = "yyyy-MM-dd") - private LocalDateTime periodEndTime; + private LocalDate periodEndTime; @ApiModelProperty(value = "领取后x天有效") @TableField("period_days") @@ -142,6 +142,10 @@ @TableField(exist = false) private List<String> goodsNameList; + @TableField(exist = false) + private List<Goods> goods; + + public String getIdStr(){ return String.valueOf(id); } -- Gitblit v1.7.1