Commit f843e956 authored by 赵啸非's avatar 赵啸非

添加离线 上线日志

parent 87b39648
...@@ -91,7 +91,7 @@ public class DirectDynamicListener implements MessageListener { ...@@ -91,7 +91,7 @@ public class DirectDynamicListener implements MessageListener {
//新增设备通知第三方平台 //新增设备通知第三方平台
deviceService.sendThirdParty(deviceEntity, productEntity, platformEntity, DeviceMethodEnum.ONLINE); deviceService.sendThirdParty(deviceEntity, productEntity, platformEntity, DeviceMethodEnum.ONLINE);
} }
log.info("id:{},deviceCode:{} deviceStatus:{},updateRet:{}==>上线 ", entity.getId(), deviceEntity.getDeviceCode(), entity.getDeviceStatus(),update); log.info("id:{},deviceCode:{} deviceStatus:{},updateRet:{}==>上线 ", deviceEntity.getId(), deviceEntity.getDeviceCode(), entity.getDeviceStatus(),update);
} }
if (!Constant.MESSAGETYPE_HEARTBEAT.equalsIgnoreCase(messageType)) { if (!Constant.MESSAGETYPE_HEARTBEAT.equalsIgnoreCase(messageType)) {
DeviceLogEntity deviceLogEntity = new DeviceLogEntity(); DeviceLogEntity deviceLogEntity = new DeviceLogEntity();
......
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 to comment