接口 UpdateByExampleMapper<T>

  • 类型参数:
    T - 不能为空
    所有已知子接口:
    ExampleMapper<T>, Mapper<T>

    public interface UpdateByExampleMapper<T>
    通用Mapper接口,Example查询
    作者:
    liuzh
    • 方法详细资料

      • updateByExample

        @UpdateProvider(type=ExampleProvider.class,
                        method="dynamicSQL")
        int updateByExample​(@Param("record")
                            T record,
                            @Param("example")
                            Object example)
        根据Example条件更新实体`record`包含的全部属性,null值会被更新
        参数:
        record -
        example -
        返回: