add workflow 天润dynamic邮件同步,dev

This commit is contained in:
root 2025-12-04 11:31:24 +08:00
parent 6be75c1e8d
commit 4da96a02c2
1 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,11 @@
/*Brilliance stems from wisdoms. */
/*************Head Section**************************************************************************/
/*Script Use: Periodically load data to :f_ccc_work_ticket_integ(smartccc工单信息集成) */
/*Create Date:2025-09-19 14:48:48 */
/*Create Date:2025-12-04 11:29:55 */
/*SDM Developed By: dev */
/*SDM Developed Date: 2024-07-09 */
/*SDM Checked By: dev */
/*SDM Checked Date: 2025-09-19 */
/*SDM Checked Date: 2025-12-04 */
/*Script Developed By: dev */
/*Script Checked By: dev */
/*Source table 1: :PDMDB.t00_china_city_pnum */
@ -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_second_phone_number(replace(replace(replace(p1.tel,'"',''),'[','{'),']','}')::text[]),'')) end /*second_mobile_number*/
,'' /*company_phone_number*/
,coalesce(p3.district,'') /*district*/