📜  在春季的两个日期之间获取数据 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:11.899000             🧑  作者: Mango

代码示例2
@Query(nativeQuery = true, value="select c.cons_no, c.pick_date, from CourierInfo c where c.pick_date between :startDate and :endDate")
List getData_between(@Param("startDate") LocalDate date, @Param("endDate") LocalDate date2);