Commit e0d831d5 authored by hujun's avatar hujun

all

parent 72e26b69
...@@ -81,7 +81,13 @@ class Broker extends Basic ...@@ -81,7 +81,13 @@ class Broker extends Basic
$pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo']; $pageNo = empty($this->params['pageNo']) ? 1 : $this->params['pageNo'];
$pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize']; $pageSize = empty($this->params['pageSize']) ? 10 : $this->params['pageSize'];
$where = 'status = 0';
if (empty($this->params['all'])) {
$where = 'status = 0';
} else {
$where = '';
}
if ($this->params['phone']) { if ($this->params['phone']) {
$where .= ' AND concat(phone,name) like "%'.$this->params['phone'].'%"'; $where .= ' AND concat(phone,name) like "%'.$this->params['phone'].'%"';
} }
......
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