From fb7f969fc9999d4fc4e74107f1b654bf21a84a09 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Thu, 11 Dec 2025 10:35:10 +0800
Subject: [PATCH] 2025-12-11 zwy DeviceDTO对象为空,没有从redis中读取到设备信息。增加判断

---
 ard-sample/src/main/java/com/ard/sample/component/mqtt/model/EventsOutputReceiver.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ard-sample/src/main/java/com/ard/sample/component/mqtt/model/EventsOutputReceiver.java b/ard-sample/src/main/java/com/ard/sample/component/mqtt/model/EventsOutputReceiver.java
index 46447fd..0d90eb0 100644
--- a/ard-sample/src/main/java/com/ard/sample/component/mqtt/model/EventsOutputReceiver.java
+++ b/ard-sample/src/main/java/com/ard/sample/component/mqtt/model/EventsOutputReceiver.java
@@ -1,5 +1,6 @@
 package com.ard.sample.component.mqtt.model;
 
+import com.fasterxml.jackson.annotation.JsonProperty;
 import lombok.Data;
 
 /**
@@ -10,7 +11,9 @@
 @Data
 public class EventsOutputReceiver {
 
+    @JsonProperty("status")
     private String status;
 
+    @JsonProperty("progress")
     private OutputProgressReceiver progress;
 }

--
Gitblit v1.9.3