Commit e7b2657d authored by zhuwei's avatar zhuwei

我的客户加城市筛选

parent 982ccd61
......@@ -160,7 +160,13 @@ class User extends Basic
//委托类型
$conditions['a.entrust_type'] =$params['entrust_type'];
}
$return_user_list = $this->userModel->selectMyUserList($field, $conditions, $pageNo, $pageSize, $order);
if (isset($params['site_id']) ) {
$conditions['s.site_id'] = $params['site_id'];
}else{
$conditions['s.site_id'] = $this->siteId;
}
$return_user_list = $this->userModel->selectUserList($field, $conditions, $pageNo, $pageSize, $order);
break;
default:
//默认:全部客户
......
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