tongshanglei преди 2 години
родител
ревизия
b527d6e275
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      catch/yunying/controller/Vehicle.php

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

@@ -373,7 +373,7 @@ class Vehicle extends CatchController
                 
                 $type = trim($sheet->getCell("C" . $j)->getFormattedValue());  
                 $car_type=Db::table("sys_dict_data")->where('type_id', $car_type_id)->whereLike('value','%'.$type.'%')->cache(60)->value('code');
-                $arr['CAR_BRAND']=$car_type?$car_type:'4';
+                $arr['CAR_TYPE']=$car_type?$car_type:'4';
                 $arr['RFID_SN'] = trim($sheet->getCell("D" . $j)->getFormattedValue());  
                 $arr['INSTA_DATE'] = trim($sheet->getCell("E" . $j)->getFormattedValue());  
                 $arr['INSTALLER'] = trim($sheet->getCell("F" . $j)->getFormattedValue());