diff --git a/dev/workflow/TK_Cust/smart_ccc_chat/ccc客户会话记录信息/cust_chat_record_info_agi.sql b/dev/workflow/TK_Cust/smart_ccc_chat/ccc客户会话记录信息/cust_chat_record_info_agi.sql index 76b302e..e1e5abe 100644 --- a/dev/workflow/TK_Cust/smart_ccc_chat/ccc客户会话记录信息/cust_chat_record_info_agi.sql +++ b/dev/workflow/TK_Cust/smart_ccc_chat/ccc客户会话记录信息/cust_chat_record_info_agi.sql @@ -4,7 +4,7 @@ /*Brilliance stems from wisdoms. */ /*************Head Section**************************************************************************/ /*Script Use: Periodically load data to :cust_chat_record_info(ccc客户会话记录信息) */ -/*Create Date:2025-02-18 16:30:41 */ +/*Create Date:2025-02-18 16:33:39 */ /*SDM Developed By: dev */ /*SDM Developed Date: 2024-08-14 */ /*SDM Checked By: dev */ @@ -79,7 +79,7 @@ INSERT INTO cust_chat_record_info_agi_CUR_I ( ,Src_Table /*来源表*/ ) SELECT - p0.contact_account /*chat_unique_id*/ + COALESCE(TRIM(p0.chat_unique_id),'') /*chat_unique_id*/ ,'Smart CCC' /*chat_channel*/ ,coalesce(p2.data_detail,'') /*contact_channel*/ ,COALESCE(TRIM(p0.contact_app_id),'') /*contact_app_id*/