|
@ -226,7 +226,7 @@ public class CockpitServiceImpl implements CockpitService{ |
|
|
JSONArray data = ObjectUtil.isNotEmpty( |
|
|
JSONArray data = ObjectUtil.isNotEmpty( |
|
|
devicesStatus.getJSONArray("data"))?devicesStatus.getJSONArray("data"):result; |
|
|
devicesStatus.getJSONArray("data"))?devicesStatus.getJSONArray("data"):result; |
|
|
if(ObjectUtil.isNotEmpty(data)) { |
|
|
if(ObjectUtil.isNotEmpty(data)) { |
|
|
res = result.toJavaList(DeviceInfoDto.class); |
|
|
res = data.toJavaList(DeviceInfoDto.class); |
|
|
res.forEach(d -> { |
|
|
res.forEach(d -> { |
|
|
DeviceEnum deviceEnum = DeviceEnum.get(d.getDevice_model(), d.getDevice_code()); |
|
|
DeviceEnum deviceEnum = DeviceEnum.get(d.getDevice_model(), d.getDevice_code()); |
|
|
// 添加图片名字
|
|
|
// 添加图片名字
|
|
|