...
|
...
|
@@ -168,6 +168,7 @@ class AdminEquipmentController extends AdminBaseController{ |
|
|
'note' => $objPHPExcel->getActiveSheet()->getCell("e" . $j)->getValue(),
|
|
|
'create_time' => time()
|
|
|
];
|
|
|
dump($data);
|
|
|
$data['qr_code'] = $this->createQrCode($data['name']);
|
|
|
//查询设备是否已存在
|
|
|
$is_equipment=Db::name('equipment')->where(['name'=>$data['name'],'is_delete'=>0])->count();
|
...
|
...
|
|