From 28ffb63da33be4e351b5e6aaf1d9e327c225e096 Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Tue, 8 Apr 2025 10:19:49 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E5=A2=9E=E5=8A=A0=E6=9F=A5=E6=89=BE?= =?UTF-8?q?=E6=8E=89=E7=BA=BF=20WA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/运维语句.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/运维语句.sql b/doc/运维语句.sql index 7175ef9..261d770 100644 --- a/doc/运维语句.sql +++ b/doc/运维语句.sql @@ -1,3 +1,10 @@ +## 查找出掉线的 WhatsApp +select * +from whatsapp_individual.connections +where status IN ('offline') +and wa_id not in ('8618777396951', '8613557032060','8613317835586') +and wa_id <> 'null' + // 查找所有开启会话的顾问,并用逗号分隔 SELECT group_concat(opi_sn separator ',') as 'sn_list' FROM ( SELECT