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