add workflow 天润dynamic邮件同步,dev

This commit is contained in:
root 2025-03-17 15:06:24 +08:00
parent 2a467730d8
commit 5a3dd0ecf8
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ LEFT JOIN :PDMDB.t00_china_city_pnum p3
WHERE jsonb_extract_path_text(j, 'id') = '317832'),(SELECT jsonb_extract_path_text(j, 'value') WHERE jsonb_extract_path_text(j, 'id') = '317832'),(SELECT jsonb_extract_path_text(j, 'value')
FROM jsonb_array_elements((p0.start_form::json -> 'fields')::jsonb) j FROM jsonb_array_elements((p0.start_form::json -> 'fields')::jsonb) j
WHERE jsonb_extract_path_text(j, 'id') = '297755'),'')::text else '' end WHERE jsonb_extract_path_text(j, 'id') = '297755'),'')::text else '' end
where p0.state_selected in ('Leads') and p0.update_time >= current_date - interval '3 days' where p0.state_selected in ('Leads') and p0.update_time >= current_date - interval '1 days'
; ;