|
|
|
@ -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
|
|
|
|
|