当前使用版本(必填,否则不予处理) 3.5.6
使用 update(T entity,Wrapper updateWrapper) 并且 entity 不能为空自动填充才会生效,而另外一个重载方法 update(Wrapper updateWrapper) 到导致自动填充失效,同时也注明了后期重构版本会处理,我搜了一下相关 issues 挺多相同的问题,希望有机会可以处理一下,使用 update(T entity,Wrapper updateWrapper) 去做更新,实在不方便
Comment From: chess3cake
@shtns wrapper里面的entityClass/entity参数可能为null,其实无法做到准确的自动推断。我们自己目前是通过重写这个方法来解决的。类似于3.5.7版本中deleteByIds的处理方式。