diff --git a/dev/workflow/TK_Cust/smart_ccc_dynamic_email/smartccc工单信息集成/f_ccc_work_ticket_integ_agi.sql b/dev/workflow/TK_Cust/smart_ccc_dynamic_email/smartccc工单信息集成/f_ccc_work_ticket_integ_agi.sql index 0dd350f..7d355d2 100644 --- a/dev/workflow/TK_Cust/smart_ccc_dynamic_email/smartccc工单信息集成/f_ccc_work_ticket_integ_agi.sql +++ b/dev/workflow/TK_Cust/smart_ccc_dynamic_email/smartccc工单信息集成/f_ccc_work_ticket_integ_agi.sql @@ -4,7 +4,7 @@ /*Brilliance stems from wisdoms. */ /*************Head Section**************************************************************************/ /*Script Use: Periodically load data to :f_ccc_work_ticket_integ(smartccc工单信息集成) */ -/*Create Date:2025-09-19 14:39:59 */ +/*Create Date:2025-09-19 14:48:48 */ /*SDM Developed By: dev */ /*SDM Developed Date: 2024-07-09 */ /*SDM Checked By: dev */ @@ -208,7 +208,7 @@ WHERE jsonb_extract_path_text(field, 'id')::int = 299137),'') /*LEAD_PROD ,TO_DATE(:TXDATE,'YYYYMMDD') /*Etl_First_Dt*/ ,current_timestamp(0) /*Etl_Proc_Dt*/ ,0 /*Etl_Batch_No*/ - ,,case when p1.tel='' then '' else trim(leading '0' from coalesce(find_first_not_phone_number(replace(replace(replace(p1.tel,'"',''),'[','{'),']','}')::text[]),'')) end /*second_mobile_number*/ + ,case when p1.tel='' then '' else trim(leading '0' from coalesce(find_first_not_phone_number(replace(replace(replace(p1.tel,'"',''),'[','{'),']','}')::text[]),'')) end /*second_mobile_number*/ ,'' /*company_phone_number*/ ,coalesce(p3.district,'') /*district*/