свежая версия со стенда

This commit is contained in:
Булат Хайруллин 2025-04-07 20:31:30 +03:00
parent d288a7519e
commit 13aeb606dc
280 changed files with 75366 additions and 20884 deletions

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<pipeline>
<info>
<name>subpoena</name>
@ -6,7 +7,6 @@
<extended_description/>
<pipeline_version/>
<pipeline_type>Normal</pipeline_type>
<directory>/</directory>
<parameters>
</parameters>
<capture_transform_performance>N</capture_transform_performance>
@ -16,8 +16,6 @@
<created_date>2024/08/15 14:02:51.713</created_date>
<modified_user>-</modified_user>
<modified_date>2024/08/15 14:02:51.713</modified_date>
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key>
<is_key_private>N</is_key_private>
</info>
<notepads>
</notepads>
@ -25,9 +23,168 @@
<hop>
<from>Table input</from>
<to>Table output</to>
<enabled>N</enabled>
</hop>
<hop>
<from>Table input</from>
<to>Insert / update</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>subpoena_id</field>
<name>subpoena_id</name>
</key>
<key>
<condition>=</condition>
<field>status_change_date</field>
<name>status_change_date</name>
</key>
<schema>ervu_dashboard</schema>
<table>subpoena</table>
<value>
<name>subpoena_id</name>
<rename>subpoena_id</rename>
<update>N</update>
</value>
<value>
<name>status_change_date</name>
<rename>status_change_date</rename>
<update>N</update>
</value>
<value>
<name>act_number</name>
<rename>act_number</rename>
<update>Y</update>
</value>
<value>
<name>address</name>
<rename>address</rename>
<update>Y</update>
</value>
<value>
<name>appearance</name>
<rename>appearance</rename>
<update>Y</update>
</value>
<value>
<name>appearance_status</name>
<rename>appearance_status</rename>
<update>Y</update>
</value>
<value>
<name>create_date</name>
<rename>create_date</rename>
<update>Y</update>
</value>
<value>
<name>delivery_date</name>
<rename>delivery_date</rename>
<update>Y</update>
</value>
<value>
<name>delivery_fio</name>
<rename>delivery_fio</rename>
<update>Y</update>
</value>
<value>
<name>delivery_status</name>
<rename>delivery_status</rename>
<update>Y</update>
</value>
<value>
<name>department_id</name>
<rename>department_id</rename>
<update>Y</update>
</value>
<value>
<name>fio_commiss</name>
<rename>fio_commiss</rename>
<update>Y</update>
</value>
<value>
<name>method_delivery</name>
<rename>method_delivery</rename>
<update>Y</update>
</value>
<value>
<name>method_sending</name>
<rename>method_sending</rename>
<update>Y</update>
</value>
<value>
<name>number</name>
<rename>number</rename>
<update>Y</update>
</value>
<value>
<name>recruit_id</name>
<rename>recruit_id</rename>
<update>Y</update>
</value>
<value>
<name>recruitment_name</name>
<rename>recruitment_name</rename>
<update>Y</update>
</value>
<value>
<name>send_date</name>
<rename>send_date</rename>
<update>Y</update>
</value>
<value>
<name>series</name>
<rename>series</rename>
<update>Y</update>
</value>
<value>
<name>sig_info</name>
<rename>sig_info</rename>
<update>Y</update>
</value>
<value>
<name>subpoena_reason</name>
<rename>subpoena_reason</rename>
<update>Y</update>
</value>
<value>
<name>subpoena_status</name>
<rename>subpoena_status</rename>
<update>Y</update>
</value>
<value>
<name>track_number</name>
<rename>track_number</rename>
<update>Y</update>
</value>
<value>
<name>visit_date</name>
<rename>visit_date</rename>
<update>Y</update>
</value>
</lookup>
<update_bypassed>N</update_bypassed>
<attributes/>
<GUI>
<xloc>1008</xloc>
<yloc>400</yloc>
</GUI>
</transform>
<transform>
<name>Table input</name>
<type>TableInput</type>
@ -40,8 +197,11 @@
<schema_name/>
</partitioning>
<connection>postgres.subpoena</connection>
<execute_each_row>N</execute_each_row>
<limit>0</limit>
<sql> SELECT
s.id AS subpoena_id, -- идентификатор повестки
s.status_change_date,
s.recruit_id, -- идентификатор рекрута
s.department_id, -- идентификатор ВК
s.series, -- серия повестки
@ -98,18 +258,13 @@ LEFT JOIN public.send_dictionary AS sd
LEFT JOIN public.subpoena_status AS ss
ON ss.id = s.status_id
LEFT JOIN public.subpoena_appearance AS sa
ON sa.subpoena_id = s.id;</sql>
<limit>0</limit>
<lookup/>
<execute_each_row>N</execute_each_row>
<variables_active>N</variables_active>
<lazy_conversion_active>N</lazy_conversion_active>
ON sa.subpoena_id = s.id
WHERE s.status_change_date >= '${ST_CH_D}';</sql>
<variables_active>Y</variables_active>
<attributes/>
<cluster_schema/>
<GUI>
<xloc>208</xloc>
<yloc>208</yloc>
<draw>Y</draw>
<xloc>688</xloc>
<yloc>400</yloc>
</GUI>
</transform>
<transform>
@ -123,31 +278,27 @@ LEFT JOIN public.subpoena_appearance AS sa
<method>none</method>
<schema_name/>
</partitioning>
<connection>ervu-dashboard</connection>
<schema>ervu_dashboard</schema>
<table>subpoena</table>
<commit>1000</commit>
<truncate>N</truncate>
<ignore_errors>N</ignore_errors>
<use_batch>Y</use_batch>
<specify_fields>N</specify_fields>
<partitioning_enabled>N</partitioning_enabled>
<partitioning_field/>
<partitioning_daily>N</partitioning_daily>
<partitioning_monthly>Y</partitioning_monthly>
<tablename_in_field>N</tablename_in_field>
<tablename_field/>
<tablename_in_table>Y</tablename_in_table>
<return_keys>N</return_keys>
<return_field/>
<connection>ervu-dashboard</connection>
<fields>
</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>ervu_dashboard</schema>
<specify_fields>N</specify_fields>
<table>subpoena</table>
<tablename_in_field>N</tablename_in_field>
<tablename_in_table>Y</tablename_in_table>
<truncate>N</truncate>
<use_batch>Y</use_batch>
<attributes/>
<cluster_schema/>
<GUI>
<xloc>416</xloc>
<yloc>208</yloc>
<draw>Y</draw>
<xloc>1056</xloc>
<yloc>688</yloc>
</GUI>
</transform>
<transform_error_handling>