mirror of https://gitee.com/stylefeng/roses
【7.6.0】更新逻辑删除的标识
parent
d5bf07e351
commit
a4f61f6ad1
|
@ -104,6 +104,7 @@ public class SysConfig extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
||||||
@ChineseDescription("是否删除:Y-被删除,N-未删除")
|
@ChineseDescription("是否删除:Y-被删除,N-未删除")
|
||||||
|
@TableLogic
|
||||||
private String delFlag;
|
private String delFlag;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,7 @@ package cn.stylefeng.roses.kernel.db.api.pojo.entity;
|
||||||
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
||||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
@ -56,6 +57,7 @@ public class BaseBusinessEntity extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
||||||
@ChineseDescription("删除标记:Y-已删除,N-未删除")
|
@ChineseDescription("删除标记:Y-已删除,N-未删除")
|
||||||
|
@TableLogic
|
||||||
private String delFlag;
|
private String delFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -97,6 +97,7 @@ public class DatabaseInfo extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField("status_flag")
|
@TableField("status_flag")
|
||||||
@ChineseDescription("状态标识:1-正常,2-无法连接")
|
@ChineseDescription("状态标识:1-正常,2-无法连接")
|
||||||
|
@TableLogic
|
||||||
private Integer statusFlag;
|
private Integer statusFlag;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -141,6 +141,7 @@ public class SysFileInfo extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
||||||
@ChineseDescription("是否删除")
|
@ChineseDescription("是否删除")
|
||||||
|
@TableLogic
|
||||||
private String delFlag;
|
private String delFlag;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,6 +97,7 @@ public class SysTimers extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
||||||
@ChineseDescription("是否删除")
|
@ChineseDescription("是否删除")
|
||||||
|
@TableLogic
|
||||||
private String delFlag;
|
private String delFlag;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -89,12 +89,6 @@ public class SysTimersParam extends BaseRequest {
|
||||||
@ChineseDescription("备注信息")
|
@ChineseDescription("备注信息")
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
/**
|
|
||||||
* 是否删除标记
|
|
||||||
*/
|
|
||||||
@ChineseDescription("是否删除标记")
|
|
||||||
private String delFlag;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 启用定时任务
|
* 启用定时任务
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -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.DictCodeFieldFormat;
|
||||||
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
|
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
|
||||||
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
|
import cn.stylefeng.roses.kernel.sys.api.format.UserNameFormatProcess;
|
||||||
import com.baomidou.mybatisplus.annotation.FieldFill;
|
import com.baomidou.mybatisplus.annotation.*;
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
|
|
||||||
|
@ -111,6 +108,7 @@ public class SysNotice extends BaseEntity {
|
||||||
*/
|
*/
|
||||||
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
@TableField(value = "del_flag", fill = FieldFill.INSERT)
|
||||||
@ChineseDescription("是否删除:Y-已删除,N-未删除")
|
@ChineseDescription("是否删除:Y-已删除,N-未删除")
|
||||||
|
@TableLogic
|
||||||
private String delFlag;
|
private String delFlag;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue