order_826_3

This commit is contained in:
dengbw
2022-08-26 17:52:52 +08:00
committed by lccsw
parent 96454300df
commit f656ed4284
+2 -2
View File
@@ -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');