Interface SelectByIdListMapper<T,PK>
- Type Parameters:
T- 不能为空
- All Known Subinterfaces:
IdListMapper<T,PK>
public interface SelectByIdListMapper<T,PK>
通用Mapper接口,根据ids查询
- Author:
- liuzh
-
Method Summary
-
Method Details
-
selectByIdList
@SelectProvider(type=IdListProvider.class, method="dynamicSQL") List<T> selectByIdList(@Param("idList") List<PK> idList) 根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段- Parameters:
idList-- Returns:
-