Commit beeb01be by huangjy

fix:设备id取iot的

parent bb82cc60
...@@ -105,7 +105,7 @@ public class FallAlarm implements IAlarm { ...@@ -105,7 +105,7 @@ public class FallAlarm implements IAlarm {
OpenApiBaseStrategy strategyFactoryHandler = openApiBaseStrategyFactory.getHandler(platTenant.getCode()); OpenApiBaseStrategy strategyFactoryHandler = openApiBaseStrategyFactory.getHandler(platTenant.getCode());
if (strategyFactoryHandler != null) { if (strategyFactoryHandler != null) {
try { try {
strategyFactoryHandler.alarm(platTenant, deviceId, properties); strategyFactoryHandler.alarm(platTenant, platDevice.getOriDeviceId(), properties);
} catch (Exception e) { } catch (Exception e) {
log.error("调用openapi告警接口失败:{}", e.getMessage(), e); log.error("调用openapi告警接口失败:{}", e.getMessage(), e);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment