MongoDB+Spring boot查询指定类型指定数量数据 1. Repository 可以使用@Query注解进行查询指定类型(注:内嵌文档查询不出来) $regex:进行模糊查询 2. ServiceImpl 3. Controller @ApiOpertion是Swagger URL文档