Правки для Тимура

This commit is contained in:
Foat Saliakhov 2025-11-26 17:49:20 +03:00
parent 1c71e2b92f
commit 50f6293119
13 changed files with 1151 additions and 87 deletions

View file

@ -17,6 +17,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.AppR
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ApplicationsReceivedFromEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuStorage;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.IncidentsEpguInfo;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.IncidentsInfo;
@ -64,6 +65,11 @@ public class Actualization extends SchemaImpl {
*/
public final ChangeDataFromGirVuCitizen CHANGE_DATA_FROM_GIR_VU_CITIZEN = ChangeDataFromGirVuCitizen.CHANGE_DATA_FROM_GIR_VU_CITIZEN;
/**
* The table <code>actualization.change_data_from_gir_vu_storage</code>.
*/
public final ChangeDataFromGirVuStorage CHANGE_DATA_FROM_GIR_VU_STORAGE = ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE;
/**
* Актуализация. Изменение сведений при личной явке
*/
@ -142,7 +148,8 @@ public class Actualization extends SchemaImpl {
public final List<Sequence<?>> getSequences() {
return Arrays.asList(
Sequences.APPLICATIONS_RECEIVED_FROM_EP_APPLICATIONS_RECEIVED_FROM_EP_SEQ,
Sequences.CHANGE_DATA_FROM_GIR_VU_CITIZ_CHANGE_DATA_FROM_GIR_VU_CITIZ_SEQ
Sequences.CHANGE_DATA_FROM_GIR_VU_CITIZ_CHANGE_DATA_FROM_GIR_VU_CITIZ_SEQ,
Sequences.CHANGE_DATA_FROM_GIR_VU_STORA_CHANGE_DATA_FROM_GIR_VU_ID_ST_SEQ
);
}
@ -153,6 +160,7 @@ public class Actualization extends SchemaImpl {
ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU,
ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU,
ChangeDataFromGirVuCitizen.CHANGE_DATA_FROM_GIR_VU_CITIZEN,
ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE,
ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT,
IncidentsEpguInfo.INCIDENTS_EPGU_INFO,
IncidentsInfo.INCIDENTS_INFO,

View file

@ -13,6 +13,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.AppR
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ApplicationsReceivedFromEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuStorage;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.IncidentsEpguInfo;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.IncidentsInfo;
@ -22,6 +23,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.reco
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.ApplicationsReceivedFromEpguRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.ChangeDataFromGirVuCitizenRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.ChangeDataFromGirVuRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.ChangeDataFromGirVuStorageRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.ChangeDataPersonalVisitRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.IncidentsEpguInfoRecord;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.IncidentsInfoRecord;
@ -44,6 +46,8 @@ public class Keys {
public static final UniqueKey<ApplicationsReceivedFromEpguRecord> APPLICATIONS_RECEIVED_FROM_EPGU_PKEY = Internal.createUniqueKey(ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU, DSL.name("applications_received_from_epgu_pkey"), new TableField[] { ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU.APPLICATIONS_RECEIVED_FROM_EPGU_ID }, true);
public static final UniqueKey<ChangeDataFromGirVuRecord> CHANGE_DATA_FROM_GIR_VU_PKEY = Internal.createUniqueKey(ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU, DSL.name("change_data_from_gir_vu_pkey"), new TableField[] { ChangeDataFromGirVu.CHANGE_DATA_FROM_GIR_VU.CHANGE_DATA_FROM_GIR_VU_ID }, true);
public static final UniqueKey<ChangeDataFromGirVuCitizenRecord> CHANGE_DATA_FROM_GIR_VU_CITIZEN_PKEY = Internal.createUniqueKey(ChangeDataFromGirVuCitizen.CHANGE_DATA_FROM_GIR_VU_CITIZEN, DSL.name("change_data_from_gir_vu_citizen_pkey"), new TableField[] { ChangeDataFromGirVuCitizen.CHANGE_DATA_FROM_GIR_VU_CITIZEN.CHANGE_DATA_FROM_GIR_VU_CITIZEN_ID }, true);
public static final UniqueKey<ChangeDataFromGirVuStorageRecord> CHANGE_DATA_FROM_GIR_VU_PKEY_STORAGE = Internal.createUniqueKey(ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE, DSL.name("change_data_from_gir_vu_pkey_storage"), new TableField[] { ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE.CHANGE_DATA_FROM_GIR_VU_ID_STORAGE }, true);
public static final UniqueKey<ChangeDataFromGirVuStorageRecord> UNIQUE_RECRUITMENT_INFO_DATE = Internal.createUniqueKey(ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE, DSL.name("unique_recruitment_info_date"), new TableField[] { ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE.RECRUITMENT_ID, ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE.INFO_DATE }, true);
public static final UniqueKey<ChangeDataPersonalVisitRecord> CHANGE_DATA_PERSONAL_VISIT_PKEY = Internal.createUniqueKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("change_data_personal_visit_pkey"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT.CHANGE_DATA_PERSONAL_VISIT_ID }, true);
public static final UniqueKey<IncidentsEpguInfoRecord> INCIDENTS_EPGU_INFO_PKEY = Internal.createUniqueKey(IncidentsEpguInfo.INCIDENTS_EPGU_INFO, DSL.name("incidents_epgu_info_pkey"), new TableField[] { IncidentsEpguInfo.INCIDENTS_EPGU_INFO.INCIDENTS_EPGU_INFO_ID }, true);
public static final UniqueKey<IncidentsInfoRecord> INCIDENTS_INFO_PKEY = Internal.createUniqueKey(IncidentsInfo.INCIDENTS_INFO, DSL.name("incidents_info_pkey"), new TableField[] { IncidentsInfo.INCIDENTS_INFO.INCIDENTS_INFO_ID }, true);

View file

@ -26,4 +26,10 @@ public class Sequences {
* <code>actualization.change_data_from_gir_vu_citiz_change_data_from_gir_vu_citiz_seq</code>
*/
public static final Sequence<Long> CHANGE_DATA_FROM_GIR_VU_CITIZ_CHANGE_DATA_FROM_GIR_VU_CITIZ_SEQ = Internal.createSequence("change_data_from_gir_vu_citiz_change_data_from_gir_vu_citiz_seq", Actualization.ACTUALIZATION, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
/**
* The sequence
* <code>actualization.change_data_from_gir_vu_stora_change_data_from_gir_vu_id_st_seq</code>
*/
public static final Sequence<Long> CHANGE_DATA_FROM_GIR_VU_STORA_CHANGE_DATA_FROM_GIR_VU_ID_ST_SEQ = Internal.createSequence("change_data_from_gir_vu_stora_change_data_from_gir_vu_id_st_seq", Actualization.ACTUALIZATION, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
}

View file

@ -8,6 +8,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.AppR
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ApplicationsReceivedFromEpgu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVu;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuCitizen;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuStorage;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataPersonalVisit;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.IncidentsEpguInfo;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.IncidentsInfo;
@ -48,6 +49,11 @@ public class Tables {
*/
public static final ChangeDataFromGirVuCitizen CHANGE_DATA_FROM_GIR_VU_CITIZEN = ChangeDataFromGirVuCitizen.CHANGE_DATA_FROM_GIR_VU_CITIZEN;
/**
* The table <code>actualization.change_data_from_gir_vu_storage</code>.
*/
public static final ChangeDataFromGirVuStorage CHANGE_DATA_FROM_GIR_VU_STORAGE = ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE;
/**
* Актуализация. Изменение сведений при личной явке
*/

View file

@ -0,0 +1,312 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import org.jooq.Condition;
import org.jooq.Field;
import org.jooq.Identity;
import org.jooq.Name;
import org.jooq.PlainSQL;
import org.jooq.QueryPart;
import org.jooq.SQL;
import org.jooq.Schema;
import org.jooq.Select;
import org.jooq.Stringly;
import org.jooq.Table;
import org.jooq.TableField;
import org.jooq.TableOptions;
import org.jooq.UniqueKey;
import org.jooq.impl.DSL;
import org.jooq.impl.SQLDataType;
import org.jooq.impl.TableImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.Actualization;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.Keys;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records.ChangeDataFromGirVuStorageRecord;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChangeDataFromGirVuStorage extends TableImpl<ChangeDataFromGirVuStorageRecord> {
private static final long serialVersionUID = 1L;
/**
* The reference instance of
* <code>actualization.change_data_from_gir_vu_storage</code>
*/
public static final ChangeDataFromGirVuStorage CHANGE_DATA_FROM_GIR_VU_STORAGE = new ChangeDataFromGirVuStorage();
/**
* The class holding records for this type
*/
@Override
public Class<ChangeDataFromGirVuStorageRecord> getRecordType() {
return ChangeDataFromGirVuStorageRecord.class;
}
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.change_data_from_gir_vu_id_storage</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> CHANGE_DATA_FROM_GIR_VU_ID_STORAGE = createField(DSL.name("change_data_from_gir_vu_id_storage"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.recruitment_id</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.update_date</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.info_date</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_reg_address</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_REG_ADDRESS = createField(DSL.name("count_reg_address"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_place_of_stay</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_PLACE_OF_STAY = createField(DSL.name("count_place_of_stay"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_work</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_WORK = createField(DSL.name("count_work"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_place_of_study</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_PLACE_OF_STUDY = createField(DSL.name("count_place_of_study"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_family_status</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_FAMILY_STATUS = createField(DSL.name("count_family_status"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_education</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_EDUCATION = createField(DSL.name("count_education"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_renaming</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_RENAMING = createField(DSL.name("count_renaming"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_med_info</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_MED_INFO = createField(DSL.name("count_med_info"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>actualization.change_data_from_gir_vu_storage.count_other</code>.
*/
public final TableField<ChangeDataFromGirVuStorageRecord, Long> COUNT_OTHER = createField(DSL.name("count_other"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private ChangeDataFromGirVuStorage(Name alias, Table<ChangeDataFromGirVuStorageRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}
private ChangeDataFromGirVuStorage(Name alias, Table<ChangeDataFromGirVuStorageRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
}
/**
* Create an aliased
* <code>actualization.change_data_from_gir_vu_storage</code> table
* reference
*/
public ChangeDataFromGirVuStorage(String alias) {
this(DSL.name(alias), CHANGE_DATA_FROM_GIR_VU_STORAGE);
}
/**
* Create an aliased
* <code>actualization.change_data_from_gir_vu_storage</code> table
* reference
*/
public ChangeDataFromGirVuStorage(Name alias) {
this(alias, CHANGE_DATA_FROM_GIR_VU_STORAGE);
}
/**
* Create a <code>actualization.change_data_from_gir_vu_storage</code> table
* reference
*/
public ChangeDataFromGirVuStorage() {
this(DSL.name("change_data_from_gir_vu_storage"), null);
}
@Override
public Schema getSchema() {
return aliased() ? null : Actualization.ACTUALIZATION;
}
@Override
public Identity<ChangeDataFromGirVuStorageRecord, Long> getIdentity() {
return (Identity<ChangeDataFromGirVuStorageRecord, Long>) super.getIdentity();
}
@Override
public UniqueKey<ChangeDataFromGirVuStorageRecord> getPrimaryKey() {
return Keys.CHANGE_DATA_FROM_GIR_VU_PKEY_STORAGE;
}
@Override
public List<UniqueKey<ChangeDataFromGirVuStorageRecord>> getUniqueKeys() {
return Arrays.asList(Keys.UNIQUE_RECRUITMENT_INFO_DATE);
}
@Override
public ChangeDataFromGirVuStorage as(String alias) {
return new ChangeDataFromGirVuStorage(DSL.name(alias), this);
}
@Override
public ChangeDataFromGirVuStorage as(Name alias) {
return new ChangeDataFromGirVuStorage(alias, this);
}
@Override
public ChangeDataFromGirVuStorage as(Table<?> alias) {
return new ChangeDataFromGirVuStorage(alias.getQualifiedName(), this);
}
/**
* Rename this table
*/
@Override
public ChangeDataFromGirVuStorage rename(String name) {
return new ChangeDataFromGirVuStorage(DSL.name(name), null);
}
/**
* Rename this table
*/
@Override
public ChangeDataFromGirVuStorage rename(Name name) {
return new ChangeDataFromGirVuStorage(name, null);
}
/**
* Rename this table
*/
@Override
public ChangeDataFromGirVuStorage rename(Table<?> name) {
return new ChangeDataFromGirVuStorage(name.getQualifiedName(), null);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVuStorage where(Condition condition) {
return new ChangeDataFromGirVuStorage(getQualifiedName(), aliased() ? this : null, null, condition);
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVuStorage where(Collection<? extends Condition> conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVuStorage where(Condition... conditions) {
return where(DSL.and(conditions));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVuStorage where(Field<Boolean> condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVuStorage where(SQL condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVuStorage where(@Stringly.SQL String condition) {
return where(DSL.condition(condition));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVuStorage where(@Stringly.SQL String condition, Object... binds) {
return where(DSL.condition(condition, binds));
}
/**
* Create an inline derived table from this table
*/
@Override
@PlainSQL
public ChangeDataFromGirVuStorage where(@Stringly.SQL String condition, QueryPart... parts) {
return where(DSL.condition(condition, parts));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVuStorage whereExists(Select<?> select) {
return where(DSL.exists(select));
}
/**
* Create an inline derived table from this table
*/
@Override
public ChangeDataFromGirVuStorage whereNotExists(Select<?> select) {
return where(DSL.notExists(select));
}
}

View file

@ -51,9 +51,63 @@ public class ViewChangeDataFromGirVu extends TableImpl<ViewChangeDataFromGirVuRe
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
* <code>actualization.view_change_data_from_gir_vu.recruitment_id</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> CHANGE_DATA_FROM_GIR_VU_ID = createField(DSL.name("change_data_from_gir_vu_id"), SQLDataType.BIGINT, this, "");
public final TableField<ViewChangeDataFromGirVuRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36), this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_reg_address</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_REG_ADDRESS = createField(DSL.name("count_reg_address"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_place_of_stay</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_PLACE_OF_STAY = createField(DSL.name("count_place_of_stay"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_work</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_WORK = createField(DSL.name("count_work"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_place_of_study</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_PLACE_OF_STUDY = createField(DSL.name("count_place_of_study"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_family_status</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_FAMILY_STATUS = createField(DSL.name("count_family_status"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_education</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_EDUCATION = createField(DSL.name("count_education"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_renaming</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_RENAMING = createField(DSL.name("count_renaming"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_med_info</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_MED_INFO = createField(DSL.name("count_med_info"), SQLDataType.BIGINT, this, "");
/**
* The column
* <code>actualization.view_change_data_from_gir_vu.count_other</code>.
*/
public final TableField<ViewChangeDataFromGirVuRecord, Long> COUNT_OTHER = createField(DSL.name("count_other"), SQLDataType.BIGINT, this, "");
/**
* The column
@ -121,18 +175,40 @@ public class ViewChangeDataFromGirVu extends TableImpl<ViewChangeDataFromGirVuRe
private ViewChangeDataFromGirVu(Name alias, Table<ViewChangeDataFromGirVuRecord> aliased, Field<?>[] parameters, Condition where) {
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
create view "view_change_data_from_gir_vu" as SELECT change_data_from_gir_vu.change_data_from_gir_vu_id,
((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other) AS count_all,
COALESCE(round((((change_data_from_gir_vu.count_reg_address)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_reg_address,
COALESCE(round((((change_data_from_gir_vu.count_place_of_stay)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_stay,
COALESCE(round((((change_data_from_gir_vu.count_work)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_work,
COALESCE(round((((change_data_from_gir_vu.count_place_of_study)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_study,
COALESCE(round((((change_data_from_gir_vu.count_family_status)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_family_status,
COALESCE(round((((change_data_from_gir_vu.count_education)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_education,
COALESCE(round((((change_data_from_gir_vu.count_renaming)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_renaming,
COALESCE(round((((change_data_from_gir_vu.count_med_info)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_med_info,
COALESCE(round((((change_data_from_gir_vu.count_other)::numeric * (100)::numeric) / NULLIF((((((((((change_data_from_gir_vu.count_reg_address + change_data_from_gir_vu.count_place_of_stay) + change_data_from_gir_vu.count_work) + change_data_from_gir_vu.count_place_of_study) + change_data_from_gir_vu.count_family_status) + change_data_from_gir_vu.count_education) + change_data_from_gir_vu.count_renaming) + change_data_from_gir_vu.count_med_info) + change_data_from_gir_vu.count_other))::numeric, (0)::numeric))), (0)::numeric) AS percent_other
FROM actualization.change_data_from_gir_vu;
create view "view_change_data_from_gir_vu" as SELECT COALESCE(s.recruitment_id, m.recruitment_id) AS recruitment_id,
(COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) AS count_reg_address,
(COALESCE(m.count_place_of_stay, (0)::bigint) + COALESCE(s.count_place_of_stay, (0)::bigint)) AS count_place_of_stay,
(COALESCE(m.count_work, (0)::bigint) + COALESCE(s.count_work, (0)::bigint)) AS count_work,
(COALESCE(m.count_place_of_study, (0)::bigint) + COALESCE(s.count_place_of_study, (0)::bigint)) AS count_place_of_study,
(COALESCE(m.count_family_status, (0)::bigint) + COALESCE(s.count_family_status, (0)::bigint)) AS count_family_status,
(COALESCE(m.count_education, (0)::bigint) + COALESCE(s.count_education, (0)::bigint)) AS count_education,
(COALESCE(m.count_renaming, (0)::bigint) + COALESCE(s.count_renaming, (0)::bigint)) AS count_renaming,
(COALESCE(m.count_med_info, (0)::bigint) + COALESCE(s.count_med_info, (0)::bigint)) AS count_med_info,
(COALESCE(m.count_other, (0)::bigint) + COALESCE(s.count_other, (0)::bigint)) AS count_other,
(((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)) AS count_all,
COALESCE(round(((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_reg_address,
COALESCE(round(((((COALESCE(m.count_place_of_stay, (0)::bigint) + COALESCE(s.count_place_of_stay, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_stay,
COALESCE(round(((((COALESCE(m.count_work, (0)::bigint) + COALESCE(s.count_work, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_work,
COALESCE(round(((((COALESCE(m.count_place_of_study, (0)::bigint) + COALESCE(s.count_place_of_study, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_study,
COALESCE(round(((((COALESCE(m.count_family_status, (0)::bigint) + COALESCE(s.count_family_status, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_family_status,
COALESCE(round(((((COALESCE(m.count_education, (0)::bigint) + COALESCE(s.count_education, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_education,
COALESCE(round(((((COALESCE(m.count_renaming, (0)::bigint) + COALESCE(s.count_renaming, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_renaming,
COALESCE(round(((((COALESCE(m.count_med_info, (0)::bigint) + COALESCE(s.count_med_info, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_med_info,
COALESCE(round(((((COALESCE(m.count_other, (0)::bigint) + COALESCE(s.count_other, (0)::bigint)))::numeric * (100)::numeric) / NULLIF(((((((((((((((((((COALESCE(m.count_reg_address, (0)::bigint) + COALESCE(s.count_reg_address, (0)::bigint)) + COALESCE(m.count_place_of_stay, (0)::bigint)) + COALESCE(s.count_place_of_stay, (0)::bigint)) + COALESCE(m.count_work, (0)::bigint)) + COALESCE(s.count_work, (0)::bigint)) + COALESCE(m.count_place_of_study, (0)::bigint)) + COALESCE(s.count_place_of_study, (0)::bigint)) + COALESCE(m.count_family_status, (0)::bigint)) + COALESCE(s.count_family_status, (0)::bigint)) + COALESCE(m.count_education, (0)::bigint)) + COALESCE(s.count_education, (0)::bigint)) + COALESCE(m.count_renaming, (0)::bigint)) + COALESCE(s.count_renaming, (0)::bigint)) + COALESCE(m.count_med_info, (0)::bigint)) + COALESCE(s.count_med_info, (0)::bigint)) + COALESCE(m.count_other, (0)::bigint)) + COALESCE(s.count_other, (0)::bigint)))::numeric, (0)::numeric))), (0)::numeric) AS percent_other
FROM (actualization.change_data_from_gir_vu m
FULL JOIN ( SELECT DISTINCT ON (change_data_from_gir_vu_storage.recruitment_id, change_data_from_gir_vu_storage.info_date) change_data_from_gir_vu_storage.recruitment_id,
change_data_from_gir_vu_storage.info_date,
change_data_from_gir_vu_storage.count_reg_address,
change_data_from_gir_vu_storage.count_place_of_stay,
change_data_from_gir_vu_storage.count_work,
change_data_from_gir_vu_storage.count_place_of_study,
change_data_from_gir_vu_storage.count_family_status,
change_data_from_gir_vu_storage.count_education,
change_data_from_gir_vu_storage.count_renaming,
change_data_from_gir_vu_storage.count_med_info,
change_data_from_gir_vu_storage.count_other
FROM actualization.change_data_from_gir_vu_storage
ORDER BY change_data_from_gir_vu_storage.recruitment_id, change_data_from_gir_vu_storage.info_date, change_data_from_gir_vu_storage.update_date DESC) s ON (((m.recruitment_id)::text = (s.recruitment_id)::text)));
"""), where);
}

View file

@ -0,0 +1,273 @@
/*
* This file is generated by jOOQ.
*/
package ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.records;
import java.sql.Date;
import java.sql.Timestamp;
import org.jooq.Record1;
import org.jooq.impl.UpdatableRecordImpl;
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.tables.ChangeDataFromGirVuStorage;
/**
* This class is generated by jOOQ.
*/
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class ChangeDataFromGirVuStorageRecord extends UpdatableRecordImpl<ChangeDataFromGirVuStorageRecord> {
private static final long serialVersionUID = 1L;
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.change_data_from_gir_vu_id_storage</code>.
*/
public void setChangeDataFromGirVuIdStorage(Long value) {
set(0, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.change_data_from_gir_vu_id_storage</code>.
*/
public Long getChangeDataFromGirVuIdStorage() {
return (Long) get(0);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.recruitment_id</code>.
*/
public void setRecruitmentId(String value) {
set(1, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.recruitment_id</code>.
*/
public String getRecruitmentId() {
return (String) get(1);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.update_date</code>.
*/
public void setUpdateDate(Timestamp value) {
set(2, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.update_date</code>.
*/
public Timestamp getUpdateDate() {
return (Timestamp) get(2);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.info_date</code>.
*/
public void setInfoDate(Date value) {
set(3, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.info_date</code>.
*/
public Date getInfoDate() {
return (Date) get(3);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_reg_address</code>.
*/
public void setCountRegAddress(Long value) {
set(4, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_reg_address</code>.
*/
public Long getCountRegAddress() {
return (Long) get(4);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_place_of_stay</code>.
*/
public void setCountPlaceOfStay(Long value) {
set(5, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_place_of_stay</code>.
*/
public Long getCountPlaceOfStay() {
return (Long) get(5);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_work</code>.
*/
public void setCountWork(Long value) {
set(6, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_work</code>.
*/
public Long getCountWork() {
return (Long) get(6);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_place_of_study</code>.
*/
public void setCountPlaceOfStudy(Long value) {
set(7, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_place_of_study</code>.
*/
public Long getCountPlaceOfStudy() {
return (Long) get(7);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_family_status</code>.
*/
public void setCountFamilyStatus(Long value) {
set(8, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_family_status</code>.
*/
public Long getCountFamilyStatus() {
return (Long) get(8);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_education</code>.
*/
public void setCountEducation(Long value) {
set(9, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_education</code>.
*/
public Long getCountEducation() {
return (Long) get(9);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_renaming</code>.
*/
public void setCountRenaming(Long value) {
set(10, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_renaming</code>.
*/
public Long getCountRenaming() {
return (Long) get(10);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_med_info</code>.
*/
public void setCountMedInfo(Long value) {
set(11, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_med_info</code>.
*/
public Long getCountMedInfo() {
return (Long) get(11);
}
/**
* Setter for
* <code>actualization.change_data_from_gir_vu_storage.count_other</code>.
*/
public void setCountOther(Long value) {
set(12, value);
}
/**
* Getter for
* <code>actualization.change_data_from_gir_vu_storage.count_other</code>.
*/
public Long getCountOther() {
return (Long) get(12);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@Override
public Record1<Long> key() {
return (Record1) super.key();
}
// -------------------------------------------------------------------------
// Constructors
// -------------------------------------------------------------------------
/**
* Create a detached ChangeDataFromGirVuStorageRecord
*/
public ChangeDataFromGirVuStorageRecord() {
super(ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE);
}
/**
* Create a detached, initialised ChangeDataFromGirVuStorageRecord
*/
public ChangeDataFromGirVuStorageRecord(Long changeDataFromGirVuIdStorage, String recruitmentId, Timestamp updateDate, Date infoDate, Long countRegAddress, Long countPlaceOfStay, Long countWork, Long countPlaceOfStudy, Long countFamilyStatus, Long countEducation, Long countRenaming, Long countMedInfo, Long countOther) {
super(ChangeDataFromGirVuStorage.CHANGE_DATA_FROM_GIR_VU_STORAGE);
setChangeDataFromGirVuIdStorage(changeDataFromGirVuIdStorage);
setRecruitmentId(recruitmentId);
setUpdateDate(updateDate);
setInfoDate(infoDate);
setCountRegAddress(countRegAddress);
setCountPlaceOfStay(countPlaceOfStay);
setCountWork(countWork);
setCountPlaceOfStudy(countPlaceOfStudy);
setCountFamilyStatus(countFamilyStatus);
setCountEducation(countEducation);
setCountRenaming(countRenaming);
setCountMedInfo(countMedInfo);
setCountOther(countOther);
resetChangedOnNotNull();
}
}

View file

@ -21,18 +21,162 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
* <code>actualization.view_change_data_from_gir_vu.recruitment_id</code>.
*/
public void setChangeDataFromGirVuId(Long value) {
public void setRecruitmentId(String value) {
set(0, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.change_data_from_gir_vu_id</code>.
* <code>actualization.view_change_data_from_gir_vu.recruitment_id</code>.
*/
public Long getChangeDataFromGirVuId() {
return (Long) get(0);
public String getRecruitmentId() {
return (String) get(0);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_reg_address</code>.
*/
public void setCountRegAddress(Long value) {
set(1, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_reg_address</code>.
*/
public Long getCountRegAddress() {
return (Long) get(1);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_place_of_stay</code>.
*/
public void setCountPlaceOfStay(Long value) {
set(2, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_place_of_stay</code>.
*/
public Long getCountPlaceOfStay() {
return (Long) get(2);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_work</code>.
*/
public void setCountWork(Long value) {
set(3, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_work</code>.
*/
public Long getCountWork() {
return (Long) get(3);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_place_of_study</code>.
*/
public void setCountPlaceOfStudy(Long value) {
set(4, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_place_of_study</code>.
*/
public Long getCountPlaceOfStudy() {
return (Long) get(4);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_family_status</code>.
*/
public void setCountFamilyStatus(Long value) {
set(5, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_family_status</code>.
*/
public Long getCountFamilyStatus() {
return (Long) get(5);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_education</code>.
*/
public void setCountEducation(Long value) {
set(6, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_education</code>.
*/
public Long getCountEducation() {
return (Long) get(6);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_renaming</code>.
*/
public void setCountRenaming(Long value) {
set(7, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_renaming</code>.
*/
public Long getCountRenaming() {
return (Long) get(7);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_med_info</code>.
*/
public void setCountMedInfo(Long value) {
set(8, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_med_info</code>.
*/
public Long getCountMedInfo() {
return (Long) get(8);
}
/**
* Setter for
* <code>actualization.view_change_data_from_gir_vu.count_other</code>.
*/
public void setCountOther(Long value) {
set(9, value);
}
/**
* Getter for
* <code>actualization.view_change_data_from_gir_vu.count_other</code>.
*/
public Long getCountOther() {
return (Long) get(9);
}
/**
@ -40,7 +184,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.count_all</code>.
*/
public void setCountAll(Long value) {
set(1, value);
set(10, value);
}
/**
@ -48,7 +192,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.count_all</code>.
*/
public Long getCountAll() {
return (Long) get(1);
return (Long) get(10);
}
/**
@ -56,7 +200,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_reg_address</code>.
*/
public void setPercentRegAddress(BigDecimal value) {
set(2, value);
set(11, value);
}
/**
@ -64,7 +208,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_reg_address</code>.
*/
public BigDecimal getPercentRegAddress() {
return (BigDecimal) get(2);
return (BigDecimal) get(11);
}
/**
@ -72,7 +216,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_place_of_stay</code>.
*/
public void setPercentPlaceOfStay(BigDecimal value) {
set(3, value);
set(12, value);
}
/**
@ -80,7 +224,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_place_of_stay</code>.
*/
public BigDecimal getPercentPlaceOfStay() {
return (BigDecimal) get(3);
return (BigDecimal) get(12);
}
/**
@ -88,7 +232,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_work</code>.
*/
public void setPercentWork(BigDecimal value) {
set(4, value);
set(13, value);
}
/**
@ -96,7 +240,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_work</code>.
*/
public BigDecimal getPercentWork() {
return (BigDecimal) get(4);
return (BigDecimal) get(13);
}
/**
@ -104,7 +248,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_place_of_study</code>.
*/
public void setPercentPlaceOfStudy(BigDecimal value) {
set(5, value);
set(14, value);
}
/**
@ -112,7 +256,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_place_of_study</code>.
*/
public BigDecimal getPercentPlaceOfStudy() {
return (BigDecimal) get(5);
return (BigDecimal) get(14);
}
/**
@ -120,7 +264,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_family_status</code>.
*/
public void setPercentFamilyStatus(BigDecimal value) {
set(6, value);
set(15, value);
}
/**
@ -128,7 +272,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_family_status</code>.
*/
public BigDecimal getPercentFamilyStatus() {
return (BigDecimal) get(6);
return (BigDecimal) get(15);
}
/**
@ -136,7 +280,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_education</code>.
*/
public void setPercentEducation(BigDecimal value) {
set(7, value);
set(16, value);
}
/**
@ -144,7 +288,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_education</code>.
*/
public BigDecimal getPercentEducation() {
return (BigDecimal) get(7);
return (BigDecimal) get(16);
}
/**
@ -152,7 +296,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_renaming</code>.
*/
public void setPercentRenaming(BigDecimal value) {
set(8, value);
set(17, value);
}
/**
@ -160,7 +304,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_renaming</code>.
*/
public BigDecimal getPercentRenaming() {
return (BigDecimal) get(8);
return (BigDecimal) get(17);
}
/**
@ -168,7 +312,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_med_info</code>.
*/
public void setPercentMedInfo(BigDecimal value) {
set(9, value);
set(18, value);
}
/**
@ -176,7 +320,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_med_info</code>.
*/
public BigDecimal getPercentMedInfo() {
return (BigDecimal) get(9);
return (BigDecimal) get(18);
}
/**
@ -184,7 +328,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_other</code>.
*/
public void setPercentOther(BigDecimal value) {
set(10, value);
set(19, value);
}
/**
@ -192,7 +336,7 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
* <code>actualization.view_change_data_from_gir_vu.percent_other</code>.
*/
public BigDecimal getPercentOther() {
return (BigDecimal) get(10);
return (BigDecimal) get(19);
}
// -------------------------------------------------------------------------
@ -209,10 +353,19 @@ public class ViewChangeDataFromGirVuRecord extends TableRecordImpl<ViewChangeDat
/**
* Create a detached, initialised ViewChangeDataFromGirVuRecord
*/
public ViewChangeDataFromGirVuRecord(Long changeDataFromGirVuId, Long countAll, BigDecimal percentRegAddress, BigDecimal percentPlaceOfStay, BigDecimal percentWork, BigDecimal percentPlaceOfStudy, BigDecimal percentFamilyStatus, BigDecimal percentEducation, BigDecimal percentRenaming, BigDecimal percentMedInfo, BigDecimal percentOther) {
public ViewChangeDataFromGirVuRecord(String recruitmentId, Long countRegAddress, Long countPlaceOfStay, Long countWork, Long countPlaceOfStudy, Long countFamilyStatus, Long countEducation, Long countRenaming, Long countMedInfo, Long countOther, Long countAll, BigDecimal percentRegAddress, BigDecimal percentPlaceOfStay, BigDecimal percentWork, BigDecimal percentPlaceOfStudy, BigDecimal percentFamilyStatus, BigDecimal percentEducation, BigDecimal percentRenaming, BigDecimal percentMedInfo, BigDecimal percentOther) {
super(ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU);
setChangeDataFromGirVuId(changeDataFromGirVuId);
setRecruitmentId(recruitmentId);
setCountRegAddress(countRegAddress);
setCountPlaceOfStay(countPlaceOfStay);
setCountWork(countWork);
setCountPlaceOfStudy(countPlaceOfStudy);
setCountFamilyStatus(countFamilyStatus);
setCountEducation(countEducation);
setCountRenaming(countRenaming);
setCountMedInfo(countMedInfo);
setCountOther(countOther);
setCountAll(countAll);
setPercentRegAddress(percentRegAddress);
setPercentPlaceOfStay(percentPlaceOfStay);

View file

@ -110,9 +110,9 @@ public class RecordsInfoIdUkIdErn extends TableImpl<RecordsInfoIdUkIdErnRecord>
/**
* The column
* <code>init_registration_info.records_info_id_uk_id_ern.records_load</code>.
* Количество выгуженных записей присвоения ИДУК
* Количество выгруженных записей присвоения ИД УК
*/
public final TableField<RecordsInfoIdUkIdErnRecord, Integer> RECORDS_LOAD = createField(DSL.name("records_load"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "Количество выгуженных записей присвоения ИДУК");
public final TableField<RecordsInfoIdUkIdErnRecord, Integer> RECORDS_LOAD = createField(DSL.name("records_load"), SQLDataType.INTEGER.defaultValue(DSL.field(DSL.raw("0"), SQLDataType.INTEGER)), this, "Количество выгруженных записей присвоения ИД УК");
private RecordsInfoIdUkIdErn(Name alias, Table<RecordsInfoIdUkIdErnRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);

View file

@ -156,7 +156,7 @@ public class RecordsInfoIdUkIdErnRecord extends UpdatableRecordImpl<RecordsInfoI
/**
* Setter for
* <code>init_registration_info.records_info_id_uk_id_ern.records_load</code>.
* Количество выгуженных записей присвоения ИДУК
* Количество выгруженных записей присвоения ИД УК
*/
public void setRecordsLoad(Integer value) {
set(8, value);
@ -165,7 +165,7 @@ public class RecordsInfoIdUkIdErnRecord extends UpdatableRecordImpl<RecordsInfoI
/**
* Getter for
* <code>init_registration_info.records_info_id_uk_id_ern.records_load</code>.
* Количество выгуженных записей присвоения ИДУК
* Количество выгруженных записей присвоения ИД УК
*/
public Integer getRecordsLoad() {
return (Integer) get(8);

View file

@ -0,0 +1,214 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
<changeSet id="0001" author="saliakhov">
<comment>CREATE TABLE</comment>
<sql>
CREATE TABLE IF NOT EXISTS actualization.change_data_from_gir_vu_storage (
-- Первичный ключ (автоинкремент)
change_data_from_gir_vu_id_storage bigserial NOT NULL,
-- Идентификатор ВК (до 36 символов для UUID в формате строки)
recruitment_id varchar(36) NOT NULL,
-- Дата и время последнего обновления записи
update_date timestamp DEFAULT now() NOT NULL,
-- Дата, на которую собрана информация
info_date date NOT NULL,
-- Счётчики изменений по категориям (bigint для больших объёмов данных)
count_reg_address int8 DEFAULT 0 NOT NULL, -- Количество изменений адреса регистрации
count_place_of_stay int8 DEFAULT 0 NOT NULL, -- Количество изменений места пребывания
count_work int8 DEFAULT 0 NOT NULL, -- Количество изменений данных о работе
count_place_of_study int8 DEFAULT 0 NOT NULL, -- Количество изменений данных об учёбе
count_family_status int8 DEFAULT 0 NOT NULL, -- Количество изменений семейного положения
count_education int8 DEFAULT 0 NOT NULL, -- Количество изменений данных об образовании
count_renaming int8 DEFAULT 0 NOT NULL, -- Количество изменений ФИО
count_med_info int8 DEFAULT 0 NOT NULL, -- Количество изменений медицинской информации
count_other int8 DEFAULT 0 NOT NULL, -- Количество прочих изменений
-- Первичный ключ
CONSTRAINT change_data_from_gir_vu_pkey_storage PRIMARY KEY (change_data_from_gir_vu_id_storage),
-- Уникальный составной индекс для предотвращения дублирования
CONSTRAINT unique_recruitment_info_date UNIQUE (recruitment_id, info_date)
);
-- Создаём индексы для оптимизации запросов
-- Индекс 1: По дате информации (для выборки данных за период)
CREATE INDEX IF NOT EXISTS idx_change_data_from_gir_vu_date_storage
ON actualization.change_data_from_gir_vu_storage USING btree (info_date);
-- Индекс 2: По идентификатору ВК (для поиска по конкретному ВК
CREATE INDEX IF NOT EXISTS idx_change_data_from_gir_vu_recr_storage
ON actualization.change_data_from_gir_vu_storage USING btree (recruitment_id);
-- Индекс 3: Составной индекс по ВК и дате (для детальных запросов)
CREATE INDEX IF NOT EXISTS idx_change_data_from_gir_vu_recr_date_storage
ON actualization.change_data_from_gir_vu_storage USING btree (recruitment_id, info_date);
</sql>
</changeSet>
<changeSet id="0002" author="saliakhov">
<comment>CREATE VIEW</comment>
<sql>
DROP VIEW actualization.view_change_data_from_gir_vu;
CREATE OR REPLACE VIEW actualization.view_change_data_from_gir_vu AS
SELECT
COALESCE(s.recruitment_id, m.recruitment_id) as recruitment_id,
-- Суммарные значения счетчиков
COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) as count_reg_address,
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) as count_place_of_stay,
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) as count_work,
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) as count_place_of_study,
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) as count_family_status,
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) as count_education,
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) as count_renaming,
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) as count_med_info,
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0) as count_other,
-- Общее количество (основа для расчета процентов)
(COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0)) AS count_all,
-- Расчет процентов
COALESCE(round((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_reg_address,
COALESCE(round((COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_place_of_stay,
COALESCE(round((COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_work,
COALESCE(round((COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_place_of_study,
COALESCE(round((COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_family_status,
COALESCE(round((COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_education,
COALESCE(round((COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_renaming,
COALESCE(round((COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_med_info,
COALESCE(round((COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric * 100::numeric /
NULLIF((COALESCE(m.count_reg_address, 0) + COALESCE(s.count_reg_address, 0) +
COALESCE(m.count_place_of_stay, 0) + COALESCE(s.count_place_of_stay, 0) +
COALESCE(m.count_work, 0) + COALESCE(s.count_work, 0) +
COALESCE(m.count_place_of_study, 0) + COALESCE(s.count_place_of_study, 0) +
COALESCE(m.count_family_status, 0) + COALESCE(s.count_family_status, 0) +
COALESCE(m.count_education, 0) + COALESCE(s.count_education, 0) +
COALESCE(m.count_renaming, 0) + COALESCE(s.count_renaming, 0) +
COALESCE(m.count_med_info, 0) + COALESCE(s.count_med_info, 0) +
COALESCE(m.count_other, 0) + COALESCE(s.count_other, 0))::numeric, 0::numeric)), 0::numeric) AS percent_other
FROM actualization.change_data_from_gir_vu m
FULL OUTER JOIN (
SELECT DISTINCT ON (recruitment_id, info_date)
recruitment_id, info_date,
count_reg_address, count_place_of_stay, count_work, count_place_of_study,
count_family_status, count_education, count_renaming, count_med_info, count_other
FROM actualization.change_data_from_gir_vu_storage
ORDER BY recruitment_id, info_date, update_date DESC
) s ON m.recruitment_id = s.recruitment_id
</sql>
</changeSet>
<changeSet id="0003" author="saliakhov">
<comment>CREATE TABLE</comment>
<sql>
CREATE TABLE IF NOT EXISTS actualization.temp_recruitment_updates (
id BIGSERIAL PRIMARY KEY,
recruitment_id BIGINT NOT NULL,
time_created TIMESTAMP NOT NULL,
diff_text TEXT,
CONSTRAINT uq_recruitment_time UNIQUE (recruitment_id, time_created)
);
</sql>
</changeSet>
</databaseChangeLog>

View file

@ -42,4 +42,5 @@
<include file="20251111-create_tables_for_summons_list.xml" relativeToChangelogFile="true"/>
<include file="20251114-view.xml" relativeToChangelogFile="true"/>
<include file="20251119-db_changes.xml" relativeToChangelogFile="true"/>
<include file="20251126-db_changes.xml" relativeToChangelogFile="true"/>
</databaseChangeLog>

View file

@ -350,13 +350,6 @@
</properties>
</scripts>
</children>
<children id="ae63ba9d-f6eb-46f5-a0c5-c12c03a22e49">
<prototypeId>b310f98a-69c6-4e7b-8cdb-f1ab9f9c0d94</prototypeId>
<componentRootId>ae63ba9d-f6eb-46f5-a0c5-c12c03a22e49</componentRootId>
<name>Дата</name>
<container>false</container>
<removed>true</removed>
</children>
<children id="b20c696a-cf6b-4a1b-a05b-abdfdb4e5524">
<prototypeId>be0e38c3-01c2-4122-85dd-1b6e176f543d</prototypeId>
<componentRootId>b20c696a-cf6b-4a1b-a05b-abdfdb4e5524</componentRootId>
@ -2399,6 +2392,7 @@
<componentRootId>73edb92d-c817-499a-b50e-e04d4bde5f7b</componentRootId>
<name>ВК ГИР ВУ</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
<scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
@ -2410,6 +2404,7 @@
<componentRootId>9bc6be2e-cff9-48ca-8aab-280a3f290a23</componentRootId>
<name>ГК Первый ряд</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -2476,7 +2471,7 @@
<entry>
<key>graph</key>
<value>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":365.0,"y":202.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":595.0,"y":233.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"2":{"tableName":"recruitment","schemaName":"metrics","x":141.0,"y":258.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[{"column":{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"schema"},"operation":"EQUAL","typeCode":"CONST","values":["\"Ministry\""]}],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":365.0,"y":202.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":595.0,"y":233.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"recruitment","schemaName":"metrics","x":141.0,"y":258.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[{"column":{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"schema"},"operation":"EQUAL","typeCode":"CONST","values":["\"Ministry\""]}],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":141.0,"y":258.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[{"column":{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"schema"},"operation":"EQUAL","typeCode":"CONST","values":["\"Ministry\""]}],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":595.0,"y":233.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"change_data_from_gir_vu":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":365.0,"y":202.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,null,{"refOnEntityName":"change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}}],[{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"change_data_from_gir_vu","refToColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"change_data_from_gir_vu_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"change_data_from_gir_vu_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}},null,null],[null,null,null]],"mainNodeIndex":0}</simple>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"recruitment","schemaName":"metrics","x":141.0,"y":258.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[{"column":{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"schema"},"operation":"EQUAL","typeCode":"CONST","values":["\"Ministry\""]}],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":520.0,"y":228.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"recruitment","schemaName":"metrics","x":141.0,"y":258.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[{"column":{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"schema"},"operation":"EQUAL","typeCode":"CONST","values":["\"Ministry\""]}],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":520.0,"y":228.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":141.0,"y":258.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[{"column":{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"schema"},"operation":"EQUAL","typeCode":"CONST","values":["\"Ministry\""]}],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":520.0,"y":228.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,null],[{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}},null]],"mainNodeIndex":1}</simple>
</value>
</entry>
</complex>
@ -2594,7 +2589,7 @@
<entry>
<key>graph</key>
<value>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":323.0,"y":127.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":545.0,"y":211.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"2":{"tableName":"recruitment","schemaName":"metrics","x":104.0,"y":202.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":323.0,"y":127.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":545.0,"y":211.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"recruitment","schemaName":"metrics","x":104.0,"y":202.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":104.0,"y":202.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":545.0,"y":211.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"change_data_from_gir_vu":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":323.0,"y":127.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,null,{"refOnEntityName":"change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}}],[{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"change_data_from_gir_vu","refToColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"change_data_from_gir_vu_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"change_data_from_gir_vu_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}},null,null],[null,null,null]],"mainNodeIndex":0}</simple>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":545.0,"y":211.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"recruitment","schemaName":"metrics","x":104.0,"y":202.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":545.0,"y":211.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"recruitment","schemaName":"metrics","x":104.0,"y":202.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":104.0,"y":202.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":545.0,"y":211.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}}],[null,null]],"mainNodeIndex":0}</simple>
</value>
</entry>
</complex>
@ -2766,7 +2761,7 @@
<entry>
<key>graph</key>
<value>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":358.0,"y":164.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":579.0,"y":238.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"2":{"tableName":"recruitment","schemaName":"metrics","x":127.0,"y":228.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":358.0,"y":164.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":579.0,"y":238.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"recruitment","schemaName":"metrics","x":127.0,"y":228.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":127.0,"y":228.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":579.0,"y":238.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"change_data_from_gir_vu":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":358.0,"y":164.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,null,{"refOnEntityName":"change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}}],[{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"change_data_from_gir_vu","refToColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"change_data_from_gir_vu_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"change_data_from_gir_vu_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}},null,null],[null,null,null]],"mainNodeIndex":0}</simple>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":579.0,"y":238.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"recruitment","schemaName":"metrics","x":127.0,"y":228.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":579.0,"y":238.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"recruitment","schemaName":"metrics","x":127.0,"y":228.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":127.0,"y":228.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":579.0,"y":238.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}}],[null,null]],"mainNodeIndex":0}</simple>
</value>
</entry>
</complex>
@ -2813,7 +2808,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_reg_address"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_reg_address"}</simple>
</value>
</entry>
<entry>
@ -2835,6 +2830,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="521724b2-7cc5-4163-b556-fb9b4c2158f4" removed="false">
@ -2843,7 +2839,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_place_of_stay"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_place_of_stay"}</simple>
</value>
</entry>
<entry>
@ -2865,6 +2861,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="006d1ae2-cb89-4c3a-8e21-eb4ad72bc1db" removed="false">
@ -2873,7 +2870,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_work"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_work"}</simple>
</value>
</entry>
<entry>
@ -2895,6 +2892,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="b38aaeb5-04f1-4d85-bbe0-0ee9474249a5" removed="false">
@ -2903,7 +2901,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_place_of_study"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_place_of_study"}</simple>
</value>
</entry>
<entry>
@ -2925,6 +2923,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="258b449b-763f-46c4-8e33-ad90a31aba03" removed="false">
@ -2933,7 +2932,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_family_status"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_family_status"}</simple>
</value>
</entry>
<entry>
@ -2955,6 +2954,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="b8c4fb5a-51cb-4831-9a5e-633be2963b4c" removed="false">
@ -2963,7 +2963,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_education"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_education"}</simple>
</value>
</entry>
<entry>
@ -2985,6 +2985,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="830d5af5-2181-43ea-8d9e-52772ba4992d" removed="false">
@ -2993,7 +2994,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_renaming"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_renaming"}</simple>
</value>
</entry>
<entry>
@ -3015,6 +3016,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="2a36a7f3-cb9c-41a9-95fc-50d824150b3e" removed="false">
@ -3023,7 +3025,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_med_info"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_med_info"}</simple>
</value>
</entry>
<entry>
@ -3045,6 +3047,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="1bd1fb77-3e02-4f2c-a364-3fa7e469fbb2" removed="false">
@ -3053,7 +3056,7 @@
<entry>
<key>aggregationColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_other"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_other"}</simple>
</value>
</entry>
<entry>
@ -3075,6 +3078,7 @@
</value>
</entry>
</complex>
<expanded>false</expanded>
</value>
</item>
<item id="e6de8d68-f1d8-4829-a62e-67f42c24f280" removed="true"/>
@ -3111,7 +3115,7 @@
<entry>
<key>graph</key>
<value>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"recruitment","schemaName":"metrics","x":181.0,"y":198.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":453.0,"y":162.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"recruitment","schemaName":"metrics","x":181.0,"y":198.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":453.0,"y":162.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":181.0,"y":198.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"change_data_from_gir_vu":{"tableName":"change_data_from_gir_vu","schemaName":"actualization","x":453.0,"y":162.0,"alias":"change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,null],[{"refOnEntityName":"change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}},null]],"mainNodeIndex":1}</simple>
<simple>{"conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"nodeByIndex":{"0":{"tableName":"recruitment","schemaName":"metrics","x":181.0,"y":198.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"1":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":486.0,"y":207.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"nodes":[{"tableName":"recruitment","schemaName":"metrics","x":181.0,"y":198.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":486.0,"y":207.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}],"nodeByEntityName":{"recruitment":{"tableName":"recruitment","schemaName":"metrics","x":181.0,"y":198.0,"alias":"recruitment","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"},"view_change_data_from_gir_vu":{"tableName":"view_change_data_from_gir_vu","schemaName":"actualization","x":486.0,"y":207.0,"alias":"view_change_data_from_gir_vu","conditionGroup":{"operator":"AND","conditions":[],"groups":[]},"emptyEntityAction":"IGNORE_OR_DELETE"}},"matrix":[[null,null],[{"refOnEntityName":"view_change_data_from_gir_vu","refToEntityName":"recruitment","refToColumns":[{"schema":"metrics","table":"recruitment","entity":"recruitment","name":"idm_id"}],"refOnColumns":[{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"recruitment_id"}],"required":false,"cyclic":false,"conditionGroup":{"operator":"AND","conditions":[],"groups":[]}},null]],"mainNodeIndex":1}</simple>
</value>
</entry>
</complex>
@ -4373,7 +4377,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_reg_address"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_reg_address"}</simple>
</value>
</entry>
<entry>
@ -4395,7 +4399,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_reg_address"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_reg_address"}</simple>
</value>
</entry>
</properties>
@ -4445,7 +4449,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_place_of_stay"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_place_of_stay"}</simple>
</value>
</entry>
<entry>
@ -4467,7 +4471,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_place_of_stay"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_place_of_stay"}</simple>
</value>
</entry>
</properties>
@ -4517,7 +4521,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_work"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_work"}</simple>
</value>
</entry>
<entry>
@ -4539,7 +4543,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_work"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_work"}</simple>
</value>
</entry>
</properties>
@ -4589,7 +4593,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_place_of_study"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_place_of_study"}</simple>
</value>
</entry>
<entry>
@ -4611,7 +4615,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_place_of_study"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_place_of_study"}</simple>
</value>
</entry>
</properties>
@ -4661,7 +4665,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_family_status"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_family_status"}</simple>
</value>
</entry>
<entry>
@ -4683,7 +4687,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_family_status"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_family_status"}</simple>
</value>
</entry>
</properties>
@ -4733,7 +4737,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_education"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_education"}</simple>
</value>
</entry>
<entry>
@ -4755,7 +4759,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_education"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_education"}</simple>
</value>
</entry>
</properties>
@ -4805,7 +4809,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_renaming"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_renaming"}</simple>
</value>
</entry>
<entry>
@ -4827,7 +4831,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_renaming"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_renaming"}</simple>
</value>
</entry>
</properties>
@ -4877,7 +4881,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_med_info"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_med_info"}</simple>
</value>
</entry>
<entry>
@ -4899,7 +4903,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_med_info"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_med_info"}</simple>
</value>
</entry>
</properties>
@ -4949,7 +4953,7 @@
<entry>
<key>defaultValueColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_other"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_other"}</simple>
</value>
</entry>
<entry>
@ -4971,7 +4975,7 @@
<entry>
<key>valueByEventColumn</key>
<value>
<simple>{"schema":"actualization","table":"change_data_from_gir_vu","entity":"change_data_from_gir_vu","name":"count_other"}</simple>
<simple>{"schema":"actualization","table":"view_change_data_from_gir_vu","entity":"view_change_data_from_gir_vu","name":"count_other"}</simple>
</value>
</entry>
</properties>
@ -5400,6 +5404,7 @@
<componentRootId>ef3f9692-ae92-4772-91d3-7f177f5e691a</componentRootId>
<name>ВК уникальных записей граждан</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -5781,6 +5786,7 @@
<componentRootId>a256c8f1-1935-4a49-8058-5513e08191c0</componentRootId>
<name>ГК Второй ряд</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -5805,6 +5811,7 @@
<componentRootId>8683ae87-160d-4004-8fa9-b8af17e17062</componentRootId>
<name>ВК Отправка уведомлений в ЛК гражданина на ЕПГУ</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -9386,6 +9393,7 @@
<componentRootId>43f837aa-1141-4bd6-b4d4-ef62295bd2ba</componentRootId>
<name>ВК ЕПГУ</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
<scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
@ -9397,6 +9405,7 @@
<componentRootId>d17e6df1-babb-4dbb-9b29-0400277e0776</componentRootId>
<name>ГК Первый ряд</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -14876,6 +14885,7 @@
<componentRootId>cf105548-2385-49cb-8951-faab404492d7</componentRootId>
<name>ГК Второй ряд</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -19690,7 +19700,6 @@
<componentRootId>683da71b-655f-45c5-b5fe-da914b814cc2</componentRootId>
<name>ВК Личное посещение ВК</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
<scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
@ -19726,6 +19735,7 @@
<componentRootId>08c9fc47-4f2e-428e-adf8-eb30f0d8b91d</componentRootId>
<name>ВК записей граждан отредактировано</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>
@ -20483,7 +20493,7 @@
<entry>
<key>initialValue</key>
<value>
<simple>"сведений ЕРВУ и ручному вводу"</simple>
<simple>"Инцидентов по несоответствию сведений ЕРВУ и ручному вводу"</simple>
</value>
</entry>
<entry>
@ -20573,6 +20583,7 @@
<componentRootId>954e28b2-f85c-4d45-ad64-60dfbd78d6cf</componentRootId>
<name>ВК Отправка уведомлений в ЛК гражданина на ЕПГУ</name>
<container>true</container>
<expanded>false</expanded>
<childrenReordered>false</childrenReordered>
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
<properties>