接口 UpdateByDifferMapper<T>
-
- 类型参数:
T- 不能为空
public interface UpdateByDifferMapper<T>差异更新- 从以下版本开始:
- 4.0.4
- 作者:
- liuzh
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 intupdateByDiffer(T old, T newer)根据 old 和 newer 进行差异更新,当对应某个字段值不同时才会更新
-
-
-
方法详细资料
-
updateByDiffer
@UpdateProvider(type=UpdateByDifferProvider.class, method="dynamicSQL") int updateByDiffer(@Param("old") T old, @Param("newer") T newer)
根据 old 和 newer 进行差异更新,当对应某个字段值不同时才会更新- 参数:
old-newer-- 返回:
-
-