From 297779ecdc0f73800108bfa4543697201c0cffb9 Mon Sep 17 00:00:00 2001 From: luyie Date: Tue, 24 Sep 2024 13:39:02 +0800 Subject: [PATCH] =?UTF-8?q?add:=E5=90=91=E9=87=8F=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E8=BF=94=E5=9B=9E=E6=A8=A1=E5=9E=8B=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/hnac/gglm/bigmodel/business/vo/DeviceModelData.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/DeviceModelData.java b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/DeviceModelData.java index 9385b1f..7bebc16 100644 --- a/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/DeviceModelData.java +++ b/hzims-service/gglm-big-model/src/main/java/com/hnac/gglm/bigmodel/business/vo/DeviceModelData.java @@ -139,23 +139,23 @@ public class DeviceModelData { /** * 类型,0:属性,1:功能,2:事件 */ - private Integer type; + private String type; public static DeviceModelData of(ModelAttrVO data) { DeviceModelData deviceModelData = Func.copyProperties(data, DeviceModelData.class); - deviceModelData.setType(0); + deviceModelData.setType("0"); return deviceModelData; } public static DeviceModelData of(ModelFuncVO data) { DeviceModelData deviceModelData = Func.copyProperties(data, DeviceModelData.class); - deviceModelData.setType(1); + deviceModelData.setType("1"); return deviceModelData; } public static DeviceModelData of(ModelEventVO data) { DeviceModelData deviceModelData = Func.copyProperties(data, DeviceModelData.class); - deviceModelData.setType(2); + deviceModelData.setType("2"); return deviceModelData; } }