|
@@ -60,6 +60,14 @@ public interface OrderDao extends JpaSpecificationExecutor<Order>, JpaRepository
|
|
|
*/
|
|
*/
|
|
|
Order findOrderByOrderid(String orderid);
|
|
Order findOrderByOrderid(String orderid);
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 根据订单号集获取订单信息
|
|
|
|
|
+ * @param orderids 订单号集
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ @Query("select o from trade.Order o where o.orderid in (:orderids)")
|
|
|
|
|
+ List<Order> findByOrderIds(@Param("orderids") List<String> orderids);
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* Gets count by buyeruu and status.
|
|
* Gets count by buyeruu and status.
|
|
|
*
|
|
*
|