This commit is contained in:
r.gaztdinov 2025-09-17 17:34:48 +03:00
parent 2542d8e318
commit ae22ef1fa5
6 changed files with 66 additions and 35 deletions

View file

@ -29,7 +29,7 @@
"description" : ""
}, {
"name" : "DB_DASHBOARD_NAME",
"value" : "ervu-dashboard-test",
"value" : "ervu-dashboard-test1",
"description" : ""
}, {
"name" : "DB_DASHBOARD_USERNAME",

View file

@ -498,7 +498,19 @@ all_data as(
WHERE prop.property_type = 'water_vehicles'
)
select
*,
recruit_id,
kind_right,
address,
vehicle_type,
issue_year::int,
brand_model,
reg_plate,
vin,
vehicle_category,
start_date,
close_date,
type_property,
is_possibility_reg_residence,
CASE
WHEN type_property = 'realty' THEN 1
ELSE 0

View file

@ -601,7 +601,19 @@ all_data as(
WHERE prop.property_type = 'water_vehicles'
)
select
*,
recruit_id,
kind_right,
address,
vehicle_type,
issue_year::int,
brand_model,
reg_plate,
vin,
vehicle_category,
start_date,
close_date,
type_property,
is_possibility_reg_residence,
CASE
WHEN type_property = 'realty' THEN 1
ELSE 0

View file

@ -615,7 +615,19 @@ all_data as(
WHERE prop.property_type = 'water_vehicles'
)
select
*,
recruit_id,
kind_right,
address,
vehicle_type,
issue_year::int,
brand_model,
reg_plate,
vin,
vehicle_category,
start_date,
close_date,
type_property,
is_possibility_reg_residence,
CASE
WHEN type_property = 'realty' THEN 1
ELSE 0

View file

@ -1027,7 +1027,7 @@
<hop>
<from>job_parallel_recruits_info_citizen.hwf</from>
<to>check_status_parallel_recruits_info_citizen.hpl</to>
<enabled>N</enabled>
<enabled>Y</enabled>
<evaluation>Y</evaluation>
<unconditional>N</unconditional>
</hop>

View file

@ -26,28 +26,6 @@
<enabled>Y</enabled>
</hop>
</order>
<transform>
<name>Table input</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>ervu_person_registry</connection>
<execute_each_row>N</execute_each_row>
<limit>0</limit>
<sql>select * from public.sources_recruit</sql>
<variables_active>N</variables_active>
<attributes/>
<GUI>
<xloc>368</xloc>
<yloc>400</yloc>
</GUI>
</transform>
<transform>
<name>Insert / update</name>
<type>InsertUpdate</type>
@ -64,21 +42,16 @@
<lookup>
<key>
<condition>=</condition>
<field>id</field>
<name>id</name>
<field>code</field>
<name>code</name>
<name2/>
</key>
<schema>ervu_dashboard</schema>
<table>sources_recruit</table>
<value>
<name>id</name>
<rename>id</rename>
<update>N</update>
</value>
<value>
<name>code</name>
<rename>code</rename>
<update>Y</update>
<update>N</update>
</value>
<value>
<name>value</name>
@ -118,6 +91,28 @@
<yloc>400</yloc>
</GUI>
</transform>
<transform>
<name>Table input</name>
<type>TableInput</type>
<description/>
<distribute>Y</distribute>
<custom_distribution/>
<copies>1</copies>
<partitioning>
<method>none</method>
<schema_name/>
</partitioning>
<connection>ervu_person_registry</connection>
<execute_each_row>N</execute_each_row>
<limit>0</limit>
<sql>select * from public.sources_recruit</sql>
<variables_active>N</variables_active>
<attributes/>
<GUI>
<xloc>368</xloc>
<yloc>400</yloc>
</GUI>
</transform>
<transform_error_handling>
</transform_error_handling>
<attributes/>