From 57cd8d8bf2c8b77dade86efa1ac51dae72c7656c Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期五, 08 十月 2021 11:30:24 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test

---
 springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/config/WebSocketClient.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/config/WebSocketClient.java b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/config/WebSocketClient.java
index d20fd7e..60f89e9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/config/WebSocketClient.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_property/src/main/java/com/panzhihua/service_property/config/WebSocketClient.java
@@ -79,7 +79,8 @@
         if ("abort".equals(deviceInfo.getStatus()) || checkFlag) {
             logger.info("收到设备报警信息:{}", message);
             ComPropertyAlarm comPropertyAlarm = new ComPropertyAlarm();
-            comPropertyAlarm.setSerialNo(deviceInfo.getUserid());
+            comPropertyAlarm.setSerialNo(deviceInfo.getOri_number());
+            comPropertyAlarm.setReceiveNo(deviceInfo.getUserid());
             comPropertyAlarm.setStatus(0);
             comPropertyAlarm.setCreateTime(new Date());
             comPropertyAlarm.setType(1);

--
Gitblit v1.7.1