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