|
@@ -224,6 +224,7 @@ class EquipmentService extends Service
|
|
|
|
|
|
public function getDeviceList($index = "title", $value = "code"){
|
|
public function getDeviceList($index = "title", $value = "code"){
|
|
$deviceList = Equipment::where('del_time',0)
|
|
$deviceList = Equipment::where('del_time',0)
|
|
|
|
+ ->where('model','<>',1)
|
|
->select('id','title','code')
|
|
->select('id','title','code')
|
|
->get()->toArray();
|
|
->get()->toArray();
|
|
|
|
|