@TableLogic
using the annotation on the corresponding field in the entity class
is then used in configuration file:
mybatis-plus: global-config: db-config: logic-not-delete-value: 1 logic-delete-value: 0
Plus the configuration file ()
/ ** * 3.1.1 later, this configuration does not need the use of the tombstone. * @Return * / @Bean public ISqlInjector iSqlInjector () { return new new LogicSqlInjector (); }