Browse Source

修改,Mex成单

dongasai 6 months ago
parent
commit
4b072d378b
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/Module/Mex/Logic/MexMatchLogic.php

+ 3 - 0
app/Module/Mex/Logic/MexMatchLogic.php

@@ -426,6 +426,9 @@ class MexMatchLogic
                 $sellOrders = MexOrder::where('item_id', $itemId)
                     ->where('order_type', OrderType::SELL)
                     ->where('status', OrderStatus::PENDING)
+                    ->where('price', '<',$priceConfig->min_price)
+                    ->orderBy('price', 'asc')
+                    ->orderBy('id', 'asc')
                     ->limit($batchSize)
                     ->get();