Commit 76e6515c authored by hujun's avatar hujun

1

parent 92048cd4
...@@ -35,13 +35,8 @@ class District extends Basic ...@@ -35,13 +35,8 @@ class District 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'];
$agents = new ADistrict(); $agents = new ADistrict();
$where = ''; $where = $field = '';
if ($this->userId != 1) {
$where = 'a.site_id='.$this->siteId;
}
$join = 0; $join = 0;
$field = '';
if ($this->params['search'] != NULL) { if ($this->params['search'] != NULL) {
$field = 'a.id,a.district_name,a.create_time,b.name,b.phone,a.site_id'; $field = 'a.id,a.district_name,a.create_time,b.name,b.phone,a.site_id';
......
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