debug:双模数据获取
This commit is contained in:
parent
cc388750ba
commit
d0ae71835c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user