From d0a4f1260ae71837c125a9f2c4609e6fbf0c5ee1 Mon Sep 17 00:00:00 2001 From: phpcjl <phpcjl@gmail.com> Date: 星期一, 16 十二月 2024 14:36:44 +0800 Subject: [PATCH] 1 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/CouponInfo.java | 9 +++++---- 1 files changed, 5 insertions(+), 4 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 a82e878..8093a19 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 LocalDate periodStartTime; + private LocalDateTime periodStartTime; @ApiModelProperty(value = "有效期结束时间") @TableField("period_end_time") @JsonFormat(pattern = "yyyy-MM-dd") - private LocalDate periodEndTime; + private LocalDateTime periodEndTime; @ApiModelProperty(value = "领取后x天有效") @TableField("period_days") @@ -135,13 +135,14 @@ private Long sendNumNow; @ApiModelProperty(value = "其他商品名称") - private String goodsNames; + private String goodsNameJson; @ApiModelProperty(value = "其他商品名称") @TableField(exist = false) private List<String> goodsNameList; - public String getIdStr() { + + public String getIdStr(){ return String.valueOf(id); } } -- Gitblit v1.7.1