From 23400d8450aa6077a6135450034741f1761604e7 Mon Sep 17 00:00:00 2001 From: weigang Date: Tue, 20 Oct 2020 16:44:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=AA=E7=BB=9F=E8=AE=A1=E6=B4=BB=E5=8A=A8?= =?UTF-8?q?=E5=95=86=E5=93=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/OrderOnlineService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Service/v3/Implementations/OrderOnlineService.php b/app/Service/v3/Implementations/OrderOnlineService.php index 88cd0f8..e157eec 100644 --- a/app/Service/v3/Implementations/OrderOnlineService.php +++ b/app/Service/v3/Implementations/OrderOnlineService.php @@ -837,6 +837,7 @@ class OrderOnlineService implements OrderOnlineServiceInterface ->join($goodsTable, $goodsTable.'.order_id', '=', $orderTable.'.id') ->where($mainTable.'.updated_at', '>=', strtotime(date('Y-m-d 00:00:00'))) ->where($mainTable.'.updated_at', '<=', strtotime(date('Y-m-d 23:59:59'))) + ->where([$goodsTable.'.activity_type' => 2]) ->whereIn($mainTable.'.state', OrderState::LIMIT_BUY_COUNT) ->where([$mainTable.'.user_id' => $userId]) ->whereIn($goodsTable.'.price', $limitPrices)