From e6c1be7f4611d5c11cc9ed3a5b4e3483bf9fe8f8 Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Wed, 3 Apr 2024 16:01:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=BF=90=E7=BB=B4=20SQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/运维语句.sql | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/运维语句.sql b/doc/运维语句.sql index 8eb8642..c81ee8a 100644 --- a/doc/运维语句.sql +++ b/doc/运维语句.sql @@ -14,8 +14,8 @@ FROM where DeleteFlag = 0 and OPI_SN in (162,31,32,33,34,599,600,353,352,350,351,35,606,495,293,525,114,587,585,519,522,476,354,451,216,143,586,539,370,512) - - + +// 查找钉钉绑定 HT 情况 SELECT opi.OPI_Code, opi.OPI_Name, tpa.* FROM dbo.ThirdPlatformAccount_Bind tpa left join OperatorInfo opi @@ -23,8 +23,11 @@ SELECT opi.OPI_Code, where opi.DeleteFlag = 0 // 查找未分配顾问的会话 - SELECT * FROM whatsapp_session WHERE opi_sn IS null - \ No newline at end of file + +// 查找 WA 号码不一致 +SELECT * +FROM whatsapp_session +WHERE opi_sn IS null \ No newline at end of file