修改开井状态字段值

This commit is contained in:
qinjie 2024-12-06 16:11:15 +08:00
parent 1e15debe49
commit 317d4d6be1
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ public class DeviceServiceImpl extends ServiceImpl<DeviceDao, Device> implements
Object online = this.redisTemplate.opsForHash().get(deviceKey, "online"); Object online = this.redisTemplate.opsForHash().get(deviceKey, "online");
deviceVO.setOnline(online == null ? "" : online.toString()); 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()); deviceVO.setWellCtl(gas_status == null ? "" : gas_status.toString());
Object runMode = this.redisTemplate.opsForHash().get(deviceKey, "runMode"); Object runMode = this.redisTemplate.opsForHash().get(deviceKey, "runMode");