在使用mybatisplus中,可使用逻辑删除.案例中,使用mybatisplus逆向生成model,使用delete_status为识别逻辑删除字段. springboot 中配置启动逻辑删除 mybatis-plus: global-config: db-config: id-type: auto logic-delete-value: logic-not-delete-value: 在生成的model实体类中配置逻辑删除字段注解 @TableLogic public class User…