Commit cc358130 authored by zhuwei's avatar zhuwei

1

parent 7f645a49
...@@ -355,12 +355,8 @@ class Broker extends Basic ...@@ -355,12 +355,8 @@ class Broker extends Basic
$where['a.id'] = [ '<>', 1 ]; $where['a.id'] = [ '<>', 1 ];
if ($params['status'] != -1) { if (!empty($params['status'])) {
if ($params['status']) { $where['a.status'] = $params['status'];
$where['a.status'] = ['<>', 0];
} else {
$where['a.status'] = 0;
}
} }
if (!empty($params['search'])) { if (!empty($params['search'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment