Interface ExistsWithPrimaryKeyMapper<T>
- Type Parameters:
T- 泛型
- All Known Subinterfaces:
BasicMapper<T>,BasicSelectMapper<T>,Mapper<T>
public interface ExistsWithPrimaryKeyMapper<T>
查询
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Method Summary
Modifier and TypeMethodDescriptionboolean根据主键字段查询总数,方法参数必须包含完整的主键属性,查询条件使用等号
-
Method Details
-
existsWithPrimaryKey
@SelectProvider(type=BasicSelectProvider.class, method="dynamicSQL") boolean existsWithPrimaryKey(Object key) 根据主键字段查询总数,方法参数必须包含完整的主键属性,查询条件使用等号- Parameters:
key- 泛型对象- Returns:
- the boolean 操作结果
-