From 799dd4547da98c63a9986a548d491c5ee86ebb12 Mon Sep 17 00:00:00 2001 From: vchao Date: Fri, 8 Dec 2023 10:35:20 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91CommonEntit?= =?UTF-8?q?y=E5=BA=8F=E5=88=97=E5=8C=96=E6=97=B6=E5=BF=BD=E7=95=A5deleteFl?= =?UTF-8?q?ag=E5=AD=97=E6=AE=B5=EF=BC=88jackson=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/vip/xiaonuo/common/pojo/CommonEntity.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/snowy-common/src/main/java/vip/xiaonuo/common/pojo/CommonEntity.java b/snowy-common/src/main/java/vip/xiaonuo/common/pojo/CommonEntity.java index 7afdf43c..66817772 100644 --- a/snowy-common/src/main/java/vip/xiaonuo/common/pojo/CommonEntity.java +++ b/snowy-common/src/main/java/vip/xiaonuo/common/pojo/CommonEntity.java @@ -15,6 +15,7 @@ package vip.xiaonuo.common.pojo; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableLogic; +import com.fasterxml.jackson.annotation.JsonIgnore; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; @@ -36,6 +37,7 @@ import java.util.Date; public class CommonEntity implements Serializable { /** 删除标志 */ + @JsonIgnore @TableLogic @ApiModelProperty(value = "删除标志", position = 999) @TableField(fill = FieldFill.INSERT)