这是示例数据:
public List<Test> findByExample(Test bean) {
ExampleMatcher matcher = DefaultExampleMatcher.exampleMatcher();
Example<FiledReport> exampleQuery = Example.of(bean, matcher);
return testRepo.findAll(exampleQuery);
}
建议最好的模拟方式?