摘要: 1. 继承MongoRepository public interface StudentRepository extends MongoRepository<Student, String> { } 2. 代码实现 使用ExampleMatcher匹配器 只支持字符串的模糊查询,其他类型是完全匹配 阅读全文
posted @ 2020-03-15 22:44 changwen666 阅读(928) 评论(0) 推荐(0) 编辑