#update 设备查询部分的空指针问题
This commit is contained in:
@@ -351,9 +351,9 @@ public class DeviceServiceImpl implements IDeviceService {
|
|||||||
deviceList.forEach(y -> {
|
deviceList.forEach(y -> {
|
||||||
y.setStatusStatistics(statusStatistics);
|
y.setStatusStatistics(statusStatistics);
|
||||||
});
|
});
|
||||||
|
deviceList.sort(Comparator.comparing(Device::getFeStatus));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
deviceList.sort(Comparator.comparing(Device::getFeStatus));
|
|
||||||
return deviceList;
|
return deviceList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user