From 711cfb91e39970e92e37c7a13a660ff54b09a12b Mon Sep 17 00:00:00 2001 From: gongjiale <942894820@qq.com> Date: Wed, 18 Dec 2024 09:30:55 +0800 Subject: [PATCH] =?UTF-8?q?voc=E8=AE=BE=E5=A4=87=E6=9B=B4=E6=8D=A2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/outside/service/impl/OutSideServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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