diff --git a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/outside/service/impl/OutSideServiceImpl.java b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/outside/service/impl/OutSideServiceImpl.java index 75ba235..0eb9b36 100644 --- a/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/outside/service/impl/OutSideServiceImpl.java +++ b/RuoYi-Vue-Oracle/src/main/java/com/ruoyi/project/outside/service/impl/OutSideServiceImpl.java @@ -103,10 +103,10 @@ public class OutSideServiceImpl implements OutSideService { * sn: equipmentUId * ds: vocRtd * report_time: vocTime - * zt: vocRtd > 5 ? '一级报警' : '正常' + * zt: vocRtd > 4 ? '一级报警' : '正常' */ SensorData sensorData = new SensorData(); - sensorData.setSn(node.get("equipmentUId").asText()); + sensorData.setSn(node.get("equipmentUid").asText()); sensorData.setDs(node.get("vocRtd").asText()); sensorData.setDw("mg/m3"); // "vocTime":"2024-10-30T07:19:20.000+0000" 转为 yyyy-MM-dd HH:mm:ss