Pre Merge pull request !637 from 咚咚/deleteLogic

This commit is contained in:
咚咚 2025-01-15 08:24:45 +00:00 committed by Gitee
commit 3105301a2f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
11 changed files with 2 additions and 12 deletions

View File

@ -24,6 +24,8 @@ mybatis-plus:
# 主键类型
# AUTO 自增 NONE 空 INPUT 用户输入 ASSIGN_ID 雪花 ASSIGN_UUID 唯一 UUID
idType: ASSIGN_ID
# 逻辑删除字段 (此处配置后, 可不使用@TableLogic注解)
logicDeleteField: delFlag
# 逻辑已删除值(可按需求随意修改)
logicDeleteValue: 1
# 逻辑未删除值

View File

@ -62,7 +62,6 @@ public class TestDemo extends TenantEntity {
/**
* 删除标志
*/
@TableLogic
private Long delFlag;
}

View File

@ -59,7 +59,6 @@ public class TestTree extends TenantEntity {
/**
* 删除标志
*/
@TableLogic
private Long delFlag;
}

View File

@ -43,9 +43,6 @@ public class ${ClassName} extends ${Entity} {
/**
* $column.columnComment
*/
#if($column.javaField=='delFlag')
@TableLogic
#end
#if($column.javaField=='version')
@Version
#end

View File

@ -70,7 +70,6 @@ public class SysClient extends BaseEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;

View File

@ -72,7 +72,6 @@ public class SysDept extends TenantEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;
/**

View File

@ -64,7 +64,6 @@ public class SysRole extends TenantEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;
/**

View File

@ -97,7 +97,6 @@ public class SysTenant extends BaseEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;
}

View File

@ -48,7 +48,6 @@ public class SysTenantPackage extends BaseEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;
}

View File

@ -85,7 +85,6 @@ public class SysUser extends TenantEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;
/**

View File

@ -52,7 +52,6 @@ public class FlowCategory extends TenantEntity {
/**
* 删除标志0代表存在 2代表删除
*/
@TableLogic
private String delFlag;
}