From 56d62d9edb0dda9ae678dcea2323144db5d11c22 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期六, 28 十二月 2024 18:06:58 +0800 Subject: [PATCH] 修改bug --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsEvaluate.java | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsEvaluate.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsEvaluate.java index bb331c4..893f3b2 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsEvaluate.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/GoodsEvaluate.java @@ -62,7 +62,6 @@ @ApiModelProperty(value = "删除(0=否,1=是)") @TableField("del_flag") - @TableLogic private Integer delFlag; @ApiModelProperty(value = "添加时间") @@ -75,9 +74,13 @@ private String avatar; - @ApiModelProperty(value = "名字") + @ApiModelProperty(value = "评价用户") @TableField(exist = false) private String userName; + + @ApiModelProperty(value = "联系电话") + @TableField(exist = false) + private String phone; @ApiModelProperty(value = "商品名字") @TableField(exist = false) @@ -90,5 +93,10 @@ @TableField(exist = false) private String idStr; - + public void setId(Long id) { + this.id = id; + if (id != null){ + this.idStr = String.valueOf(id); + } + } } -- Gitblit v1.7.1