Update
parent
153eded62a
commit
ae7cde35c0
|
|
@ -64,7 +64,7 @@ class MonitorDeviceHealthCommand extends Command
|
|||
);
|
||||
|
||||
foreach ($result['data'] as $item) {
|
||||
Device::where('sn', $item['deviceId'])
|
||||
Device::where('sn', str_replace('xxxxS_', '', $item['deviceId']))
|
||||
->where('supplier_key', 'device-supplier-yidong')
|
||||
->where('type', DeviceType::Monitor)
|
||||
->whereIn('status', [DeviceStatus::Online, DeviceStatus::Offline])
|
||||
|
|
|
|||
Loading…
Reference in New Issue