From a979666fc7927d5fe7d0c450af6d40697aa2da33 Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Fri, 18 Oct 2019 11:04:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=80=9A=E6=97=B6=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/controllers/PhoneCenterController.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/frontend/controllers/PhoneCenterController.php b/frontend/controllers/PhoneCenterController.php index 93e6cea..f68228a 100644 --- a/frontend/controllers/PhoneCenterController.php +++ b/frontend/controllers/PhoneCenterController.php @@ -518,12 +518,6 @@ public function actionDownload(){ $user_id = 0; - if($company_type == 1){ - $company_id=2; - }elseif ($company_type == 2){ - $company_id=3; - } - $query = UserT::find() ->rightJoin('network_phone_assign_t','`network_phone_assign_t`.`user_id`=`user_t`.`id`'); @@ -535,9 +529,6 @@ public function actionDownload(){ if($caller != ''){ $query->andWhere('user_t.username="'.$caller.'"'); } - if($company_id > 0) { - $query->andWhere('user_t.company_id='.$company_id); - } $query->andWhere('user_t.is_delete=0 and user_t.is_leave=0')->orderBy('user_t.username');