接口 ExistsWithPrimaryKeyMapper<T>

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

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

      • existsWithPrimaryKey

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