1
This commit is contained in:
@@ -33,7 +33,7 @@ public interface OrderRowRepository extends JpaRepository<OrderRow, String> {
|
|||||||
@Query("select o from OrderRow o where o.validCode not in ?1 order by o.orderTime DESC")
|
@Query("select o from OrderRow o where o.validCode not in ?1 order by o.orderTime DESC")
|
||||||
List<OrderRow> findByValidCodeNotInOrderByOrderTimeDesc(int[] validCodes);
|
List<OrderRow> findByValidCodeNotInOrderByOrderTimeDesc(int[] validCodes);
|
||||||
|
|
||||||
@Query("select o from OrderRow o where o.validCode not in ?1 and o.orderTime <= ?2 order by o.orderTime DESC")
|
@Query("select o from OrderRow o where o.validCode not in ?1 and o.orderTime >= ?2 order by o.orderTime DESC")
|
||||||
List<OrderRow> findByValidCodeNotInAndOrderTimeGreaterThanOrderByOrderTimeDesc(
|
List<OrderRow> findByValidCodeNotInAndOrderTimeGreaterThanOrderByOrderTimeDesc(
|
||||||
int[] validCodes,
|
int[] validCodes,
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd") Date threeMonthsAgo
|
@DateTimeFormat(pattern = "yyyy-MM-dd") Date threeMonthsAgo
|
||||||
|
|||||||
Reference in New Issue
Block a user