From f18c0b3336a10bc36a9e5ca34a03b6d19c34569b Mon Sep 17 00:00:00 2001 From: luohairen <3399054449@qq.com> Date: 星期二, 12 十一月 2024 22:43:01 +0800 Subject: [PATCH] 优化错题详情 --- src/main/java/com/ycl/jxkg/domain/base/AbsEntity.java | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/ycl/jxkg/domain/base/AbsEntity.java b/src/main/java/com/ycl/jxkg/domain/base/AbsEntity.java index 3d86f70..6cbdd74 100644 --- a/src/main/java/com/ycl/jxkg/domain/base/AbsEntity.java +++ b/src/main/java/com/ycl/jxkg/domain/base/AbsEntity.java @@ -1,9 +1,6 @@ package com.ycl.jxkg.domain.base; -import com.baomidou.mybatisplus.annotation.FieldFill; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableId; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.util.Date; @@ -28,7 +25,8 @@ // @TableField(value = "gmt_update", fill = FieldFill.INSERT_UPDATE) // private Date gmtUpdate; - @TableField(value = "deleted", fill = FieldFill.INSERT) + @TableField(value = "deleted", fill = FieldFill.INSERT, select = false) + @TableLogic private Integer deleted; } -- Gitblit v1.8.0