|
|
@ -208,7 +208,7 @@ public class DeviceMonitorController {
|
|
|
|
baseSensorInfoDtos.forEach(y -> {
|
|
|
|
baseSensorInfoDtos.forEach(y -> {
|
|
|
|
Map<String, Object> info = new HashMap<>();
|
|
|
|
Map<String, Object> info = new HashMap<>();
|
|
|
|
|
|
|
|
|
|
|
|
Object jrm = redisTemplate.opsForHash().get(y.getSensorType(), y.getSensorId());
|
|
|
|
Object jrm = redisTemplate.opsForHash().get(y.getSensorType().trim(), y.getSensorId().trim());
|
|
|
|
|
|
|
|
|
|
|
|
if (jrm != null) {
|
|
|
|
if (jrm != null) {
|
|
|
|
JSONObject jsonObject = JSON.parseObject(jrm.toString());
|
|
|
|
JSONObject jsonObject = JSON.parseObject(jrm.toString());
|
|
|
|