order_826_3
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user