From 25fca14e6224909811d96c348fc2427cf7fe13d1 Mon Sep 17 00:00:00 2001 From: gaofw189 <gaofw189@chinatelecom.cn> Date: 星期一, 06 二月 2023 10:35:32 +0800 Subject: [PATCH] 修复WVP作为下级平台接受deviceControl指令的问题-修复指令响应 --- src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java b/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java index c93f026..6ad1ed7 100644 --- a/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java +++ b/src/main/java/com/genersoft/iot/vmp/vmanager/bean/WVPResult.java @@ -4,7 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema; @Schema(description = "缁熶竴杩斿洖缁撴灉") -public class WVPResult<T> { +public class WVPResult<T> implements Cloneable{ public WVPResult() { } @@ -63,4 +63,9 @@ public void setData(T data) { this.data = data; } + + @Override + public Object clone() throws CloneNotSupportedException { + return super.clone(); + } } -- Gitblit v1.8.0