接口 SelectByIdListMapper<T,​PK>

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

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

      • selectByIdList

        @SelectProvider(type=IdListProvider.class,
                        method="dynamicSQL")
        List<T> selectByIdList​(@Param("idList")
                               List<PK> idList)
        根据主键字符串进行查询,类中只有存在一个带有@Id注解的字段
        参数:
        idList -
        返回: