add workflow 天润dynamic邮件同步,dev

This commit is contained in:
root 2025-01-02 15:14:12 +08:00
parent ecbb314b19
commit 40e29fb2e9
1 changed files with 2 additions and 2 deletions

View File

@ -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-01-02 14:53:55 */
/*Create Date:2025-01-02 15:13:12 */
/*SDM Developed By: dev */
/*SDM Developed Date: 2024-07-09 */
/*SDM Checked By: dev */
@ -481,7 +481,7 @@ SELECT
,coalesce((SELECT jsonb_extract_path_text(j, 'value')
FROM jsonb_array_elements(p1.customize::jsonb) j
WHERE jsonb_extract_path_text(j, 'name') = '职位'),'') /*JOB_TITLE*/
,coalesce(p3.full_name,(SELECT jsonb_extract_path_text(j, 'value')
,coalesce(split_part(p3.full_name,'-',1),(SELECT jsonb_extract_path_text(j, 'value')
FROM jsonb_array_elements((p0.start_form::json -> 'fields')::jsonb) j
WHERE jsonb_extract_path_text(j, 'id') = '304585'),(SELECT jsonb_extract_path_text(j, 'value')
FROM jsonb_array_elements((p0.start_form::json -> 'fields')::jsonb) j