T - 不能为空public interface SelectByIdsMapper<T>
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
selectByIds(String ids)
根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段
|
@SelectProvider(type=IdsProvider.class, method="dynamicSQL") List<T> selectByIds(String ids)
ids - 如 "1,2,3,4"Copyright © 2017. All rights reserved.