From 7d61f2e0a34866b297d6c1096fbd5fd2b328a619 Mon Sep 17 00:00:00 2001 From: lqmac Date: Fri, 27 Oct 2023 10:18:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E5=B7=B2=E4=B8=8B=E6=9E=B6?= =?UTF-8?q?=E7=9A=84=E7=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Order.php | 1 + 1 file changed, 1 insertion(+) diff --git a/application/api/controller/Order.php b/application/api/controller/Order.php index 7606c33..7bc24b7 100755 --- a/application/api/controller/Order.php +++ b/application/api/controller/Order.php @@ -220,6 +220,7 @@ class Order extends Api ->where('order.warehouse_id', $warehouse_id) ->where('order.order_type',1) ->where('order.status', 3) + ->where('goods.status', 'normal') ->where('order.user_id', "<>", $user['id']) ->group('order.id') ->order('goods.status', 'desc')