Browse Source

开放锁单

wangqifan 2 năm trước cách đây
mục cha
commit
d279b7d14d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/main/java/com/izouma/nineth/repo/OrderRepo.java

+ 1 - 1
src/main/java/com/izouma/nineth/repo/OrderRepo.java

@@ -126,6 +126,6 @@ public interface OrderRepo extends JpaRepository<Order, Long>, JpaSpecificationE
 
     List<Order> findAllByParentOrderId(Long id);
 
-    @Query("select o from Order o inner join Asset a on o.assetId = a.id where o.status = 'FINISH' and a.prefixName in ?1 order by o.payTime desc ")
+    @Query("select o from Order o inner join Asset a on o.assetId = a.id where o.status = 'FINISH' and a.prefixName in ?1")
     Page<Order> queryDomainOrder(Set<String> prefixName, Pageable pageable);
 }