wugg 2 years ago
parent
commit
affb1e469c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/admin/controller/Customer.php

+ 1 - 0
app/admin/controller/Customer.php

@@ -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;