add workflow 天润Dynamic邮件周一同步,dev

This commit is contained in:
root 2025-01-13 14:26:43 +08:00
parent 26faa196c8
commit 95ad1867e1
1 changed files with 11 additions and 0 deletions
dev/workflow/TK_Cust/dag_email_data_export_monday/已发送邮件数据标志

View File

@ -0,0 +1,11 @@
/********************************************************************************************/
/*******Main Section**************************************************************************/
\set ON_ERROR_STOP on
\set AUTOCOMMIT on
\timing on
insert into p61_output.ccc_work_ticket_email_list
select * from p30_common.f_ccc_work_ticket_integ
where etl_batch_no ='0' and suffix in (select suffix from p61_output.v_f_ccc_dynamics_template);
\q