From 646419e4ad291258b8c013332bc46aa491176aed Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Fri, 28 Jan 2022 16:45:12 +0800 Subject: [PATCH] #247 --- .../genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java index 68acde33..95d1aefa 100644 --- a/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java +++ b/src/main/java/com/genersoft/iot/vmp/vmanager/gb28181/ptz/PtzController.java @@ -152,10 +152,10 @@ public class PtzController { msg.setData("获取设备预置位超时"); resultHolder.invokeResult(msg); }); - resultHolder.put(key, uuid, result); if (resultHolder.exist(key, null)) { return result; } + resultHolder.put(key, uuid, result); cmder.presetQuery(device, channelId, event -> { RequestMessage msg = new RequestMessage(); msg.setId(uuid);