From 49be457e6fd4f543e72bbc2e44e343fe49a1bb45 Mon Sep 17 00:00:00 2001 From: dengbw Date: Fri, 26 Aug 2022 17:52:52 +0800 Subject: [PATCH] order_826_3 --- admin/controllers/stats/Order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/controllers/stats/Order.php b/admin/controllers/stats/Order.php index 497fc4d8..5d7d04ff 100644 --- a/admin/controllers/stats/Order.php +++ b/admin/controllers/stats/Order.php @@ -191,7 +191,7 @@ class order extends HD_Controller foreach ($bizs as $k => $v) { $str_ids = $v['ids'] ? $v['ids'] : ''; if (!$str_ids) { - $where_b = ['status' => 1, 'city_id' => $v['city_id']]; + $where_b = ['city_id' => $v['city_id']]; $v['type'] && $where_b['type'] = $v['type']; $v['not_ids'] && $where_b["id not in({$v['not_ids']})"] = null; $res = $this->mdBiz->select($where_b, 'id desc', 0, 0, 'id'); @@ -397,7 +397,7 @@ class order extends HD_Controller foreach ($bizs as $k => $v) { $str_ids = $v['ids'] ? $v['ids'] : ''; if (!$str_ids) { - $where_b = ['status' => 1, 'city_id' => $v['city_id']]; + $where_b = ['city_id' => $v['city_id']]; $v['type'] && $where_b['type'] = $v['type']; $v['not_ids'] && $where_b["id not in({$v['not_ids']})"] = null; $res = $this->mdBiz->select($where_b, 'id desc', 0, 0, 'id');