From 037a25faf4e5ff3d5afb8d7587a3ecce1d6e6a3f Mon Sep 17 00:00:00 2001
From: chenhaozhe <gaozhechen26@gmail.com>
Date: 星期三, 18 三月 2026 20:08:38 +0800
Subject: [PATCH] 消息推送时 添加 用户是否在线判断
---
WebAPI/Service/GeTuiService.cs | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/WebAPI/Service/GeTuiService.cs b/WebAPI/Service/GeTuiService.cs
index 0b0fbdf..865fa0d 100644
--- a/WebAPI/Service/GeTuiService.cs
+++ b/WebAPI/Service/GeTuiService.cs
@@ -56,7 +56,7 @@
a.HCheckDate AS 瀹℃牳鏃ユ湡, a.HUpDater AS 淇敼浜�, a.HUpDateDate AS 淇敼鏃ユ湡, a.HCloseMan AS 鍏抽棴浜�,
a.HCloseDate AS 鍏抽棴鏃ユ湡, a.HDeleteMan AS 浣滃簾浜�, a.HDeleteDate AS 浣滃簾鏃ユ湡, a.HBillType
from OA_WorkLinkBillMain a where HInterID = {HInterID}
- select * from Gy_UserClientIdRelation
+ select * from Gy_UserClientIdRelation where HOnline = 1
", "OA_WorkLinkBillMain");
NotificationTemplate template = null;
ConcurrentDictionary<string, List<string>> userClientIDDictionary = new ConcurrentDictionary<string, List<string>>();
@@ -206,6 +206,9 @@
LogService.Write("-----------------------------------------------");
LogService.Write("-----------------------------------------------");
LogService.Write("----------------鏈嶅姟绔繑鍥炵粨鏋滐細" + pushResult);
+
+ //TODO: 褰撻敊璇俊鎭樉绀鸿澶囩绾挎椂锛屽皢褰撳墠璁惧UUID缁戝畾鐨勭敤鎴风櫥褰曠姸鎬侀厤缃负鏈櫥褰�
+
return false;
}
}
--
Gitblit v1.9.1