接口 SelectByPrimaryKeyMapper<T>

    • 方法详细资料

      • selectByPrimaryKey

        @SelectProvider(type=BaseSelectProvider.class,
                        method="dynamicSQL")
        T selectByPrimaryKey​(Object key)
        根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号
        参数:
        key -
        返回: