diff --git a/admin/controllers/receiver/Customer.php b/admin/controllers/receiver/Customer.php index a135713a..6a4d366c 100644 --- a/admin/controllers/receiver/Customer.php +++ b/admin/controllers/receiver/Customer.php @@ -573,7 +573,7 @@ class Customer extends HD_Controller if ($this->admin_biz_str) { $where["biz_id in ($this->admin_biz_str)"] = null; }else{ - $this->belong && $where["belong_id"] = $this->belong; + $this->belong && $where["biz_id in(select id from lc_biz where province_id={$this->limit_province_id}))"] = null; } return $where; }