|
@@ -23,4 +23,6 @@ public interface OrderRepo extends JpaRepository<Order, Long>, JpaSpecificationE
|
|
|
List<Order> findByStatusAndCreatedAtBeforeAndDelFalse(OrderStatus status, LocalDateTime time);
|
|
List<Order> findByStatusAndCreatedAtBeforeAndDelFalse(OrderStatus status, LocalDateTime time);
|
|
|
|
|
|
|
|
List<Order> findByCollectionId(Long collectionId);
|
|
List<Order> findByCollectionId(Long collectionId);
|
|
|
|
|
+
|
|
|
|
|
+ int countByCollectionIdAndStatusIn(Long collectionId, Iterable<OrderStatus> orderStatuses);
|
|
|
}
|
|
}
|