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')