debug:双模数据获取

This commit is contained in:
墨大叔 2024-09-29 09:38:37 +08:00
parent cc388750ba
commit d0ae71835c

View File

@ -34,9 +34,9 @@ public class IotConverterImpl implements IotConverter {
List<CurrentDatastream> ds2 = data2 == null ? data1.getDatastreams() : data2.getDatastreams(); List<CurrentDatastream> ds2 = data2 == null ? data1.getDatastreams() : data2.getDatastreams();
if (CollectionUtils.isNotEmptyElement(ds1)) { if (CollectionUtils.isNotEmptyElement(ds1)) {
this.toIotDeviceInfo(ds1, ds2); return this.toIotDeviceInfo(ds1, ds2);
} else if (CollectionUtils.isNotEmptyElement(ds2)) { } else if (CollectionUtils.isNotEmptyElement(ds2)) {
this.toIotDeviceInfo(ds2, ds1); return this.toIotDeviceInfo(ds2, ds1);
} }
return null; return null;