Commit 15a53ef6 by huangjy

fix: 修复bug

parent 107db3f2
...@@ -359,6 +359,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService { ...@@ -359,6 +359,7 @@ public class PlatElderRealTimeServiceImpl implements PlatElderRealTimeService {
} }
String result = redisTemplate.opsForValue().get(DEVICE_BR_DATA + platDevice.getOriDeviceId()); String result = redisTemplate.opsForValue().get(DEVICE_BR_DATA + platDevice.getOriDeviceId());
log.info("实时获取设备呼吸数据:{}",result);
if (result != null) { if (result != null) {
JSONObject jsonObject = JSON.parseObject(result); JSONObject jsonObject = JSON.parseObject(result);
if (jsonObject != null) { if (jsonObject != null) {
......
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