admin_customer_1014_2
This commit is contained in:
@@ -70,6 +70,7 @@ class Customer extends HD_Controller
|
||||
$where['admin_id'] = $params['admin_id'];
|
||||
} else {
|
||||
$where_lcb = array();
|
||||
$str_ids = '';
|
||||
if ($params['biz_id_admin']) {//指定店铺所有销售员
|
||||
$where_lcb['biz_id'] = $params['biz_id_admin'];
|
||||
} else {
|
||||
@@ -100,7 +101,11 @@ class Customer extends HD_Controller
|
||||
$str_ids = $str_ids . ',0';
|
||||
$where["admin_id in({$str_ids})"] = null;
|
||||
} else {
|
||||
$where['admin_id'] = -1;
|
||||
if ($str_ids) {
|
||||
$where['admin_id'] = 0;
|
||||
} else {
|
||||
$where['admin_id'] = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
!$params['city_id_admin'] && $params['city_id_admin'] = '';
|
||||
|
||||
Reference in New Issue
Block a user