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