From cee26b5c1c90a3f0a52b3d1617daff01c0e361a7 Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Tue, 12 Oct 2021 15:51:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=90=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E7=8A=B6=E6=80=81=E8=AE=BE=E7=BD=AE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jetlinks/community/device/entity/DeviceInstanceEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/entity/DeviceInstanceEntity.java b/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/entity/DeviceInstanceEntity.java index 5293c744..6f93151c 100644 --- a/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/entity/DeviceInstanceEntity.java +++ b/jetlinks-manager/device-manager/src/main/java/org/jetlinks/community/device/entity/DeviceInstanceEntity.java @@ -173,6 +173,6 @@ public class DeviceInstanceEntity extends GenericEntity implements Recor if (this.features == null) { return false; } - return EnumDict.in(feature, DeviceFeature.values()); + return EnumDict.in(feature, this.features); } }