From ff3ebae026537f151d3fd604048597b7738a925a Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Fri, 06 Mar 2026 08:47:52 +0800
Subject: [PATCH] 1. 大文件上传并解压接口业务优化 2. 优化精细化巡检分组权限管理 3. 优化点云文件权限管理 4. 上传到服务器点云文件

---
 ard-work/src/main/java/com/ard/work/component/websocket/WebSocketSessionManager.java |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ard-work/src/main/java/com/ard/work/component/websocket/WebSocketSessionManager.java b/ard-work/src/main/java/com/ard/work/component/websocket/WebSocketSessionManager.java
index 0946889..0cb420e 100644
--- a/ard-work/src/main/java/com/ard/work/component/websocket/WebSocketSessionManager.java
+++ b/ard-work/src/main/java/com/ard/work/component/websocket/WebSocketSessionManager.java
@@ -28,4 +28,9 @@
     public static int getOnlineUserCount() {
         return ONLINE_USER_SESSIONS.size();
     }
+
+    public static boolean containsUser(Long userId) {
+        return ONLINE_USER_SESSIONS.containsKey(userId);
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.9.3