JPA 时间查询
1.Between - findByStartDateBetween … where x.startDate between ?1 and ?2
2.LessThan/LessThanEqual
LessThan - findByEndLessThan … where x.start< ?1
LessThanEqual findByEndLessThanEqual … where x.start <= ?1
3.GreaterThan/GreaterThanEqual
GreaterThan - findByStartGreaterThan … where x.end> ?1
GreaterThanEqual - findByStartGreaterThanEqual … where x.end>= ?1