Commit 035ba6b5 by 罗志长

fix: 设备上报故障日志

parent 03683200
......@@ -1194,7 +1194,7 @@ public class PlatDeviceServiceImpl extends ServiceImpl<PlatDeviceMapper, PlatDev
return;
}
RedisUtil.set(key, faultState);
log.info("handleFault设置故障");
log.info("设备:{} 故障处理, 设置故障", deviceId);
}
} else {
if (StringUtils.isNotBlank(value)) {
......@@ -1203,7 +1203,7 @@ public class PlatDeviceServiceImpl extends ServiceImpl<PlatDeviceMapper, PlatDev
return;
}
RedisUtil.delete(key);
log.info("handleFault恢复正常");
log.info("设备:{} 故障处理, 恢复正常", deviceId);
}
}
}
......
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