|
@@ -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']:"";
|