From c604c2de98447af15efaf594cf2940aa78203b67 Mon Sep 17 00:00:00 2001 From: hebo <13216192626@163.com> Date: 星期一, 13 九月 2021 21:21:19 +0800 Subject: [PATCH] fix 代码生成-当表未设置主键时第一个字段重复生成 --- ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java index 72d624a..a5a92f4 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/core/domain/BaseEntity.java @@ -1,5 +1,6 @@ package com.ruoyi.common.core.domain; +import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.NoArgsConstructor; @@ -62,6 +63,7 @@ /** * 璇锋眰鍙傛暟 */ + @JsonIgnore @ApiModelProperty(value = "璇锋眰鍙傛暟") private Map<String, Object> params = new HashMap<>(); -- Gitblit v1.9.3