tongshanglei 1 year ago
parent
commit
1c4d57e3c1
1 changed files with 6 additions and 6 deletions
  1. 6 6
      catch/yunying/controller/Vehicle.php

+ 6 - 6
catch/yunying/controller/Vehicle.php

@@ -39,12 +39,12 @@ class Vehicle extends CatchController
         if($param['PLATE_NO']){
             $cond['o.PLATE_NO']=['like',$param['PLATE_NO']];
         }
-        // if($param['ID_CARD_NUMBER']){
-        //     $cond['r.ID_CARD_NUMBER']=['like',$param['ID_CARD_NUMBER']];
-        // }
-        // if($param['MOBILE_NUMBER']){
-        //     $cond['r.MOBILE_NUMBER']=['like',$param['MOBILE_NUMBER']];
-        // }
+        if($param['ID_CARD_NUMBER']){
+            $cond['r.ID_CARD_NUMBER']=['like',$param['ID_CARD_NUMBER']];
+        }
+        if($param['MOBILE_NUMBER']){
+            $cond['r.MOBILE_NUMBER']=['like',$param['MOBILE_NUMBER']];
+        }
         if($param['RFID_SN']){
             $cond['s.RFID_SN']=['like',$param['RFID_SN']];
         }