【7.6.0】更新逻辑删除的标识

pull/57/head
fengshuonan 2023-06-29 10:06:46 +08:00
parent d5bf07e351
commit a4f61f6ad1
7 changed files with 8 additions and 10 deletions

View File

@ -104,6 +104,7 @@ public class SysConfig extends BaseEntity {
*/
@TableField(value = "del_flag", fill = FieldFill.INSERT)
@ChineseDescription("是否删除Y-被删除N-未删除")
@TableLogic
private String delFlag;
}

View File

@ -27,6 +27,7 @@ package cn.stylefeng.roses.kernel.db.api.pojo.entity;
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -56,6 +57,7 @@ public class BaseBusinessEntity extends BaseEntity {
*/
@TableField(value = "del_flag", fill = FieldFill.INSERT)
@ChineseDescription("删除标记Y-已删除N-未删除")
@TableLogic
private String delFlag;
/**

View File

@ -97,6 +97,7 @@ public class DatabaseInfo extends BaseEntity {
*/
@TableField("status_flag")
@ChineseDescription("状态标识1-正常2-无法连接")
@TableLogic
private Integer statusFlag;
/**

View File

@ -141,6 +141,7 @@ public class SysFileInfo extends BaseEntity {
*/
@TableField(value = "del_flag", fill = FieldFill.INSERT)
@ChineseDescription("是否删除")
@TableLogic
private String delFlag;
}

View File

@ -97,6 +97,7 @@ public class SysTimers extends BaseEntity {
*/
@TableField(value = "del_flag", fill = FieldFill.INSERT)
@ChineseDescription("是否删除")
@TableLogic
private String delFlag;
@Override

View File

@ -89,12 +89,6 @@ public class SysTimersParam extends BaseRequest {
@ChineseDescription("备注信息")
private String remark;
/**
*
*/
@ChineseDescription("是否删除标记")
private String delFlag;
/**
*
*/

View File

@ -29,10 +29,7 @@ import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.annotation.DictCodeFieldFormat;
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
@ -111,6 +108,7 @@ public class SysNotice extends BaseEntity {
*/
@TableField(value = "del_flag", fill = FieldFill.INSERT)
@ChineseDescription("是否删除Y-已删除N-未删除")
@TableLogic
private String delFlag;
@Override