property
Y
Normal
N
1000
100
-
2024/08/15 14:02:51.713
-
2024/08/15 14:02:51.713
Table input realty
Table output
N
Table input ground_transportation
Table output 2
N
Table input water_vehicles
Table output 2 2
N
Table input air_vehicles
Table output 2 2 2
N
Table input realty
Insert / update
Y
Table input air_vehicles
Insert / update 2
Y
Table input ground_transportation
Insert / update 4
Y
Table input water_vehicles
Insert / update 3
Y
Insert / update
InsertUpdate
Y
1
none
100
ervu-dashboard
=
recruit_id
recruit_id
=
start_date
start_date
=
type_property
type_property
ervu_dashboard
recruit_id
recruit_id
N
address
address
Y
close_date
close_date
Y
kind_right
kind_right
Y
start_date
start_date
N
type_property
type_property
N
N
720
208
Insert / update 2
InsertUpdate
Y
1
none
100
ervu-dashboard
=
recruit_id
recruit_id
=
start_date
start_date
=
type_property
type_property
ervu_dashboard
recruit_id
recruit_id
N
type_property
type_property
N
close_date
close_date
Y
start_date
start_date
N
vehicle_category
vehicle_category
Y
vehicle_type
vehicle_type
Y
N
720
432
Insert / update 3
InsertUpdate
Y
1
none
100
ervu-dashboard
=
recruit_id
recruit_id
=
start_date
start_date
=
type_property
type_property
ervu_dashboard
recruit_id
recruit_id
N
close_date
close_date
Y
start_date
start_date
N
type_property
type_property
N
vehicle_category
vehicle_category
Y
vehicle_type
vehicle_type
Y
N
1200
432
Insert / update 4
InsertUpdate
Y
1
none
100
ervu-dashboard
=
recruit_id
recruit_id
=
type_property
type_property
=
start_date
start_date
ervu_dashboard
recruit_id
recruit_id
N
type_property
type_property
N
brand_model
brand_model
Y
close_date
close_date
Y
issue_year
issue_year
Y
reg_plate
reg_plate
Y
start_date
start_date
N
vehicle_type
vehicle_type
Y
vin
vin
Y
N
1200
208
Table input air_vehicles
TableInput
Y
1
none
ervu_person_registry
N
0
with prop as
(select jsonb_array_elements(ri.info->'svedFL'->'svedVozTS'->'vozTS') u,
ri.recruit_id
from public.recruits_info ri
join public.recruits r ON r.id = ri.recruit_id
where jsonb_typeof(ri.info->'svedFL'->'svedVozTS'->'vozTS') = 'array'
AND r.system_update_date >= '${UP_D}'
)
select
r.id recruit_id,
u->>'naimVid' vehicle_type,
u->>'naznKat' vehicle_category,
to_date(u->>'dataRegPrav', 'YYYY-MM-DD') start_date,
to_date(u->>'dataPrekPrav', 'YYYY-MM-DD') close_date,
'air_vehicles' type_property
from public.recruits r
join prop on r.id = prop.recruit_id
Y
464
432
Table input ground_transportation
TableInput
Y
1
none
ervu_person_registry
N
0
with prop as
(select jsonb_array_elements(ri.info->'svedFL'->'svedNazTS'->'nazTS') u,
ri.recruit_id
from public.recruits_info ri
join public.recruits r ON r.id = ri.recruit_id
where jsonb_typeof(ri.info->'svedFL'->'svedNazTS'->'nazTS') = 'array'
AND r.system_update_date >= '${UP_D}'
)
select
r.id recruit_id,
u->>'vidTS' vehicle_type,
u->>'godVyp' issue_year,
u->>'markaTS' brand_model,
u->>'gosRegZn' reg_plate,
u->>'idenNom' vin,
to_date(u->>'dataRegPrav', 'YYYY-MM-DD') start_date,
to_date(u->>'dataPrekPrav', 'YYYY-MM-DD') close_date,
'ground_transportation' type_property
from public.recruits r
join prop on r.id = prop.recruit_id
Y
928
208
Table input realty
TableInput
Y
1
none
ervu_person_registry
N
0
with prop as
(select jsonb_array_elements(ri.info->'svedFL'->'svedON'->'on') u,
ri.recruit_id
from public.recruits_info ri
join public.recruits r ON r.id = ri.recruit_id
where jsonb_typeof(ri.info->'svedFL'->'svedON'->'on') = 'array'
AND r.system_update_date >= '${UP_D}'
)
select
r.id recruit_id,
u->>'naimVidPrav' kind_right,
u->'adrObSob'->>'adrObSobTekst' address,
to_date(u->>'dataRegPrav', 'YYYY-MM-DD') start_date,
to_date(u->>'dataPrekPrav', 'YYYY-MM-DD') close_date,
'realty' type_property
from public.recruits r
join prop on r.id = prop.recruit_id
Y
480
208
Table input water_vehicles
TableInput
Y
1
none
ervu_person_registry
N
0
with prop as
(select jsonb_array_elements(ri.info->'svedFL'->'svedVodTS'->'vodTS') u,
ri.recruit_id
from public.recruits_info ri
join public.recruits r ON r.id = ri.recruit_id
where jsonb_typeof(ri.info->'svedFL'->'svedVodTS'->'vodTS') = 'array'
AND r.system_update_date >= '${UP_D}'
)
select
r.id recruit_id,
u->>'naimVid' vehicle_type,
u->>'naznKat' vehicle_category,
to_date(u->>'dataRegPrav', 'YYYY-MM-DD') start_date,
to_date(u->>'dataPrekPrav', 'YYYY-MM-DD') close_date,
'water_vehicles' type_property
from public.recruits r
join prop on r.id = prop.recruit_id
Y
928
432
Table output
TableOutput
Y
1
none
1000
ervu-dashboard
N
N
N
N
Y
N
ervu_dashboard
N
N
Y
N
Y
688
80
Table output 2
TableOutput
Y
1
none
1000
ervu-dashboard
N
N
N
N
Y
N
ervu_dashboard
N
N
Y
N
Y
1136
96
Table output 2 2
TableOutput
Y
1
none
1000
ervu-dashboard
N
N
N
N
Y
N
ervu_dashboard
N
N
Y
N
Y
1152
576
Table output 2 2 2
TableOutput
Y
1
none
1000
ervu-dashboard
N
N
N
N
Y
N
ervu_dashboard
N
N
Y
N
Y
672
576