接口 SelectByIdsMapper<T>

  • 类型参数:
    T - 不能为空
    所有已知子接口:
    IdsMapper<T>

    public interface SelectByIdsMapper<T>
    通用Mapper接口,根据ids查询
    作者:
    liuzh
    • 方法详细资料

      • selectByIds

        @SelectProvider(type=IdsProvider.class,
                        method="dynamicSQL")
        List<T> selectByIds​(String ids)
        根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段
        参数:
        ids - 如 "1,2,3,4"
        返回: