mybatis-plus更新字段的时候设置为null,忽略实体null判断 mybatis-plus更新字段的时候设置为null,忽略实体null判断 在 entity 字段上加上以下注解 @TableField(updateStrategy = FieldStrategy.IGNORED)