see~see

Results 5 comments of see~see

这样的 API 可以吗? @abel533 ```java mapper.updateByPrimaryKeySelectiveWithNullProperties(T model, List nullPropertiesNeedToUpdate); ``` 假设有如下一个 model 和对象: ```java class ForceUpdateModel { Long id, String a, String b, String c, Integer d, Integer e, //...

我试着在 BaseUpdateProvider 中添加 `updateByPrimaryKeySelectiveWithNullProperties` 方法,定义如下: ```java public String updateByPrimaryKeySelectiveWithNullProperties(MappedStatement ms, List nullPropertiesNeedToUpdate) {} ``` 但是在 `MapperHelper` 中对 Mapper 进行注册时,检查的的方法中,mapper 只能有一个 MappedStatement 类型的参数: ```java /** * 通过通用Mapper接口获取对应的MapperTemplate * * @param mapperClass...

没明白,呜呜!麻烦大神指点! 配置 mappers 是指配置 BaseUpdateMapper 吗? ```java public interface BaseUpdateMapper extends UpdateByPrimaryKeyMapper, UpdateByPrimaryKeySelectiveMapper, UpdateByPrimaryKeySelectiveMapperWithNullProperties { } ``` UpdateByPrimaryKeySelectiveMapperWithNullProperties接口定义如下: ```java public interface UpdateByPrimaryKeySelectiveMapperWithNullProperties { /** * 根据主键更新属性不为null的值 * * @param record...

@lishengzxc 方法4并没有对小数点进行处理