From 496f20252a41e72d9bbc0f787c56babeadf91954 Mon Sep 17 00:00:00 2001 From: luofei <604446095@qq.com> Date: Thu, 6 Jun 2024 10:31:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A2=E5=8D=95=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/logic/store_order/StoreOrderLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/logic/store_order/StoreOrderLogic.php b/app/common/logic/store_order/StoreOrderLogic.php index acaa8e71a..04ebccbd3 100644 --- a/app/common/logic/store_order/StoreOrderLogic.php +++ b/app/common/logic/store_order/StoreOrderLogic.php @@ -140,7 +140,7 @@ class StoreOrderLogic extends BaseLogic */ public function storeOrderCount($storeId, $status) { - return StoreOrder::where(['store_id' => $storeId, 'status' => $status, 'paid' => 1])->count(); + return StoreOrder::where(['store_id' => $storeId, 'status' => $status])->count(); } }