From 317d4d6be1a3c6675f4f48433fc8da3278ac3306 Mon Sep 17 00:00:00 2001 From: qinjie <463333974@qq.com> Date: Fri, 6 Dec 2024 16:11:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BC=80=E4=BA=95=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=AD=97=E6=AE=B5=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/isu/gaswellwatch/service/impl/DeviceServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/isu/gaswellwatch/service/impl/DeviceServiceImpl.java b/src/main/java/com/isu/gaswellwatch/service/impl/DeviceServiceImpl.java index bbbf0f7..d8e2abd 100644 --- a/src/main/java/com/isu/gaswellwatch/service/impl/DeviceServiceImpl.java +++ b/src/main/java/com/isu/gaswellwatch/service/impl/DeviceServiceImpl.java @@ -81,7 +81,7 @@ public class DeviceServiceImpl extends ServiceImpl implements Object online = this.redisTemplate.opsForHash().get(deviceKey, "online"); deviceVO.setOnline(online == null ? "" : online.toString()); - Object gas_status = this.redisTemplate.opsForHash().get(deviceKey, "gas_status"); + Object gas_status = this.redisTemplate.opsForHash().get(deviceKey, "wellStatus"); deviceVO.setWellCtl(gas_status == null ? "" : gas_status.toString()); Object runMode = this.redisTemplate.opsForHash().get(deviceKey, "runMode");