panlumeng 3 years ago
parent
commit
66169413a6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/admin/controller/Business.php

+ 3 - 3
app/admin/controller/Business.php

@@ -124,15 +124,15 @@ class Business extends BaseController
         $size = isset($this->post['size']) && $this->post['size'] !==""? intval($this->post['size']):"10";
         $where = [["is_del","=",0]];
         $company = isset($this->post['company']) && $this->post['company'] !=="" ? trim($this->post['company']):"";
-        if($company!=""){
+        if($company!==""){
             $where[]=['company',"like","%$company%"];
         }
         $status = isset($this->post['status']) && $this->post['status'] !=="" ? intval($this->post['status']):"";
-        if($status!=""){
+        if($status!==""){
             $where[]=['status',"=",$status];
         }
         $creater = isset($this->post['creater']) && $this->post['creater'] !=="" ? intval($this->post['creater']):"";
-        if($creater!=""){
+        if($creater!==""){
             $where[]=['creater',"like","%$creater%"];
         }
         $start = isset($this->post['start']) && $this->post['start']!=="" ? $this->post['start']:"";