ERVU-504: fixes

This commit is contained in:
adel.ka 2025-07-30 14:01:51 +03:00
parent 6c98121930
commit eada8cb3a4
7 changed files with 8 additions and 8 deletions

View file

@ -290,9 +290,9 @@ FROM ervu_dashboard.citizen r
JOIN ervu_dashboard.recruits_info ri ON ri.recruit_id = r.recruit_id
CROSS JOIN LATERAL jsonb_array_elements(ri.info->'svedFL'->'svedOpekun'->'svedSoczPod') AS ch
WHERE
'${ID_F1}' != '' -- Проверка на пустую строку
--'${ID_F1}' != '' -- Проверка на пустую строку
--AND COALESCE(ri.current_recruitment_id, ri.target_recruitment_id) = '${ID_F1}'
AND '${M_R_CR_DATE}'::timestamp >= r.recruit_create_date
'${M_R_CR_DATE}'::timestamp >= r.recruit_create_date
AND r.update_date >= '${M_R_UP_DATE}'::timestamp
AND jsonb_typeof(ri.info->'svedFL'->'svedOpekun'->'svedSoczPod') = 'array';</sql>
<variables_active>Y</variables_active>

View file

@ -1,6 +1,6 @@
{
"status": "SUCCESS",
"pipeline": "delta_citizen_spouse",
"max_create_date": "2025/04/08 20:21:38.528691000",
"max_create_date": "3001-01-01 00:00:00",
"max_update_date": "2025/04/09 00:25:46.935442000"
}

View file

@ -1,4 +1,4 @@
{
"status": "NEW",
"status": "SUCCESS",
"pipeline": "citizen_spouse_flow1"
}

View file

@ -1,4 +1,4 @@
{
"status": "NEW",
"status": "SUCCESS",
"pipeline": "citizen_spouse_flow2"
}

View file

@ -1,4 +1,4 @@
{
"status": "NEW",
"status": "SUCCESS",
"pipeline": "citizen_spouse_flow3"
}

View file

@ -1,4 +1,4 @@
{
"status": "NEW",
"status": "SUCCESS",
"pipeline": "citizen_spouse_flow4"
}

View file

@ -1,4 +1,4 @@
{
"status": "NEW",
"status": "SUCCESS",
"pipeline": "citizen_spouse_flow5"
}