优化抄表
This commit is contained in:
parent
d0ae71835c
commit
47284ed2a5
|
@ -145,7 +145,7 @@ public class SmMeterReadingRecordServiceImpl implements ISmMeterReadingRecordSer
|
||||||
// 更新数据
|
// 更新数据
|
||||||
for (DeviceVO device : list) {
|
for (DeviceVO device : list) {
|
||||||
try {
|
try {
|
||||||
if (StringUtils.isAnyBlank(device.getMac(), device.getModelProductId())) {
|
if (device == null) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
IotDeviceInfo deviceInfo = iotService.getDeviceInfo(device);
|
IotDeviceInfo deviceInfo = iotService.getDeviceInfo(device);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user