代码生成时判断del_flag存在自动生成逻辑删除代码 issues/4196

This commit is contained in:
zhangdaiscott
2022-11-16 22:39:58 +08:00
parent 3e96c7e376
commit 47c6a9ba6a
15 changed files with 17 additions and 0 deletions

View File

@ -28,5 +28,8 @@
}
<#else>
@ApiModelProperty(value = "${po.filedComment}")
<#if po.fieldDbName == 'del_flag'>
@TableLogic
</#if>
private ${po.fieldType} ${po.fieldName};
</#if>