From 40ece192fe8b7c2df8599a71daeda422083c5a47 Mon Sep 17 00:00:00 2001 From: gaofw189 <gaofw189@chinatelecom.cn> Date: 星期五, 03 二月 2023 14:35:44 +0800 Subject: [PATCH] 修复WVP作为下级平台接收设备告警消息后上报上级平台的问题 --- 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