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 | 6 +++++- 1 files changed, 5 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 e3182c6..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() { } @@ -64,4 +64,8 @@ this.data = data; } + @Override + public Object clone() throws CloneNotSupportedException { + return super.clone(); + } } -- Gitblit v1.8.0