3
我有域对象人用日期字段:实例查询春季数据
public class Person {
@Id
private Long id;
private Date date
建立这样的例子:
Person person = new Person();
person.setSomeOtherFields("some fields");
Example<Person> example = Example.of(person);
如何创建示例查询了日期范围(搜索实体包含日期大于或等于某个日期,小于或等于另一个日期)?