接口 UpdateByPrimaryKeySelectiveForceMapper<T>


  • public interface UpdateByPrimaryKeySelectiveForceMapper<T>
    作者:
    qrqhuangcy
    • 方法详细资料

      • updateByPrimaryKeySelectiveForce

        @UpdateProvider(type=UpdateByPrimaryKeySelectiveForceProvider.class,
                        method="dynamicSQL")
        int updateByPrimaryKeySelectiveForce​(@Param("record")
                                             T record,
                                             @Param("forceUpdateProperties")
                                             List<String> forceUpdateProperties)
        根据主键更新属性不为null的值, 指定的属性(null值)会被强制更新
        参数:
        record -
        forceUpdateProperties -
        返回: