|
|
@@ -513,7 +513,7 @@ public class IotDeviceInfoServiceImpl extends ServiceImpl<IotDeviceInfoMapper, I
|
|
|
}
|
|
|
//处理通道或者动环传感器信息
|
|
|
for (SubDeviceInfo subDeviceInfo : subDeviceList) {
|
|
|
- String productName = Arrays.asList(ProductEnums.FSU_GATEWAY.getProductName()).contains(dvsBaseInfo.getProductName()) ? subDeviceInfo.getType() : dvsBaseInfo.getProductName();
|
|
|
+ String productName = ProductEnums.FSU_GATEWAY.getProductName().contains(dvsBaseInfo.getProductName()) ? subDeviceInfo.getType() : dvsBaseInfo.getProductName();
|
|
|
IotDeviceInfo channelInfo = selectByTypeAndHostAndCode(serverInfo.getIotCode(), subDeviceInfo.getParentCode(), productName, subDeviceInfo.getDeviceCode());
|
|
|
|
|
|
if (ObjectUtil.isNull(channelInfo)) {
|