解决Mybatisplus无法将字段置空的问题

@TableField(updateStrategy = FieldStrategy.IGNORED)

在你需要置空的字段加上以上注解

你可能感兴趣的:(Java零散知识点)