The introduction

When Mybatis Plus performs update, null fields are not updated by default, only fields with data are updated. This works for most businesses, but when you really want to use NULL for updates, you need to add the @TableField(updateStrategy = FieldStrategy.ignored) annotation.

Overrides global policy Settings

@TableField(updateStrategy = FieldStrategy.IGNORED)
private Integer indicatorUpperId;

@TableField(updateStrategy = FieldStrategy.IGNORED)
privateInteger indicatorLowerId; .Copy the code

@tableField (strategy = fieldStrategy. IGNORED) This will override the global strategy.