From 8f49eea1317889b4f1eda5f272ede5af8c4ef4e8 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 14 Jul 2025 17:16:54 +0800 Subject: [PATCH] =?UTF-8?q?add=20workflow=20=E5=A4=A9=E6=B6=A6Smart-ccc?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E6=95=B0=E6=8D=AE,dev?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../smart_ccc_chat/客户联系信息/cust_contact_info_agi.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/workflow/TK_Cust/smart_ccc_chat/客户联系信息/cust_contact_info_agi.sql b/dev/workflow/TK_Cust/smart_ccc_chat/客户联系信息/cust_contact_info_agi.sql index 906b637..28a0a25 100644 --- a/dev/workflow/TK_Cust/smart_ccc_chat/客户联系信息/cust_contact_info_agi.sql +++ b/dev/workflow/TK_Cust/smart_ccc_chat/客户联系信息/cust_contact_info_agi.sql @@ -4,7 +4,7 @@ /*Brilliance stems from wisdoms. */ /*************Head Section**************************************************************************/ /*Script Use: Periodically load data to :cust_contact_info(客户联系信息) */ -/*Create Date:2025-07-14 16:51:16 */ +/*Create Date:2025-07-14 17:16:33 */ /*SDM Developed By: dev */ /*SDM Developed Date: 2024-01-19 */ /*SDM Checked By: dev */ @@ -149,7 +149,7 @@ p1.contact_id ,p1.user_id as contact ,case when crm_contact ='' and scrm_contact ='' and livechat_contact ='' then 'Udesk' else trim(case when crm_contact <> '' then 'CRM ' else '' end || case when scrm_contact <> '' then 'SCRM ' else '' end ||case when livechat_contact <> '' then 'Livechat ' else '' end) end contact_channel ,coalesce(p6.name,p2.full_name,p3.full_name,p4.full_name,p5.full_name ,'') full_name -,coalesce(p6.tel,p2.mobile_phone,p3.mobile_phone,p4.mobile_phone,p5.mobile_phone ,'') mobile +,coalesce(cast(p6.tel as varchar(15)),p2.mobile_phone,p3.mobile_phone,p4.mobile_phone,p5.mobile_phone ,'') mobile ,coalesce(p6.email,p2.email,p3.email,p4.email,'') email ,coalesce(p6.external_id,p3.wechat_id,'') wechat ,coalesce(p6.company,p2.company_name,p3.company_name,p4.company_name,p5.company_name ,'') company