Merge remote-tracking branch 'origin/develop' into ERVU-506_addr
# Conflicts: # map_v1/info_recruits/citizen_tables/citizen/parallel/citizen_flow1.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/citizen_flow2.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/citizen_flow3.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/citizen_flow4.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/citizen_flow5.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/delta_citizen_flow1.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/delta_citizen_flow2.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/delta_citizen_flow3.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/delta_citizen_flow4.hpl # map_v1/info_recruits/citizen_tables/citizen/parallel/delta_citizen_flow5.hpl
This commit is contained in:
commit
b2f0e2bf25
474 changed files with 60591 additions and 71488 deletions
|
|
@ -201,6 +201,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -261,7 +266,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -277,9 +282,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -293,9 +298,9 @@
|
|||
*/
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@
|
|||
<condition>=</condition>
|
||||
<field>recruit_id</field>
|
||||
<name>recruit_id</name>
|
||||
<name2/>
|
||||
</key>
|
||||
<schema>ervu_dashboard</schema>
|
||||
<table>citizen</table>
|
||||
|
|
@ -157,6 +158,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -180,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -196,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -212,9 +218,9 @@
|
|||
*/
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
<order>
|
||||
<hop>
|
||||
<from>Table input</from>
|
||||
<to>Insert / update </to>
|
||||
<to>Insert / update</to>
|
||||
<enabled>Y</enabled>
|
||||
</hop>
|
||||
</order>
|
||||
<transform>
|
||||
<name>Insert / update </name>
|
||||
<name>Insert / update</name>
|
||||
<type>InsertUpdate</type>
|
||||
<description/>
|
||||
<distribute>Y</distribute>
|
||||
|
|
@ -44,6 +44,7 @@
|
|||
<condition>=</condition>
|
||||
<field>recruit_id</field>
|
||||
<name>recruit_id</name>
|
||||
<name2/>
|
||||
</key>
|
||||
<schema>ervu_dashboard</schema>
|
||||
<table>citizen</table>
|
||||
|
|
@ -157,11 +158,16 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
<GUI>
|
||||
<xloc>1248</xloc>
|
||||
<xloc>1264</xloc>
|
||||
<yloc>416</yloc>
|
||||
</GUI>
|
||||
</transform>
|
||||
|
|
@ -180,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -196,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -212,9 +218,9 @@
|
|||
*/
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
<order>
|
||||
<hop>
|
||||
<from>Table input</from>
|
||||
<to>Insert / update </to>
|
||||
<to>Insert / update</to>
|
||||
<enabled>Y</enabled>
|
||||
</hop>
|
||||
</order>
|
||||
<transform>
|
||||
<name>Insert / update </name>
|
||||
<name>Insert / update</name>
|
||||
<type>InsertUpdate</type>
|
||||
<description/>
|
||||
<distribute>Y</distribute>
|
||||
|
|
@ -44,6 +44,7 @@
|
|||
<condition>=</condition>
|
||||
<field>recruit_id</field>
|
||||
<name>recruit_id</name>
|
||||
<name2/>
|
||||
</key>
|
||||
<schema>ervu_dashboard</schema>
|
||||
<table>citizen</table>
|
||||
|
|
@ -157,11 +158,16 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
<GUI>
|
||||
<xloc>1152</xloc>
|
||||
<xloc>1216</xloc>
|
||||
<yloc>432</yloc>
|
||||
</GUI>
|
||||
</transform>
|
||||
|
|
@ -180,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -196,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -212,9 +218,9 @@
|
|||
*/
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -22,12 +22,12 @@
|
|||
<order>
|
||||
<hop>
|
||||
<from>Table input</from>
|
||||
<to>Insert / update </to>
|
||||
<to>Insert / update</to>
|
||||
<enabled>Y</enabled>
|
||||
</hop>
|
||||
</order>
|
||||
<transform>
|
||||
<name>Insert / update </name>
|
||||
<name>Insert / update</name>
|
||||
<type>InsertUpdate</type>
|
||||
<description/>
|
||||
<distribute>Y</distribute>
|
||||
|
|
@ -44,6 +44,7 @@
|
|||
<condition>=</condition>
|
||||
<field>recruit_id</field>
|
||||
<name>recruit_id</name>
|
||||
<name2/>
|
||||
</key>
|
||||
<schema>ervu_dashboard</schema>
|
||||
<table>citizen</table>
|
||||
|
|
@ -157,11 +158,16 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
<GUI>
|
||||
<xloc>1216</xloc>
|
||||
<xloc>1248</xloc>
|
||||
<yloc>416</yloc>
|
||||
</GUI>
|
||||
</transform>
|
||||
|
|
@ -180,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -196,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -212,9 +218,9 @@
|
|||
*/
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -158,6 +158,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -181,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -197,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
--r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -211,9 +216,9 @@
|
|||
END AS convicts,
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -158,6 +158,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -181,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -197,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
--r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -211,9 +216,9 @@
|
|||
END AS convicts,
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -158,6 +158,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -181,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -197,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
--r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -211,9 +216,9 @@
|
|||
END AS convicts,
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -158,6 +158,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -181,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -197,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
--r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -211,9 +216,9 @@
|
|||
END AS convicts,
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -158,6 +158,11 @@
|
|||
<rename>id_ern</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>marital_status</name>
|
||||
<rename>marital_status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
|
|
@ -181,7 +186,7 @@
|
|||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql>SELECT
|
||||
r.system_pgs_status,
|
||||
r.system_pgs_status,
|
||||
r.full_name,
|
||||
r.last_name,
|
||||
r.first_name,
|
||||
|
|
@ -197,9 +202,9 @@
|
|||
r.id AS recruit_id, --ri.recruit_id,
|
||||
--ri.info,
|
||||
--r.vu_current_info,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
--ri.info->'svedFL'->'svedSemPolozh'->>'semPolozhNaim' AS marital_status,
|
||||
r.military_registration_date AS date_registration,
|
||||
r.vu_unset_date AS date_deregistration,
|
||||
NULLIF(ri.info->'svedFL'->'svedSemPolozh'->>'semPolozh','')::int AS marital_status,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'nomDok' AS passport_number,
|
||||
--ri.info->'svedFL'->'pasportRF'->'aktPasportRF'->>'serDok' AS passport_series,
|
||||
--ri.info->'svedFL'->'svedVoin'->'voin'->>'dataReg' AS issue_date,
|
||||
|
|
@ -211,9 +216,9 @@
|
|||
END AS convicts,
|
||||
r.current_recruitment_id AS recruitment_id,
|
||||
r.target_recruitment_id,
|
||||
CASE
|
||||
CASE
|
||||
WHEN ddd.hidden IS false then ddd.hidden
|
||||
ELSE true
|
||||
ELSE true
|
||||
END AS deferment_liberation,-- когда hidden ис фолс отсрочка есть, когда тру или нулл - нет
|
||||
mrr.value AS reason_registration,
|
||||
system_id_ern AS id_ern -- id единого регистра населения
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<pipeline>
|
||||
<info>
|
||||
<name>change_status_delta_citizen_liability_fz53_flow2_error</name>
|
||||
<name>recruit_update_date_ervu_dashboard</name>
|
||||
<name_sync_with_filename>Y</name_sync_with_filename>
|
||||
<description/>
|
||||
<extended_description/>
|
||||
|
|
@ -13,63 +13,19 @@
|
|||
<transform_performance_capturing_delay>1000</transform_performance_capturing_delay>
|
||||
<transform_performance_capturing_size_limit>100</transform_performance_capturing_size_limit>
|
||||
<created_user>-</created_user>
|
||||
<created_date>2025/06/16 12:20:06.191</created_date>
|
||||
<created_date>2025/06/02 14:50:31.833</created_date>
|
||||
<modified_user>-</modified_user>
|
||||
<modified_date>2025/06/16 12:20:06.191</modified_date>
|
||||
<modified_date>2025/06/02 14:50:31.833</modified_date>
|
||||
</info>
|
||||
<notepads>
|
||||
</notepads>
|
||||
<order>
|
||||
<hop>
|
||||
<from>Table input</from>
|
||||
<to>Insert / update</to>
|
||||
<to>Table output</to>
|
||||
<enabled>Y</enabled>
|
||||
</hop>
|
||||
</order>
|
||||
<transform>
|
||||
<name>Insert / update</name>
|
||||
<type>InsertUpdate</type>
|
||||
<description/>
|
||||
<distribute>Y</distribute>
|
||||
<custom_distribution/>
|
||||
<copies>1</copies>
|
||||
<partitioning>
|
||||
<method>none</method>
|
||||
<schema_name/>
|
||||
</partitioning>
|
||||
<commit>100</commit>
|
||||
<connection>ervu-dashboard</connection>
|
||||
<lookup>
|
||||
<key>
|
||||
<condition>=</condition>
|
||||
<field>job_name</field>
|
||||
<name>job_name</name>
|
||||
</key>
|
||||
<schema>public</schema>
|
||||
<table>etl_checkpoints</table>
|
||||
<value>
|
||||
<name>job_name</name>
|
||||
<rename>job_name</rename>
|
||||
<update>N</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>record_created</name>
|
||||
<rename>record_created</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
<value>
|
||||
<name>status</name>
|
||||
<rename>status</rename>
|
||||
<update>Y</update>
|
||||
</value>
|
||||
</lookup>
|
||||
<update_bypassed>N</update_bypassed>
|
||||
<attributes/>
|
||||
<GUI>
|
||||
<xloc>1152</xloc>
|
||||
<yloc>304</yloc>
|
||||
</GUI>
|
||||
</transform>
|
||||
<transform>
|
||||
<name>Table input</name>
|
||||
<type>TableInput</type>
|
||||
|
|
@ -84,15 +40,52 @@
|
|||
<connection>ervu-dashboard</connection>
|
||||
<execute_each_row>N</execute_each_row>
|
||||
<limit>0</limit>
|
||||
<sql> SELECT
|
||||
'delta_citizen_liability_fz53_flow2' as job_name,
|
||||
'ERROR' as status,
|
||||
current_timestamp as record_created
|
||||
</sql>
|
||||
<sql>SELECT
|
||||
created_at AS system_create_date,
|
||||
updated_at AS system_update_date,
|
||||
current_timestamp AS record_created,
|
||||
'job_recruits_info' AS workflow
|
||||
FROM ervu_dashboard.recruits_info
|
||||
WHERE updated_at = (SELECT MAX(updated_at) FROM ervu_dashboard.recruits_info)
|
||||
limit 1</sql>
|
||||
<variables_active>N</variables_active>
|
||||
<attributes/>
|
||||
<GUI>
|
||||
<xloc>784</xloc>
|
||||
<xloc>896</xloc>
|
||||
<yloc>304</yloc>
|
||||
</GUI>
|
||||
</transform>
|
||||
<transform>
|
||||
<name>Table output</name>
|
||||
<type>TableOutput</type>
|
||||
<description/>
|
||||
<distribute>Y</distribute>
|
||||
<custom_distribution/>
|
||||
<copies>1</copies>
|
||||
<partitioning>
|
||||
<method>none</method>
|
||||
<schema_name/>
|
||||
</partitioning>
|
||||
<commit>1000</commit>
|
||||
<connection>ervu-dashboard</connection>
|
||||
<fields>
|
||||
</fields>
|
||||
<ignore_errors>N</ignore_errors>
|
||||
<only_when_have_rows>N</only_when_have_rows>
|
||||
<partitioning_daily>N</partitioning_daily>
|
||||
<partitioning_enabled>N</partitioning_enabled>
|
||||
<partitioning_monthly>Y</partitioning_monthly>
|
||||
<return_keys>N</return_keys>
|
||||
<schema>public</schema>
|
||||
<specify_fields>N</specify_fields>
|
||||
<table>recruit_create</table>
|
||||
<tablename_in_field>N</tablename_in_field>
|
||||
<tablename_in_table>Y</tablename_in_table>
|
||||
<truncate>N</truncate>
|
||||
<use_batch>Y</use_batch>
|
||||
<attributes/>
|
||||
<GUI>
|
||||
<xloc>1216</xloc>
|
||||
<yloc>304</yloc>
|
||||
</GUI>
|
||||
</transform>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue