优化抄表

This commit is contained in:
墨大叔 2024-09-29 10:19:26 +08:00
parent d0ae71835c
commit 47284ed2a5

View File

@ -145,7 +145,7 @@ public class SmMeterReadingRecordServiceImpl implements ISmMeterReadingRecordSer
// 更新数据
for (DeviceVO device : list) {
try {
if (StringUtils.isAnyBlank(device.getMac(), device.getModelProductId())) {
if (device == null) {
continue;
}
IotDeviceInfo deviceInfo = iotService.getDeviceInfo(device);