We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
项目几乎所有的实体都设立了 deletedFlag 字段,但并没有实现 mybatis-plus 的逻辑删除。
deletedFlag
mybatis-plus
如:
@Data @TableName(value = "t_position") public class PositionEntity { /** 字段信息 */ private Boolean deletedFlag; }
是否应该加上 TableLogic 实现逻辑删除呢?
TableLogic
@TableLogic(value = "0", delval = "1") private Boolean deletedFlag;