|
@@ -17,6 +17,7 @@ class Customer extends BaseController
|
|
|
$condition=[];
|
|
|
isset($post['company'])&&$post['company']!=""? $condition[]=['companyName|contactor',"like","%{$post['company']}%"] : "";
|
|
|
isset($post['contactor'])&&$post['contactor']!=""? $condition[]=['contactor',"like","%{$post['contactor']}%"] :
|
|
|
+ isset($post['companyNo'])&&$post['companyNo']!=""? $condition[]=['companyNo',"=",$post['companyNo']] :
|
|
|
"";
|
|
|
$page = isset($post['page'])&& $post['page']!="" ? intval($post['page']) :1;
|
|
|
$size = isset($post['size'])&& $post['size']!="" ? intval($post['size']) :10;
|