接口 SelectByPrimaryKeyMapper<T>
-
- 类型参数:
T- 不能为空
- 所有已知子接口:
BaseMapper<T>,BaseSelectMapper<T>,Mapper<T>
public interface SelectByPrimaryKeyMapper<T>通用Mapper接口,其他接口继承该接口即可这是一个例子,自己扩展时可以参考
- 作者:
- liuzh
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 TselectByPrimaryKey(Object key)根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号
-
-
-
方法详细资料
-
selectByPrimaryKey
@SelectProvider(type=BaseSelectProvider.class, method="dynamicSQL") T selectByPrimaryKey(Object key)
根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号- 参数:
key-- 返回:
-
-