From 9f16b5c553b479ea12fe368a7ecc748872ea8b98 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 12 六月 2025 11:11:27 +0800
Subject: [PATCH] 修改配置文件

---
 src/main/java/com/genersoft/iot/vmp/jt1078/session/SessionManager.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/jt1078/session/SessionManager.java b/src/main/java/com/genersoft/iot/vmp/jt1078/session/SessionManager.java
index 9347249..c2876e5 100644
--- a/src/main/java/com/genersoft/iot/vmp/jt1078/session/SessionManager.java
+++ b/src/main/java/com/genersoft/iot/vmp/jt1078/session/SessionManager.java
@@ -76,13 +76,13 @@
         Session session = this.get(cmd.getDevId());
         if (session == null) {
             log.error("DevId: {} not online!", cmd.getDevId());
-            return "-1";
+            return null;
         }
         String requestKey = requestKey(cmd.getDevId(), cmd.getRespId(), cmd.getPackageNo());
         SynchronousQueue<String> subscribe = subscribe(requestKey);
         if (subscribe == null) {
             log.error("DevId: {} key:{} send repaid", cmd.getDevId(), requestKey);
-            return "-1";
+            return null;
         }
         session.writeObject(cmd);
         try {
@@ -105,7 +105,7 @@
                 log.error("{}", e.getMessage(), e);
             }
         }
-        log.warn("鏈壘鍒板搴斿洖澶嶆寚浠�,key:{} 娑堟伅:{} ", requestKey, data);
+        log.warn("Not find response,key:{} data:{} ", requestKey, data);
         return false;
     }
 

--
Gitblit v1.8.0