From 331ef0ff923ce84a3457664fea5887eefd334c2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=85=D0=BC=D0=B5=D1=82=D1=88=D0=B8=D0=BD=20=D0=98?= =?UTF-8?q?=D0=BB=D1=8C=D1=81=D1=83=D1=80?= Date: Tue, 11 Nov 2025 16:44:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D1=8B=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8=D1=86=D1=8B=20=D0=91?= =?UTF-8?q?=D0=94=20=D0=B2=20=D0=B1=D0=BB=D0=BE=D0=BA=D0=B5=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D1=80=20=D0=BF=D0=BE=D0=B2=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../db_beans/DefaultCatalog.java | 7 + .../tables/ViewGeneratedSolutions.java | 4 +- .../idm_reconcile/tables/AccountRole.java | 5 +- .../tables/records/AccountRoleRecord.java | 6 +- .../db_beans/summonses_list/Keys.java | 20 +- .../db_beans/summonses_list/Sequences.java | 29 ++ .../summonses_list/SummonsesList.java | 37 ++ .../db_beans/summonses_list/Tables.java | 24 ++ .../tables/FormedSummonses.java | 56 --- .../tables/ImpositionTmpMeasures.java | 56 --- .../tables/ImpositionTmpMeasuresStorage.java | 275 +++++++++++++ .../tables/InfoSentToLkEpgu.java | 56 --- .../tables/InfoSentToLkEpguStorage.java | 365 ++++++++++++++++++ .../tables/RecruitOfficeVisit.java | 56 --- .../tables/RemoveTmpMeasures.java | 56 --- .../tables/RemoveTmpMeasuresStorage.java | 335 ++++++++++++++++ .../summonses_list/tables/RfLeavingBan.java | 56 --- .../tables/RfLeavingBanStorage.java | 272 +++++++++++++ .../tables/SummonsesReason.java | 84 +--- .../tables/ViewImpositionTmpMeasures.java | 41 +- .../tables/ViewInfoSentToLkEpgu.java | 113 +++++- .../tables/ViewRemoveTmpMeasures.java | 51 ++- .../tables/ViewRfLeavingBan.java | 39 +- .../ImpositionTmpMeasuresStorageRecord.java | 188 +++++++++ .../InfoSentToLkEpguStorageRecord.java | 290 ++++++++++++++ .../RemoveTmpMeasuresStorageRecord.java | 205 ++++++++++ .../records/RfLeavingBanStorageRecord.java | 186 +++++++++ .../ViewImpositionTmpMeasuresRecord.java | 65 +++- .../records/ViewInfoSentToLkEpguRecord.java | 239 +++++++++--- .../records/ViewRemoveTmpMeasuresRecord.java | 86 ++++- .../records/ViewRfLeavingBanRecord.java | 61 ++- .../register_subpoenas.page | 79 ++-- 32 files changed, 2878 insertions(+), 564 deletions(-) create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Sequences.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasuresStorage.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpguStorage.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasuresStorage.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBanStorage.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ImpositionTmpMeasuresStorageRecord.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/InfoSentToLkEpguStorageRecord.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RemoveTmpMeasuresStorageRecord.java create mode 100644 backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RfLeavingBanStorageRecord.java diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/DefaultCatalog.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/DefaultCatalog.java index 51f5497..a04d286 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/DefaultCatalog.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/DefaultCatalog.java @@ -15,6 +15,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.Actualizati import ru.micord.webbpm.ervu.business_metrics.db_beans.admin_indicators.AdminIndicators; import ru.micord.webbpm.ervu.business_metrics.db_beans.auth.Auth; import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Deregistration; +import ru.micord.webbpm.ervu.business_metrics.db_beans.ervu_business_metrics.ErvuBusinessMetrics; import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile; import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.InitRegistrationInfo; import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.JournalLog; @@ -58,6 +59,11 @@ public class DefaultCatalog extends CatalogImpl { */ public final Deregistration DEREGISTRATION = Deregistration.DEREGISTRATION; + /** + * The schema ervu_business_metrics. + */ + public final ErvuBusinessMetrics ERVU_BUSINESS_METRICS = ErvuBusinessMetrics.ERVU_BUSINESS_METRICS; + /** * The schema idm_reconcile. */ @@ -112,6 +118,7 @@ public class DefaultCatalog extends CatalogImpl { AdminIndicators.ADMIN_INDICATORS, Auth.AUTH, Deregistration.DEREGISTRATION, + ErvuBusinessMetrics.ERVU_BUSINESS_METRICS, IdmReconcile.IDM_RECONCILE, InitRegistrationInfo.INIT_REGISTRATION_INFO, JournalLog.JOURNAL_LOG, diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/deregistration/tables/ViewGeneratedSolutions.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/deregistration/tables/ViewGeneratedSolutions.java index 146b337..bc1886b 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/deregistration/tables/ViewGeneratedSolutions.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/deregistration/tables/ViewGeneratedSolutions.java @@ -81,8 +81,8 @@ public class ViewGeneratedSolutions extends TableImpl { public final TableField ROLE_ID = createField(DSL.name("role_id"), SQLDataType.VARCHAR(36).nullable(false), this, "Уникальный идентификатор роли"); /** - * The column idm_reconcile.account_role.finish. + * The column idm_reconcile.account_role.finish. Время + * окончания роли для аккаунта */ - public final TableField FINISH = createField(DSL.name("finish"), SQLDataType.BIGINT.nullable(false), this, ""); + public final TableField FINISH = createField(DSL.name("finish"), SQLDataType.BIGINT.nullable(false), this, "Время окончания роли для аккаунта"); private AccountRole(Name alias, Table aliased) { this(alias, aliased, (Field[]) null, null); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java index 39ae4d9..6bab6c9 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/idm_reconcile/tables/records/AccountRoleRecord.java @@ -51,14 +51,16 @@ public class AccountRoleRecord extends UpdatableRecordImpl { } /** - * Setter for idm_reconcile.account_role.finish. + * Setter for idm_reconcile.account_role.finish. Время + * окончания роли для аккаунта */ public void setFinish(Long value) { set(2, value); } /** - * Getter for idm_reconcile.account_role.finish. + * Getter for idm_reconcile.account_role.finish. Время + * окончания роли для аккаунта */ public Long getFinish() { return (Long) get(2); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Keys.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Keys.java index b96773c..3336014 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Keys.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Keys.java @@ -14,20 +14,28 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.All import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasuresStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpguStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasuresStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBan; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBanStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SupportLk; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.AllSummonsesRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.DownloadForPrintRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.FormedSummonsesRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ImpositionTmpMeasuresRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ImpositionTmpMeasuresStorageRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.InfoSentToLkEpguRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.InfoSentToLkEpguStorageRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RecruitOfficeVisitRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RemoveTmpMeasuresRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RemoveTmpMeasuresStorageRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RfLeavingBanRecord; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RfLeavingBanStorageRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.SummonsesReasonRecord; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.SupportLkRecord; @@ -47,10 +55,14 @@ public class Keys { public static final UniqueKey DOWNLOAD_FOR_PRINT_PKEY = Internal.createUniqueKey(DownloadForPrint.DOWNLOAD_FOR_PRINT, DSL.name("download_for_print_pkey"), new TableField[] { DownloadForPrint.DOWNLOAD_FOR_PRINT.DOWNLOAD_FOR_PRINT_ID }, true); public static final UniqueKey FORMED_SUMMONSES_PKEY = Internal.createUniqueKey(FormedSummonses.FORMED_SUMMONSES, DSL.name("formed_summonses_pkey"), new TableField[] { FormedSummonses.FORMED_SUMMONSES.FORMED_SUMMONSES_ID }, true); public static final UniqueKey IMPOSITION_TMP_MEASURES_PKEY = Internal.createUniqueKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("imposition_tmp_measures_pkey"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.IMPOSITION_TMP_MEASURES_ID }, true); + public static final UniqueKey IMPOSITION_TMP_MEASURES_STORAGE_PKEY = Internal.createUniqueKey(ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE, DSL.name("imposition_tmp_measures_storage_pkey"), new TableField[] { ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE.IMPOSITION_TMP_MEASURES_STORAGE_ID }, true); public static final UniqueKey INFO_SENT_TO_LK_EPGU_PKEY = Internal.createUniqueKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("info_sent_to_lk_epgu_pkey"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.INFO_SENT_TO_LK_EPGU_ID }, true); + public static final UniqueKey INFO_SENT_TO_LK_EPGU_STORAGE_PKEY = Internal.createUniqueKey(InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE, DSL.name("info_sent_to_lk_epgu_storage_pkey"), new TableField[] { InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE.INFO_SENT_TO_LK_EPGU_STORAGE_ID }, true); public static final UniqueKey RECRUIT_OFFICE_VISIT_PKEY = Internal.createUniqueKey(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT, DSL.name("recruit_office_visit_pkey"), new TableField[] { RecruitOfficeVisit.RECRUIT_OFFICE_VISIT.RECRUIT_OFFICE_VISIT_ID }, true); public static final UniqueKey REMOVE_TMP_MEASURES_PKEY = Internal.createUniqueKey(RemoveTmpMeasures.REMOVE_TMP_MEASURES, DSL.name("remove_tmp_measures_pkey"), new TableField[] { RemoveTmpMeasures.REMOVE_TMP_MEASURES.REMOVE_TMP_MEASURES_ID }, true); + public static final UniqueKey REMOVE_TMP_MEASURES_STORAGE_PKEY = Internal.createUniqueKey(RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE, DSL.name("remove_tmp_measures_storage_pkey"), new TableField[] { RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE.REMOVE_TMP_MEASURES_STORAGE_ID }, true); public static final UniqueKey RF_LEAVING_BAN_PKEY = Internal.createUniqueKey(RfLeavingBan.RF_LEAVING_BAN, DSL.name("rf_leaving_ban_pkey"), new TableField[] { RfLeavingBan.RF_LEAVING_BAN.RF_LEAVING_BAN_ID }, true); + public static final UniqueKey RF_LEAVING_BAN_STORAGE_PKEY = Internal.createUniqueKey(RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE, DSL.name("rf_leaving_ban_storage_pkey"), new TableField[] { RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE.RF_LEAVING_BAN_STORAGE_ID }, true); public static final UniqueKey SUMMONSES_REASON_PKEY = Internal.createUniqueKey(SummonsesReason.SUMMONSES_REASON, DSL.name("summonses_reason_pkey"), new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); public static final UniqueKey UNI_SUMMONSES_REASON1 = Internal.createUniqueKey(SummonsesReason.SUMMONSES_REASON, DSL.name("uni_summonses_reason1"), new TableField[] { SummonsesReason.SUMMONSES_REASON.CODE }, true); public static final UniqueKey SUPPORT_LK_PKEY = Internal.createUniqueKey(SupportLk.SUPPORT_LK, DSL.name("support_lk_pkey"), new TableField[] { SupportLk.SUPPORT_LK.SUPPORT_LK_ID }, true); @@ -60,11 +72,7 @@ public class Keys { // ------------------------------------------------------------------------- public static final ForeignKey DOWNLOAD_FOR_PRINT__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(DownloadForPrint.DOWNLOAD_FOR_PRINT, DSL.name("fk_summonses_reason_id"), new TableField[] { DownloadForPrint.DOWNLOAD_FOR_PRINT.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); - public static final ForeignKey FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(FormedSummonses.FORMED_SUMMONSES, DSL.name("fk_summonses_reason_id"), new TableField[] { FormedSummonses.FORMED_SUMMONSES.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); - public static final ForeignKey IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, DSL.name("fk_summonses_reason_id"), new TableField[] { ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); - public static final ForeignKey INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("fk_summonses_reason_id"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); - public static final ForeignKey RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(RecruitOfficeVisit.RECRUIT_OFFICE_VISIT, DSL.name("fk_summonses_reason_id"), new TableField[] { RecruitOfficeVisit.RECRUIT_OFFICE_VISIT.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); - public static final ForeignKey REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(RemoveTmpMeasures.REMOVE_TMP_MEASURES, DSL.name("fk_summonses_reason_id"), new TableField[] { RemoveTmpMeasures.REMOVE_TMP_MEASURES.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); - public static final ForeignKey RF_LEAVING_BAN__FK_SUMMONSES_REASON_ID = Internal.createForeignKey(RfLeavingBan.RF_LEAVING_BAN, DSL.name("fk_summonses_reason_id"), new TableField[] { RfLeavingBan.RF_LEAVING_BAN.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); + public static final ForeignKey INFO_SENT_TO_LK_EPGU_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE = Internal.createForeignKey(InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE, DSL.name("fk_summonses_reason_id_storage"), new TableField[] { InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); + public static final ForeignKey REMOVE_TMP_MEASURES_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE = Internal.createForeignKey(RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE, DSL.name("fk_summonses_reason_id_storage"), new TableField[] { RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE.SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); public static final ForeignKey SUMMONSES_REASON__FK_PARENT_SUMMONSES_REASON_ID = Internal.createForeignKey(SummonsesReason.SUMMONSES_REASON, DSL.name("fk_parent_summonses_reason_id"), new TableField[] { SummonsesReason.SUMMONSES_REASON.PARENT_SUMMONSES_REASON_ID }, Keys.SUMMONSES_REASON_PKEY, new TableField[] { SummonsesReason.SUMMONSES_REASON.SUMMONSES_REASON_ID }, true); } diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Sequences.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Sequences.java new file mode 100644 index 0000000..6e398d5 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Sequences.java @@ -0,0 +1,29 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list; + + +import org.jooq.Sequence; +import org.jooq.impl.Internal; +import org.jooq.impl.SQLDataType; + + +/** + * Convenience access to all sequences in summonses_list. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class Sequences { + + /** + * The sequence + * summonses_list.imposition_tmp_measures_stora_imposition_tmp_measures_stora_seq + */ + public static final Sequence IMPOSITION_TMP_MEASURES_STORA_IMPOSITION_TMP_MEASURES_STORA_SEQ = Internal.createSequence("imposition_tmp_measures_stora_imposition_tmp_measures_stora_seq", SummonsesList.SUMMONSES_LIST, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null); + + /** + * The sequence + * summonses_list.info_sent_to_lk_epgu_storage_info_sent_to_lk_epgu_storage_i_seq + */ + public static final Sequence INFO_SENT_TO_LK_EPGU_STORAGE_INFO_SENT_TO_LK_EPGU_STORAGE_I_SEQ = Internal.createSequence("info_sent_to_lk_epgu_storage_info_sent_to_lk_epgu_storage_i_seq", SummonsesList.SUMMONSES_LIST, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null); +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/SummonsesList.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/SummonsesList.java index 3a89e11..fe2f012 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/SummonsesList.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/SummonsesList.java @@ -8,6 +8,7 @@ import java.util.Arrays; import java.util.List; import org.jooq.Catalog; +import org.jooq.Sequence; import org.jooq.Table; import org.jooq.impl.SchemaImpl; @@ -16,10 +17,14 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.All import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasuresStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpguStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasuresStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBan; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBanStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SupportLk; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewAllSummonses; @@ -64,11 +69,21 @@ public class SummonsesList extends SchemaImpl { */ public final ImpositionTmpMeasures IMPOSITION_TMP_MEASURES = ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES; + /** + * The table summonses_list.imposition_tmp_measures_storage. + */ + public final ImpositionTmpMeasuresStorage IMPOSITION_TMP_MEASURES_STORAGE = ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE; + /** * Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ */ public final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU; + /** + * The table summonses_list.info_sent_to_lk_epgu_storage. + */ + public final InfoSentToLkEpguStorage INFO_SENT_TO_LK_EPGU_STORAGE = InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE; + /** * Реестр повесток. Явка в военный комиссариат */ @@ -79,12 +94,22 @@ public class SummonsesList extends SchemaImpl { */ public final RemoveTmpMeasures REMOVE_TMP_MEASURES = RemoveTmpMeasures.REMOVE_TMP_MEASURES; + /** + * The table summonses_list.remove_tmp_measures_storage. + */ + public final RemoveTmpMeasuresStorage REMOVE_TMP_MEASURES_STORAGE = RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE; + /** * Реестр повесток. Решение о применении временной меры - запрет на выезд из * РФ */ public final RfLeavingBan RF_LEAVING_BAN = RfLeavingBan.RF_LEAVING_BAN; + /** + * The table summonses_list.rf_leaving_ban_storage. + */ + public final RfLeavingBanStorage RF_LEAVING_BAN_STORAGE = RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE; + /** * Реестр повесток. Причины выдачи повестки */ @@ -143,6 +168,14 @@ public class SummonsesList extends SchemaImpl { return DefaultCatalog.DEFAULT_CATALOG; } + @Override + public final List> getSequences() { + return Arrays.asList( + Sequences.IMPOSITION_TMP_MEASURES_STORA_IMPOSITION_TMP_MEASURES_STORA_SEQ, + Sequences.INFO_SENT_TO_LK_EPGU_STORAGE_INFO_SENT_TO_LK_EPGU_STORAGE_I_SEQ + ); + } + @Override public final List> getTables() { return Arrays.asList( @@ -150,10 +183,14 @@ public class SummonsesList extends SchemaImpl { DownloadForPrint.DOWNLOAD_FOR_PRINT, FormedSummonses.FORMED_SUMMONSES, ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES, + ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE, InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, + InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE, RecruitOfficeVisit.RECRUIT_OFFICE_VISIT, RemoveTmpMeasures.REMOVE_TMP_MEASURES, + RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE, RfLeavingBan.RF_LEAVING_BAN, + RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE, SummonsesReason.SUMMONSES_REASON, SupportLk.SUPPORT_LK, ViewAllSummonses.VIEW_ALL_SUMMONSES, diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Tables.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Tables.java index d96e2d3..e5b177a 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Tables.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/Tables.java @@ -8,10 +8,14 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.All import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasuresStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpguStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasuresStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBan; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBanStorage; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SupportLk; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewAllSummonses; @@ -49,11 +53,21 @@ public class Tables { */ public static final ImpositionTmpMeasures IMPOSITION_TMP_MEASURES = ImpositionTmpMeasures.IMPOSITION_TMP_MEASURES; + /** + * The table summonses_list.imposition_tmp_measures_storage. + */ + public static final ImpositionTmpMeasuresStorage IMPOSITION_TMP_MEASURES_STORAGE = ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE; + /** * Реестр повесток. Отправка уведомлений в ЛК на ЕПГУ */ public static final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU; + /** + * The table summonses_list.info_sent_to_lk_epgu_storage. + */ + public static final InfoSentToLkEpguStorage INFO_SENT_TO_LK_EPGU_STORAGE = InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE; + /** * Реестр повесток. Явка в военный комиссариат */ @@ -64,12 +78,22 @@ public class Tables { */ public static final RemoveTmpMeasures REMOVE_TMP_MEASURES = RemoveTmpMeasures.REMOVE_TMP_MEASURES; + /** + * The table summonses_list.remove_tmp_measures_storage. + */ + public static final RemoveTmpMeasuresStorage REMOVE_TMP_MEASURES_STORAGE = RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE; + /** * Реестр повесток. Решение о применении временной меры - запрет на выезд из * РФ */ public static final RfLeavingBan RF_LEAVING_BAN = RfLeavingBan.RF_LEAVING_BAN; + /** + * The table summonses_list.rf_leaving_ban_storage. + */ + public static final RfLeavingBanStorage RF_LEAVING_BAN_STORAGE = RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE; + /** * Реестр повесток. Причины выдачи повестки */ diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/FormedSummonses.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/FormedSummonses.java index 5ea497b..a990579 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/FormedSummonses.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/FormedSummonses.java @@ -6,20 +6,14 @@ package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; import org.jooq.Identity; -import org.jooq.InverseForeignKey; import org.jooq.Name; -import org.jooq.Path; import org.jooq.PlainSQL; import org.jooq.QueryPart; -import org.jooq.Record; import org.jooq.SQL; import org.jooq.Schema; import org.jooq.Select; @@ -34,7 +28,6 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.FormedSummonsesRecord; @@ -162,37 +155,6 @@ public class FormedSummonses extends TableImpl { this(DSL.name("formed_summonses"), null); } - public FormedSummonses(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, FORMED_SUMMONSES); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class FormedSummonsesPath extends FormedSummonses implements Path { - public FormedSummonsesPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private FormedSummonsesPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public FormedSummonsesPath as(String alias) { - return new FormedSummonsesPath(DSL.name(alias), this); - } - - @Override - public FormedSummonsesPath as(Name alias) { - return new FormedSummonsesPath(alias, this); - } - - @Override - public FormedSummonsesPath as(Table alias) { - return new FormedSummonsesPath(alias.getQualifiedName(), this); - } - } - @Override public Schema getSchema() { return aliased() ? null : SummonsesList.SUMMONSES_LIST; @@ -208,24 +170,6 @@ public class FormedSummonses extends TableImpl { return Keys.FORMED_SUMMONSES_PKEY; } - @Override - public List> getReferences() { - return Arrays.asList(Keys.FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID); - } - - private transient SummonsesReasonPath _summonsesReason; - - /** - * Get the implicit join path to the - * summonses_list.summonses_reason table. - */ - public SummonsesReasonPath summonsesReason() { - if (_summonsesReason == null) - _summonsesReason = new SummonsesReasonPath(this, Keys.FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID, null); - - return _summonsesReason; - } - @Override public FormedSummonses as(String alias) { return new FormedSummonses(DSL.name(alias), this); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasures.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasures.java index 3a82b2b..3ead068 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasures.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasures.java @@ -6,20 +6,14 @@ package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; import org.jooq.Identity; -import org.jooq.InverseForeignKey; import org.jooq.Name; -import org.jooq.Path; import org.jooq.PlainSQL; import org.jooq.QueryPart; -import org.jooq.Record; import org.jooq.SQL; import org.jooq.Schema; import org.jooq.Select; @@ -34,7 +28,6 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ImpositionTmpMeasuresRecord; @@ -142,37 +135,6 @@ public class ImpositionTmpMeasures extends TableImpl ImpositionTmpMeasures(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, IMPOSITION_TMP_MEASURES); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class ImpositionTmpMeasuresPath extends ImpositionTmpMeasures implements Path { - public ImpositionTmpMeasuresPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private ImpositionTmpMeasuresPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public ImpositionTmpMeasuresPath as(String alias) { - return new ImpositionTmpMeasuresPath(DSL.name(alias), this); - } - - @Override - public ImpositionTmpMeasuresPath as(Name alias) { - return new ImpositionTmpMeasuresPath(alias, this); - } - - @Override - public ImpositionTmpMeasuresPath as(Table alias) { - return new ImpositionTmpMeasuresPath(alias.getQualifiedName(), this); - } - } - @Override public Schema getSchema() { return aliased() ? null : SummonsesList.SUMMONSES_LIST; @@ -188,24 +150,6 @@ public class ImpositionTmpMeasures extends TableImpl> getReferences() { - return Arrays.asList(Keys.IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID); - } - - private transient SummonsesReasonPath _summonsesReason; - - /** - * Get the implicit join path to the - * summonses_list.summonses_reason table. - */ - public SummonsesReasonPath summonsesReason() { - if (_summonsesReason == null) - _summonsesReason = new SummonsesReasonPath(this, Keys.IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID, null); - - return _summonsesReason; - } - @Override public ImpositionTmpMeasures as(String alias) { return new ImpositionTmpMeasures(DSL.name(alias), this); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasuresStorage.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasuresStorage.java new file mode 100644 index 0000000..8765de0 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ImpositionTmpMeasuresStorage.java @@ -0,0 +1,275 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables; + + +import java.sql.Date; +import java.sql.Timestamp; +import java.util.Collection; + +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.summonses_list.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.ImpositionTmpMeasuresStorageRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ImpositionTmpMeasuresStorage extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of + * summonses_list.imposition_tmp_measures_storage + */ + public static final ImpositionTmpMeasuresStorage IMPOSITION_TMP_MEASURES_STORAGE = new ImpositionTmpMeasuresStorage(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return ImpositionTmpMeasuresStorageRecord.class; + } + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.imposition_tmp_measures_storage_id. + */ + public final TableField IMPOSITION_TMP_MEASURES_STORAGE_ID = createField(DSL.name("imposition_tmp_measures_storage_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.recruitment_id. + */ + public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.update_date. + */ + public final TableField UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.info_date. + */ + public final TableField INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.summonses_reason_id. + */ + public final TableField SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.count_for_sign. + */ + public final TableField COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.count_apply. + */ + public final TableField COUNT_APPLY = createField(DSL.name("count_apply"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.imposition_tmp_measures_storage.count_enter. + */ + public final TableField COUNT_ENTER = createField(DSL.name("count_enter"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + private ImpositionTmpMeasuresStorage(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private ImpositionTmpMeasuresStorage(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased + * summonses_list.imposition_tmp_measures_storage table + * reference + */ + public ImpositionTmpMeasuresStorage(String alias) { + this(DSL.name(alias), IMPOSITION_TMP_MEASURES_STORAGE); + } + + /** + * Create an aliased + * summonses_list.imposition_tmp_measures_storage table + * reference + */ + public ImpositionTmpMeasuresStorage(Name alias) { + this(alias, IMPOSITION_TMP_MEASURES_STORAGE); + } + + /** + * Create a summonses_list.imposition_tmp_measures_storage + * table reference + */ + public ImpositionTmpMeasuresStorage() { + this(DSL.name("imposition_tmp_measures_storage"), null); + } + + @Override + public Schema getSchema() { + return aliased() ? null : SummonsesList.SUMMONSES_LIST; + } + + @Override + public Identity getIdentity() { + return (Identity) super.getIdentity(); + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.IMPOSITION_TMP_MEASURES_STORAGE_PKEY; + } + + @Override + public ImpositionTmpMeasuresStorage as(String alias) { + return new ImpositionTmpMeasuresStorage(DSL.name(alias), this); + } + + @Override + public ImpositionTmpMeasuresStorage as(Name alias) { + return new ImpositionTmpMeasuresStorage(alias, this); + } + + @Override + public ImpositionTmpMeasuresStorage as(Table alias) { + return new ImpositionTmpMeasuresStorage(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public ImpositionTmpMeasuresStorage rename(String name) { + return new ImpositionTmpMeasuresStorage(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public ImpositionTmpMeasuresStorage rename(Name name) { + return new ImpositionTmpMeasuresStorage(name, null); + } + + /** + * Rename this table + */ + @Override + public ImpositionTmpMeasuresStorage rename(Table name) { + return new ImpositionTmpMeasuresStorage(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public ImpositionTmpMeasuresStorage where(Condition condition) { + return new ImpositionTmpMeasuresStorage(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public ImpositionTmpMeasuresStorage where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public ImpositionTmpMeasuresStorage where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public ImpositionTmpMeasuresStorage where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public ImpositionTmpMeasuresStorage where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public ImpositionTmpMeasuresStorage where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public ImpositionTmpMeasuresStorage where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public ImpositionTmpMeasuresStorage where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public ImpositionTmpMeasuresStorage whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public ImpositionTmpMeasuresStorage whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpgu.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpgu.java index c143afa..1733aac 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpgu.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpgu.java @@ -6,20 +6,14 @@ package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; import org.jooq.Identity; -import org.jooq.InverseForeignKey; import org.jooq.Name; -import org.jooq.Path; import org.jooq.PlainSQL; import org.jooq.QueryPart; -import org.jooq.Record; import org.jooq.SQL; import org.jooq.Schema; import org.jooq.Select; @@ -34,7 +28,6 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.InfoSentToLkEpguRecord; @@ -172,37 +165,6 @@ public class InfoSentToLkEpgu extends TableImpl { this(DSL.name("info_sent_to_lk_epgu"), null); } - public InfoSentToLkEpgu(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, INFO_SENT_TO_LK_EPGU); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class InfoSentToLkEpguPath extends InfoSentToLkEpgu implements Path { - public InfoSentToLkEpguPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private InfoSentToLkEpguPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public InfoSentToLkEpguPath as(String alias) { - return new InfoSentToLkEpguPath(DSL.name(alias), this); - } - - @Override - public InfoSentToLkEpguPath as(Name alias) { - return new InfoSentToLkEpguPath(alias, this); - } - - @Override - public InfoSentToLkEpguPath as(Table alias) { - return new InfoSentToLkEpguPath(alias.getQualifiedName(), this); - } - } - @Override public Schema getSchema() { return aliased() ? null : SummonsesList.SUMMONSES_LIST; @@ -218,24 +180,6 @@ public class InfoSentToLkEpgu extends TableImpl { return Keys.INFO_SENT_TO_LK_EPGU_PKEY; } - @Override - public List> getReferences() { - return Arrays.asList(Keys.INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID); - } - - private transient SummonsesReasonPath _summonsesReason; - - /** - * Get the implicit join path to the - * summonses_list.summonses_reason table. - */ - public SummonsesReasonPath summonsesReason() { - if (_summonsesReason == null) - _summonsesReason = new SummonsesReasonPath(this, Keys.INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID, null); - - return _summonsesReason; - } - @Override public InfoSentToLkEpgu as(String alias) { return new InfoSentToLkEpgu(DSL.name(alias), this); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpguStorage.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpguStorage.java new file mode 100644 index 0000000..0c5af75 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/InfoSentToLkEpguStorage.java @@ -0,0 +1,365 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; +import org.jooq.Identity; +import org.jooq.InverseForeignKey; +import org.jooq.Name; +import org.jooq.Path; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.Record; +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.summonses_list.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.InfoSentToLkEpguStorageRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class InfoSentToLkEpguStorage extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of + * summonses_list.info_sent_to_lk_epgu_storage + */ + public static final InfoSentToLkEpguStorage INFO_SENT_TO_LK_EPGU_STORAGE = new InfoSentToLkEpguStorage(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return InfoSentToLkEpguStorageRecord.class; + } + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.info_sent_to_lk_epgu_storage_id. + */ + public final TableField INFO_SENT_TO_LK_EPGU_STORAGE_ID = createField(DSL.name("info_sent_to_lk_epgu_storage_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.recruitment_id. + */ + public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.update_date. + */ + public final TableField UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.info_date. + */ + public final TableField INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.summonses_reason_id. + */ + public final TableField SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_status_formed. + */ + public final TableField COUNT_STATUS_FORMED = createField(DSL.name("count_status_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_sended. + */ + public final TableField COUNT_SENDED = createField(DSL.name("count_sended"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_delivered. + */ + public final TableField COUNT_DELIVERED = createField(DSL.name("count_delivered"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_error. + */ + public final TableField COUNT_ERROR = createField(DSL.name("count_error"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_viewed. + */ + public final TableField COUNT_VIEWED = createField(DSL.name("count_viewed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_not_viewed. + */ + public final TableField COUNT_NOT_VIEWED = createField(DSL.name("count_not_viewed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_status_not_formed. + */ + public final TableField COUNT_STATUS_NOT_FORMED = createField(DSL.name("count_status_not_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_exceeded_send. + */ + public final TableField COUNT_EXCEEDED_SEND = createField(DSL.name("count_exceeded_send"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.info_sent_to_lk_epgu_storage.count_exceeded_delivered. + */ + public final TableField COUNT_EXCEEDED_DELIVERED = createField(DSL.name("count_exceeded_delivered"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + private InfoSentToLkEpguStorage(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private InfoSentToLkEpguStorage(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased + * summonses_list.info_sent_to_lk_epgu_storage table reference + */ + public InfoSentToLkEpguStorage(String alias) { + this(DSL.name(alias), INFO_SENT_TO_LK_EPGU_STORAGE); + } + + /** + * Create an aliased + * summonses_list.info_sent_to_lk_epgu_storage table reference + */ + public InfoSentToLkEpguStorage(Name alias) { + this(alias, INFO_SENT_TO_LK_EPGU_STORAGE); + } + + /** + * Create a summonses_list.info_sent_to_lk_epgu_storage table + * reference + */ + public InfoSentToLkEpguStorage() { + this(DSL.name("info_sent_to_lk_epgu_storage"), null); + } + + public InfoSentToLkEpguStorage(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, INFO_SENT_TO_LK_EPGU_STORAGE); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class InfoSentToLkEpguStoragePath extends InfoSentToLkEpguStorage implements Path { + public InfoSentToLkEpguStoragePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private InfoSentToLkEpguStoragePath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public InfoSentToLkEpguStoragePath as(String alias) { + return new InfoSentToLkEpguStoragePath(DSL.name(alias), this); + } + + @Override + public InfoSentToLkEpguStoragePath as(Name alias) { + return new InfoSentToLkEpguStoragePath(alias, this); + } + + @Override + public InfoSentToLkEpguStoragePath as(Table alias) { + return new InfoSentToLkEpguStoragePath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : SummonsesList.SUMMONSES_LIST; + } + + @Override + public Identity getIdentity() { + return (Identity) super.getIdentity(); + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.INFO_SENT_TO_LK_EPGU_STORAGE_PKEY; + } + + @Override + public List> getReferences() { + return Arrays.asList(Keys.INFO_SENT_TO_LK_EPGU_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE); + } + + private transient SummonsesReasonPath _summonsesReason; + + /** + * Get the implicit join path to the + * summonses_list.summonses_reason table. + */ + public SummonsesReasonPath summonsesReason() { + if (_summonsesReason == null) + _summonsesReason = new SummonsesReasonPath(this, Keys.INFO_SENT_TO_LK_EPGU_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE, null); + + return _summonsesReason; + } + + @Override + public InfoSentToLkEpguStorage as(String alias) { + return new InfoSentToLkEpguStorage(DSL.name(alias), this); + } + + @Override + public InfoSentToLkEpguStorage as(Name alias) { + return new InfoSentToLkEpguStorage(alias, this); + } + + @Override + public InfoSentToLkEpguStorage as(Table alias) { + return new InfoSentToLkEpguStorage(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public InfoSentToLkEpguStorage rename(String name) { + return new InfoSentToLkEpguStorage(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public InfoSentToLkEpguStorage rename(Name name) { + return new InfoSentToLkEpguStorage(name, null); + } + + /** + * Rename this table + */ + @Override + public InfoSentToLkEpguStorage rename(Table name) { + return new InfoSentToLkEpguStorage(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public InfoSentToLkEpguStorage where(Condition condition) { + return new InfoSentToLkEpguStorage(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public InfoSentToLkEpguStorage where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public InfoSentToLkEpguStorage where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public InfoSentToLkEpguStorage where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public InfoSentToLkEpguStorage where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public InfoSentToLkEpguStorage where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public InfoSentToLkEpguStorage where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public InfoSentToLkEpguStorage where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public InfoSentToLkEpguStorage whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public InfoSentToLkEpguStorage whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RecruitOfficeVisit.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RecruitOfficeVisit.java index 33f55fa..ccce416 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RecruitOfficeVisit.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RecruitOfficeVisit.java @@ -6,20 +6,14 @@ package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; import org.jooq.Identity; -import org.jooq.InverseForeignKey; import org.jooq.Name; -import org.jooq.Path; import org.jooq.PlainSQL; import org.jooq.QueryPart; -import org.jooq.Record; import org.jooq.SQL; import org.jooq.Schema; import org.jooq.Select; @@ -34,7 +28,6 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RecruitOfficeVisitRecord; @@ -152,37 +145,6 @@ public class RecruitOfficeVisit extends TableImpl { this(DSL.name("recruit_office_visit"), null); } - public RecruitOfficeVisit(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, RECRUIT_OFFICE_VISIT); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class RecruitOfficeVisitPath extends RecruitOfficeVisit implements Path { - public RecruitOfficeVisitPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private RecruitOfficeVisitPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public RecruitOfficeVisitPath as(String alias) { - return new RecruitOfficeVisitPath(DSL.name(alias), this); - } - - @Override - public RecruitOfficeVisitPath as(Name alias) { - return new RecruitOfficeVisitPath(alias, this); - } - - @Override - public RecruitOfficeVisitPath as(Table alias) { - return new RecruitOfficeVisitPath(alias.getQualifiedName(), this); - } - } - @Override public Schema getSchema() { return aliased() ? null : SummonsesList.SUMMONSES_LIST; @@ -198,24 +160,6 @@ public class RecruitOfficeVisit extends TableImpl { return Keys.RECRUIT_OFFICE_VISIT_PKEY; } - @Override - public List> getReferences() { - return Arrays.asList(Keys.RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID); - } - - private transient SummonsesReasonPath _summonsesReason; - - /** - * Get the implicit join path to the - * summonses_list.summonses_reason table. - */ - public SummonsesReasonPath summonsesReason() { - if (_summonsesReason == null) - _summonsesReason = new SummonsesReasonPath(this, Keys.RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID, null); - - return _summonsesReason; - } - @Override public RecruitOfficeVisit as(String alias) { return new RecruitOfficeVisit(DSL.name(alias), this); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasures.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasures.java index a27a279..50791cb 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasures.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasures.java @@ -6,20 +6,14 @@ package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; import org.jooq.Identity; -import org.jooq.InverseForeignKey; import org.jooq.Name; -import org.jooq.Path; import org.jooq.PlainSQL; import org.jooq.QueryPart; -import org.jooq.Record; import org.jooq.SQL; import org.jooq.Schema; import org.jooq.Select; @@ -34,7 +28,6 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RemoveTmpMeasuresRecord; @@ -143,37 +136,6 @@ public class RemoveTmpMeasures extends TableImpl { this(DSL.name("remove_tmp_measures"), null); } - public RemoveTmpMeasures(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, REMOVE_TMP_MEASURES); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class RemoveTmpMeasuresPath extends RemoveTmpMeasures implements Path { - public RemoveTmpMeasuresPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private RemoveTmpMeasuresPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public RemoveTmpMeasuresPath as(String alias) { - return new RemoveTmpMeasuresPath(DSL.name(alias), this); - } - - @Override - public RemoveTmpMeasuresPath as(Name alias) { - return new RemoveTmpMeasuresPath(alias, this); - } - - @Override - public RemoveTmpMeasuresPath as(Table alias) { - return new RemoveTmpMeasuresPath(alias.getQualifiedName(), this); - } - } - @Override public Schema getSchema() { return aliased() ? null : SummonsesList.SUMMONSES_LIST; @@ -189,24 +151,6 @@ public class RemoveTmpMeasures extends TableImpl { return Keys.REMOVE_TMP_MEASURES_PKEY; } - @Override - public List> getReferences() { - return Arrays.asList(Keys.REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID); - } - - private transient SummonsesReasonPath _summonsesReason; - - /** - * Get the implicit join path to the - * summonses_list.summonses_reason table. - */ - public SummonsesReasonPath summonsesReason() { - if (_summonsesReason == null) - _summonsesReason = new SummonsesReasonPath(this, Keys.REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID, null); - - return _summonsesReason; - } - @Override public RemoveTmpMeasures as(String alias) { return new RemoveTmpMeasures(DSL.name(alias), this); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasuresStorage.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasuresStorage.java new file mode 100644 index 0000000..0523768 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RemoveTmpMeasuresStorage.java @@ -0,0 +1,335 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; +import org.jooq.Identity; +import org.jooq.InverseForeignKey; +import org.jooq.Name; +import org.jooq.Path; +import org.jooq.PlainSQL; +import org.jooq.QueryPart; +import org.jooq.Record; +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.summonses_list.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RemoveTmpMeasuresStorageRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RemoveTmpMeasuresStorage extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of + * summonses_list.remove_tmp_measures_storage + */ + public static final RemoveTmpMeasuresStorage REMOVE_TMP_MEASURES_STORAGE = new RemoveTmpMeasuresStorage(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return RemoveTmpMeasuresStorageRecord.class; + } + + /** + * The column + * summonses_list.remove_tmp_measures_storage.remove_tmp_measures_storage_id. + */ + public final TableField REMOVE_TMP_MEASURES_STORAGE_ID = createField(DSL.name("remove_tmp_measures_storage_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.recruitment_id. + */ + public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.update_date. + */ + public final TableField UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.info_date. + */ + public final TableField INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.summonses_reason_id. + */ + public final TableField SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.count_formed. + */ + public final TableField COUNT_FORMED = createField(DSL.name("count_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.count_for_sign. + */ + public final TableField COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.count_signed. + */ + public final TableField COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.remove_tmp_measures_storage.count_removed. + */ + public final TableField COUNT_REMOVED = createField(DSL.name("count_removed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + private RemoveTmpMeasuresStorage(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private RemoveTmpMeasuresStorage(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased summonses_list.remove_tmp_measures_storage + * table reference + */ + public RemoveTmpMeasuresStorage(String alias) { + this(DSL.name(alias), REMOVE_TMP_MEASURES_STORAGE); + } + + /** + * Create an aliased summonses_list.remove_tmp_measures_storage + * table reference + */ + public RemoveTmpMeasuresStorage(Name alias) { + this(alias, REMOVE_TMP_MEASURES_STORAGE); + } + + /** + * Create a summonses_list.remove_tmp_measures_storage table + * reference + */ + public RemoveTmpMeasuresStorage() { + this(DSL.name("remove_tmp_measures_storage"), null); + } + + public RemoveTmpMeasuresStorage(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath, REMOVE_TMP_MEASURES_STORAGE); + } + + /** + * A subtype implementing {@link Path} for simplified path-based joins. + */ + public static class RemoveTmpMeasuresStoragePath extends RemoveTmpMeasuresStorage implements Path { + public RemoveTmpMeasuresStoragePath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { + super(path, childPath, parentPath); + } + private RemoveTmpMeasuresStoragePath(Name alias, Table aliased) { + super(alias, aliased); + } + + @Override + public RemoveTmpMeasuresStoragePath as(String alias) { + return new RemoveTmpMeasuresStoragePath(DSL.name(alias), this); + } + + @Override + public RemoveTmpMeasuresStoragePath as(Name alias) { + return new RemoveTmpMeasuresStoragePath(alias, this); + } + + @Override + public RemoveTmpMeasuresStoragePath as(Table alias) { + return new RemoveTmpMeasuresStoragePath(alias.getQualifiedName(), this); + } + } + + @Override + public Schema getSchema() { + return aliased() ? null : SummonsesList.SUMMONSES_LIST; + } + + @Override + public Identity getIdentity() { + return (Identity) super.getIdentity(); + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.REMOVE_TMP_MEASURES_STORAGE_PKEY; + } + + @Override + public List> getReferences() { + return Arrays.asList(Keys.REMOVE_TMP_MEASURES_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE); + } + + private transient SummonsesReasonPath _summonsesReason; + + /** + * Get the implicit join path to the + * summonses_list.summonses_reason table. + */ + public SummonsesReasonPath summonsesReason() { + if (_summonsesReason == null) + _summonsesReason = new SummonsesReasonPath(this, Keys.REMOVE_TMP_MEASURES_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE, null); + + return _summonsesReason; + } + + @Override + public RemoveTmpMeasuresStorage as(String alias) { + return new RemoveTmpMeasuresStorage(DSL.name(alias), this); + } + + @Override + public RemoveTmpMeasuresStorage as(Name alias) { + return new RemoveTmpMeasuresStorage(alias, this); + } + + @Override + public RemoveTmpMeasuresStorage as(Table alias) { + return new RemoveTmpMeasuresStorage(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public RemoveTmpMeasuresStorage rename(String name) { + return new RemoveTmpMeasuresStorage(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public RemoveTmpMeasuresStorage rename(Name name) { + return new RemoveTmpMeasuresStorage(name, null); + } + + /** + * Rename this table + */ + @Override + public RemoveTmpMeasuresStorage rename(Table name) { + return new RemoveTmpMeasuresStorage(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RemoveTmpMeasuresStorage where(Condition condition) { + return new RemoveTmpMeasuresStorage(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RemoveTmpMeasuresStorage where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RemoveTmpMeasuresStorage where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RemoveTmpMeasuresStorage where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RemoveTmpMeasuresStorage where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RemoveTmpMeasuresStorage where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RemoveTmpMeasuresStorage where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RemoveTmpMeasuresStorage where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RemoveTmpMeasuresStorage whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RemoveTmpMeasuresStorage whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBan.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBan.java index e849bd1..110a884 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBan.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBan.java @@ -6,20 +6,14 @@ package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.ForeignKey; import org.jooq.Identity; -import org.jooq.InverseForeignKey; import org.jooq.Name; -import org.jooq.Path; import org.jooq.PlainSQL; import org.jooq.QueryPart; -import org.jooq.Record; import org.jooq.SQL; import org.jooq.Schema; import org.jooq.Select; @@ -34,7 +28,6 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RfLeavingBanRecord; @@ -134,37 +127,6 @@ public class RfLeavingBan extends TableImpl { this(DSL.name("rf_leaving_ban"), null); } - public RfLeavingBan(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath, RF_LEAVING_BAN); - } - - /** - * A subtype implementing {@link Path} for simplified path-based joins. - */ - public static class RfLeavingBanPath extends RfLeavingBan implements Path { - public RfLeavingBanPath(Table path, ForeignKey childPath, InverseForeignKey parentPath) { - super(path, childPath, parentPath); - } - private RfLeavingBanPath(Name alias, Table aliased) { - super(alias, aliased); - } - - @Override - public RfLeavingBanPath as(String alias) { - return new RfLeavingBanPath(DSL.name(alias), this); - } - - @Override - public RfLeavingBanPath as(Name alias) { - return new RfLeavingBanPath(alias, this); - } - - @Override - public RfLeavingBanPath as(Table alias) { - return new RfLeavingBanPath(alias.getQualifiedName(), this); - } - } - @Override public Schema getSchema() { return aliased() ? null : SummonsesList.SUMMONSES_LIST; @@ -180,24 +142,6 @@ public class RfLeavingBan extends TableImpl { return Keys.RF_LEAVING_BAN_PKEY; } - @Override - public List> getReferences() { - return Arrays.asList(Keys.RF_LEAVING_BAN__FK_SUMMONSES_REASON_ID); - } - - private transient SummonsesReasonPath _summonsesReason; - - /** - * Get the implicit join path to the - * summonses_list.summonses_reason table. - */ - public SummonsesReasonPath summonsesReason() { - if (_summonsesReason == null) - _summonsesReason = new SummonsesReasonPath(this, Keys.RF_LEAVING_BAN__FK_SUMMONSES_REASON_ID, null); - - return _summonsesReason; - } - @Override public RfLeavingBan as(String alias) { return new RfLeavingBan(DSL.name(alias), this); diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBanStorage.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBanStorage.java new file mode 100644 index 0000000..a036362 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/RfLeavingBanStorage.java @@ -0,0 +1,272 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables; + + +import java.sql.Date; +import java.sql.Timestamp; +import java.util.Collection; + +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.summonses_list.Keys; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.RfLeavingBanStorageRecord; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RfLeavingBanStorage extends TableImpl { + + private static final long serialVersionUID = 1L; + + /** + * The reference instance of + * summonses_list.rf_leaving_ban_storage + */ + public static final RfLeavingBanStorage RF_LEAVING_BAN_STORAGE = new RfLeavingBanStorage(); + + /** + * The class holding records for this type + */ + @Override + public Class getRecordType() { + return RfLeavingBanStorageRecord.class; + } + + /** + * The column + * summonses_list.rf_leaving_ban_storage.rf_leaving_ban_storage_id. + */ + public final TableField RF_LEAVING_BAN_STORAGE_ID = createField(DSL.name("rf_leaving_ban_storage_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, ""); + + /** + * The column + * summonses_list.rf_leaving_ban_storage.recruitment_id. + */ + public final TableField RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, ""); + + /** + * The column + * summonses_list.rf_leaving_ban_storage.update_date. + */ + public final TableField UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, ""); + + /** + * The column summonses_list.rf_leaving_ban_storage.info_date. + */ + public final TableField INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, ""); + + /** + * The column + * summonses_list.rf_leaving_ban_storage.summonses_reason_id. + */ + public final TableField SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false), this, ""); + + /** + * The column + * summonses_list.rf_leaving_ban_storage.count_for_sign. + */ + public final TableField COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.rf_leaving_ban_storage.count_signed. + */ + public final TableField COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + /** + * The column + * summonses_list.rf_leaving_ban_storage.count_enter. + */ + public final TableField COUNT_ENTER = createField(DSL.name("count_enter"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, ""); + + private RfLeavingBanStorage(Name alias, Table aliased) { + this(alias, aliased, (Field[]) null, null); + } + + private RfLeavingBanStorage(Name alias, Table aliased, Field[] parameters, Condition where) { + super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where); + } + + /** + * Create an aliased summonses_list.rf_leaving_ban_storage + * table reference + */ + public RfLeavingBanStorage(String alias) { + this(DSL.name(alias), RF_LEAVING_BAN_STORAGE); + } + + /** + * Create an aliased summonses_list.rf_leaving_ban_storage + * table reference + */ + public RfLeavingBanStorage(Name alias) { + this(alias, RF_LEAVING_BAN_STORAGE); + } + + /** + * Create a summonses_list.rf_leaving_ban_storage table + * reference + */ + public RfLeavingBanStorage() { + this(DSL.name("rf_leaving_ban_storage"), null); + } + + @Override + public Schema getSchema() { + return aliased() ? null : SummonsesList.SUMMONSES_LIST; + } + + @Override + public Identity getIdentity() { + return (Identity) super.getIdentity(); + } + + @Override + public UniqueKey getPrimaryKey() { + return Keys.RF_LEAVING_BAN_STORAGE_PKEY; + } + + @Override + public RfLeavingBanStorage as(String alias) { + return new RfLeavingBanStorage(DSL.name(alias), this); + } + + @Override + public RfLeavingBanStorage as(Name alias) { + return new RfLeavingBanStorage(alias, this); + } + + @Override + public RfLeavingBanStorage as(Table alias) { + return new RfLeavingBanStorage(alias.getQualifiedName(), this); + } + + /** + * Rename this table + */ + @Override + public RfLeavingBanStorage rename(String name) { + return new RfLeavingBanStorage(DSL.name(name), null); + } + + /** + * Rename this table + */ + @Override + public RfLeavingBanStorage rename(Name name) { + return new RfLeavingBanStorage(name, null); + } + + /** + * Rename this table + */ + @Override + public RfLeavingBanStorage rename(Table name) { + return new RfLeavingBanStorage(name.getQualifiedName(), null); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RfLeavingBanStorage where(Condition condition) { + return new RfLeavingBanStorage(getQualifiedName(), aliased() ? this : null, null, condition); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RfLeavingBanStorage where(Collection conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RfLeavingBanStorage where(Condition... conditions) { + return where(DSL.and(conditions)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RfLeavingBanStorage where(Field condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RfLeavingBanStorage where(SQL condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RfLeavingBanStorage where(@Stringly.SQL String condition) { + return where(DSL.condition(condition)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RfLeavingBanStorage where(@Stringly.SQL String condition, Object... binds) { + return where(DSL.condition(condition, binds)); + } + + /** + * Create an inline derived table from this table + */ + @Override + @PlainSQL + public RfLeavingBanStorage where(@Stringly.SQL String condition, QueryPart... parts) { + return where(DSL.condition(condition, parts)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RfLeavingBanStorage whereExists(Select select) { + return where(DSL.exists(select)); + } + + /** + * Create an inline derived table from this table + */ + @Override + public RfLeavingBanStorage whereNotExists(Select select) { + return where(DSL.notExists(select)); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/SummonsesReason.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/SummonsesReason.java index d83a8d2..a08a9cf 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/SummonsesReason.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/SummonsesReason.java @@ -33,12 +33,8 @@ import org.jooq.impl.TableImpl; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.Keys; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.SummonsesList; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.DownloadForPrint.DownloadForPrintPath; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.FormedSummonses.FormedSummonsesPath; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ImpositionTmpMeasures.ImpositionTmpMeasuresPath; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpgu.InfoSentToLkEpguPath; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RecruitOfficeVisit.RecruitOfficeVisitPath; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasures.RemoveTmpMeasuresPath; -import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RfLeavingBan.RfLeavingBanPath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.InfoSentToLkEpguStorage.InfoSentToLkEpguStoragePath; +import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.RemoveTmpMeasuresStorage.RemoveTmpMeasuresStoragePath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SummonsesReason.SummonsesReasonPath; import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.SummonsesReasonRecord; @@ -201,82 +197,30 @@ public class SummonsesReason extends TableImpl { return _downloadForPrint; } - private transient FormedSummonsesPath _formedSummonses; + private transient InfoSentToLkEpguStoragePath _infoSentToLkEpguStorage; /** * Get the implicit to-many join path to the - * summonses_list.formed_summonses table + * summonses_list.info_sent_to_lk_epgu_storage table */ - public FormedSummonsesPath formedSummonses() { - if (_formedSummonses == null) - _formedSummonses = new FormedSummonsesPath(this, null, Keys.FORMED_SUMMONSES__FK_SUMMONSES_REASON_ID.getInverseKey()); + public InfoSentToLkEpguStoragePath infoSentToLkEpguStorage() { + if (_infoSentToLkEpguStorage == null) + _infoSentToLkEpguStorage = new InfoSentToLkEpguStoragePath(this, null, Keys.INFO_SENT_TO_LK_EPGU_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE.getInverseKey()); - return _formedSummonses; + return _infoSentToLkEpguStorage; } - private transient ImpositionTmpMeasuresPath _impositionTmpMeasures; + private transient RemoveTmpMeasuresStoragePath _removeTmpMeasuresStorage; /** * Get the implicit to-many join path to the - * summonses_list.imposition_tmp_measures table + * summonses_list.remove_tmp_measures_storage table */ - public ImpositionTmpMeasuresPath impositionTmpMeasures() { - if (_impositionTmpMeasures == null) - _impositionTmpMeasures = new ImpositionTmpMeasuresPath(this, null, Keys.IMPOSITION_TMP_MEASURES__FK_SUMMONSES_REASON_ID.getInverseKey()); + public RemoveTmpMeasuresStoragePath removeTmpMeasuresStorage() { + if (_removeTmpMeasuresStorage == null) + _removeTmpMeasuresStorage = new RemoveTmpMeasuresStoragePath(this, null, Keys.REMOVE_TMP_MEASURES_STORAGE__FK_SUMMONSES_REASON_ID_STORAGE.getInverseKey()); - return _impositionTmpMeasures; - } - - private transient InfoSentToLkEpguPath _infoSentToLkEpgu; - - /** - * Get the implicit to-many join path to the - * summonses_list.info_sent_to_lk_epgu table - */ - public InfoSentToLkEpguPath infoSentToLkEpgu() { - if (_infoSentToLkEpgu == null) - _infoSentToLkEpgu = new InfoSentToLkEpguPath(this, null, Keys.INFO_SENT_TO_LK_EPGU__FK_SUMMONSES_REASON_ID.getInverseKey()); - - return _infoSentToLkEpgu; - } - - private transient RecruitOfficeVisitPath _recruitOfficeVisit; - - /** - * Get the implicit to-many join path to the - * summonses_list.recruit_office_visit table - */ - public RecruitOfficeVisitPath recruitOfficeVisit() { - if (_recruitOfficeVisit == null) - _recruitOfficeVisit = new RecruitOfficeVisitPath(this, null, Keys.RECRUIT_OFFICE_VISIT__FK_SUMMONSES_REASON_ID.getInverseKey()); - - return _recruitOfficeVisit; - } - - private transient RemoveTmpMeasuresPath _removeTmpMeasures; - - /** - * Get the implicit to-many join path to the - * summonses_list.remove_tmp_measures table - */ - public RemoveTmpMeasuresPath removeTmpMeasures() { - if (_removeTmpMeasures == null) - _removeTmpMeasures = new RemoveTmpMeasuresPath(this, null, Keys.REMOVE_TMP_MEASURES__FK_SUMMONSES_REASON_ID.getInverseKey()); - - return _removeTmpMeasures; - } - - private transient RfLeavingBanPath _rfLeavingBan; - - /** - * Get the implicit to-many join path to the - * summonses_list.rf_leaving_ban table - */ - public RfLeavingBanPath rfLeavingBan() { - if (_rfLeavingBan == null) - _rfLeavingBan = new RfLeavingBanPath(this, null, Keys.RF_LEAVING_BAN__FK_SUMMONSES_REASON_ID.getInverseKey()); - - return _rfLeavingBan; + return _removeTmpMeasuresStorage; } @Override diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewImpositionTmpMeasures.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewImpositionTmpMeasures.java index 15c8511..a03a382 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewImpositionTmpMeasures.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewImpositionTmpMeasures.java @@ -61,6 +61,24 @@ public class ViewImpositionTmpMeasures extends TableImpl COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, ""); + /** + * The column + * summonses_list.view_imposition_tmp_measures.count_for_sign. + */ + public final TableField COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_imposition_tmp_measures.count_apply. + */ + public final TableField COUNT_APPLY = createField(DSL.name("count_apply"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_imposition_tmp_measures.count_enter. + */ + public final TableField COUNT_ENTER = createField(DSL.name("count_enter"), SQLDataType.BIGINT, this, ""); + /** * The column * summonses_list.view_imposition_tmp_measures.percent_for_sign. @@ -85,12 +103,23 @@ public class ViewImpositionTmpMeasures extends TableImpl aliased, Field[] parameters, Condition where) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view(""" - create view "view_imposition_tmp_measures" as SELECT imposition_tmp_measures.imposition_tmp_measures_id, - ((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter) AS count_all, - COALESCE(round((((imposition_tmp_measures.count_for_sign)::numeric * (100)::numeric) / NULLIF((((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter))::numeric, (0)::numeric))), (0)::numeric) AS percent_for_sign, - COALESCE(round((((imposition_tmp_measures.count_apply)::numeric * (100)::numeric) / NULLIF((((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter))::numeric, (0)::numeric))), (0)::numeric) AS percent_apply, - COALESCE(round((((imposition_tmp_measures.count_enter)::numeric * (100)::numeric) / NULLIF((((imposition_tmp_measures.count_for_sign + imposition_tmp_measures.count_apply) + imposition_tmp_measures.count_enter))::numeric, (0)::numeric))), (0)::numeric) AS percent_enter - FROM summonses_list.imposition_tmp_measures; + create view "view_imposition_tmp_measures" as SELECT m.imposition_tmp_measures_id, + (((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_apply) + COALESCE(s.count_apply, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)) AS count_all, + (m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) AS count_for_sign, + (m.count_apply + COALESCE(s.count_apply, (0)::bigint)) AS count_apply, + (m.count_enter + COALESCE(s.count_enter, (0)::bigint)) AS count_enter, + COALESCE(round(((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_apply) + COALESCE(s.count_apply, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_for_sign, + COALESCE(round(((((m.count_apply + COALESCE(s.count_apply, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_apply) + COALESCE(s.count_apply, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_apply, + COALESCE(round(((((m.count_enter + COALESCE(s.count_enter, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_apply) + COALESCE(s.count_apply, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_enter + FROM (summonses_list.imposition_tmp_measures m + LEFT JOIN ( SELECT DISTINCT ON (imposition_tmp_measures_storage.recruitment_id, imposition_tmp_measures_storage.summonses_reason_id, imposition_tmp_measures_storage.info_date) imposition_tmp_measures_storage.recruitment_id, + imposition_tmp_measures_storage.summonses_reason_id, + imposition_tmp_measures_storage.info_date, + imposition_tmp_measures_storage.count_for_sign, + imposition_tmp_measures_storage.count_apply, + imposition_tmp_measures_storage.count_enter + FROM summonses_list.imposition_tmp_measures_storage + ORDER BY imposition_tmp_measures_storage.recruitment_id, imposition_tmp_measures_storage.summonses_reason_id, imposition_tmp_measures_storage.info_date, imposition_tmp_measures_storage.update_date DESC) s ON ((((m.recruitment_id)::text = (s.recruitment_id)::text) AND (m.summonses_reason_id = s.summonses_reason_id) AND (m.info_date = s.info_date)))); """), where); } diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewInfoSentToLkEpgu.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewInfoSentToLkEpgu.java index 6aa4df0..eb4de03 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewInfoSentToLkEpgu.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewInfoSentToLkEpgu.java @@ -55,6 +55,66 @@ public class ViewInfoSentToLkEpgu extends TableImpl */ public final TableField INFO_SENT_TO_LK_EPGU_ID = createField(DSL.name("info_sent_to_lk_epgu_id"), SQLDataType.BIGINT, this, ""); + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_status_formed. + */ + public final TableField COUNT_STATUS_FORMED = createField(DSL.name("count_status_formed"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_sended. + */ + public final TableField COUNT_SENDED = createField(DSL.name("count_sended"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_delivered. + */ + public final TableField COUNT_DELIVERED = createField(DSL.name("count_delivered"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_error. + */ + public final TableField COUNT_ERROR = createField(DSL.name("count_error"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_viewed. + */ + public final TableField COUNT_VIEWED = createField(DSL.name("count_viewed"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_not_viewed. + */ + public final TableField COUNT_NOT_VIEWED = createField(DSL.name("count_not_viewed"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_status_not_formed. + */ + public final TableField COUNT_STATUS_NOT_FORMED = createField(DSL.name("count_status_not_formed"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_exceeded_send. + */ + public final TableField COUNT_EXCEEDED_SEND = createField(DSL.name("count_exceeded_send"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_exceeded_delivered. + */ + public final TableField COUNT_EXCEEDED_DELIVERED = createField(DSL.name("count_exceeded_delivered"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_info_sent_to_lk_epgu.count_all. + */ + public final TableField COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, ""); + /** * The column * summonses_list.view_info_sent_to_lk_epgu.percent_status_formed. @@ -97,12 +157,6 @@ public class ViewInfoSentToLkEpgu extends TableImpl */ public final TableField PERCENT_NOT_VIEWED = createField(DSL.name("percent_not_viewed"), SQLDataType.NUMERIC, this, ""); - /** - * The column - * summonses_list.view_info_sent_to_lk_epgu.count_all. - */ - public final TableField COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, ""); - /** * The column * summonses_list.view_info_sent_to_lk_epgu.percent_exceeded_send. @@ -121,18 +175,41 @@ public class ViewInfoSentToLkEpgu extends TableImpl private ViewInfoSentToLkEpgu(Name alias, Table aliased, Field[] parameters, Condition where) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view(""" - create view "view_info_sent_to_lk_epgu" as SELECT info_sent_to_lk_epgu.info_sent_to_lk_epgu_id, - COALESCE(round((((info_sent_to_lk_epgu.count_status_formed)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_status_formed, - COALESCE(round((((info_sent_to_lk_epgu.count_status_not_formed)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_status_not_formed, - COALESCE(round((((info_sent_to_lk_epgu.count_sended)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_sended, - COALESCE(round((((info_sent_to_lk_epgu.count_delivered)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_delivered, - COALESCE(round((((info_sent_to_lk_epgu.count_error)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_error, - COALESCE(round((((info_sent_to_lk_epgu.count_viewed)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_viewed, - COALESCE(round((((info_sent_to_lk_epgu.count_not_viewed)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_not_viewed, - (info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed) AS count_all, - COALESCE(round((((info_sent_to_lk_epgu.count_exceeded_send)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_exceeded_send, - COALESCE(round((((info_sent_to_lk_epgu.count_exceeded_delivered)::numeric * (100)::numeric) / NULLIF(((info_sent_to_lk_epgu.count_status_formed + info_sent_to_lk_epgu.count_status_not_formed))::numeric, (0)::numeric))), (0)::numeric) AS percent_exceeded_delivered - FROM summonses_list.info_sent_to_lk_epgu; + create view "view_info_sent_to_lk_epgu" as SELECT m.info_sent_to_lk_epgu_id, + (m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) AS count_status_formed, + (m.count_sended + COALESCE(s.count_sended, (0)::bigint)) AS count_sended, + (m.count_delivered + COALESCE(s.count_delivered, (0)::bigint)) AS count_delivered, + (m.count_error + COALESCE(s.count_error, (0)::bigint)) AS count_error, + (m.count_viewed + COALESCE(s.count_viewed, (0)::bigint)) AS count_viewed, + (m.count_not_viewed + COALESCE(s.count_not_viewed, (0)::bigint)) AS count_not_viewed, + (m.count_status_not_formed + COALESCE(s.count_status_not_formed, (0)::bigint)) AS count_status_not_formed, + (m.count_exceeded_send + COALESCE(s.count_exceeded_send, (0)::bigint)) AS count_exceeded_send, + (m.count_exceeded_delivered + COALESCE(s.count_exceeded_delivered, (0)::bigint)) AS count_exceeded_delivered, + (((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)) AS count_all, + COALESCE(round(((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_status_formed, + COALESCE(round(((((m.count_status_not_formed + COALESCE(s.count_status_not_formed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_status_not_formed, + COALESCE(round(((((m.count_sended + COALESCE(s.count_sended, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_sended, + COALESCE(round(((((m.count_delivered + COALESCE(s.count_delivered, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_delivered, + COALESCE(round(((((m.count_error + COALESCE(s.count_error, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_error, + COALESCE(round(((((m.count_viewed + COALESCE(s.count_viewed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_viewed, + COALESCE(round(((((m.count_not_viewed + COALESCE(s.count_not_viewed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_not_viewed, + COALESCE(round(((((m.count_exceeded_send + COALESCE(s.count_exceeded_send, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_exceeded_send, + COALESCE(round(((((m.count_exceeded_delivered + COALESCE(s.count_exceeded_delivered, (0)::bigint)))::numeric * 100.0) / (NULLIF((((m.count_status_formed + COALESCE(s.count_status_formed, (0)::bigint)) + m.count_status_not_formed) + COALESCE(s.count_status_not_formed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_exceeded_delivered + FROM (summonses_list.info_sent_to_lk_epgu m + LEFT JOIN ( SELECT DISTINCT ON (info_sent_to_lk_epgu_storage.recruitment_id, info_sent_to_lk_epgu_storage.summonses_reason_id, info_sent_to_lk_epgu_storage.info_date) info_sent_to_lk_epgu_storage.recruitment_id, + info_sent_to_lk_epgu_storage.summonses_reason_id, + info_sent_to_lk_epgu_storage.info_date, + info_sent_to_lk_epgu_storage.count_status_formed, + info_sent_to_lk_epgu_storage.count_sended, + info_sent_to_lk_epgu_storage.count_delivered, + info_sent_to_lk_epgu_storage.count_error, + info_sent_to_lk_epgu_storage.count_viewed, + info_sent_to_lk_epgu_storage.count_not_viewed, + info_sent_to_lk_epgu_storage.count_status_not_formed, + info_sent_to_lk_epgu_storage.count_exceeded_send, + info_sent_to_lk_epgu_storage.count_exceeded_delivered + FROM summonses_list.info_sent_to_lk_epgu_storage + ORDER BY info_sent_to_lk_epgu_storage.recruitment_id, info_sent_to_lk_epgu_storage.summonses_reason_id, info_sent_to_lk_epgu_storage.info_date, info_sent_to_lk_epgu_storage.update_date DESC) s ON ((((m.recruitment_id)::text = (s.recruitment_id)::text) AND (m.summonses_reason_id = s.summonses_reason_id) AND (m.info_date = s.info_date)))); """), where); } diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRemoveTmpMeasures.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRemoveTmpMeasures.java index 1e71e27..bbca385 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRemoveTmpMeasures.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRemoveTmpMeasures.java @@ -61,6 +61,30 @@ public class ViewRemoveTmpMeasures extends TableImpl COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, ""); + /** + * The column + * summonses_list.view_remove_tmp_measures.count_formed. + */ + public final TableField COUNT_FORMED = createField(DSL.name("count_formed"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_remove_tmp_measures.count_for_sign. + */ + public final TableField COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_remove_tmp_measures.count_signed. + */ + public final TableField COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT, this, ""); + + /** + * The column + * summonses_list.view_remove_tmp_measures.count_removed. + */ + public final TableField COUNT_REMOVED = createField(DSL.name("count_removed"), SQLDataType.BIGINT, this, ""); + /** * The column * summonses_list.view_remove_tmp_measures.percent_formed. @@ -91,13 +115,26 @@ public class ViewRemoveTmpMeasures extends TableImpl aliased, Field[] parameters, Condition where) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view(""" - create view "view_remove_tmp_measures" as SELECT remove_tmp_measures.remove_tmp_measures_id, - (((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed) AS count_all, - COALESCE(round((((remove_tmp_measures.count_formed)::numeric * (100)::numeric) / NULLIF(((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric, (0)::numeric))), (0)::numeric) AS percent_formed, - COALESCE(round((((remove_tmp_measures.count_for_sign)::numeric * (100)::numeric) / NULLIF(((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric, (0)::numeric))), (0)::numeric) AS percent_for_sign, - COALESCE(round((((remove_tmp_measures.count_signed)::numeric * (100)::numeric) / NULLIF(((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric, (0)::numeric))), (0)::numeric) AS percent_signed, - COALESCE(round((((remove_tmp_measures.count_removed)::numeric * (100)::numeric) / NULLIF(((((remove_tmp_measures.count_formed + remove_tmp_measures.count_for_sign) + remove_tmp_measures.count_signed) + remove_tmp_measures.count_removed))::numeric, (0)::numeric))), (0)::numeric) AS percent_removed - FROM summonses_list.remove_tmp_measures; + create view "view_remove_tmp_measures" as SELECT m.remove_tmp_measures_id, + (((((((m.count_formed + COALESCE(s.count_formed, (0)::bigint)) + m.count_for_sign) + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_removed) + COALESCE(s.count_removed, (0)::bigint)) AS count_all, + (m.count_formed + COALESCE(s.count_formed, (0)::bigint)) AS count_formed, + (m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) AS count_for_sign, + (m.count_signed + COALESCE(s.count_signed, (0)::bigint)) AS count_signed, + (m.count_removed + COALESCE(s.count_removed, (0)::bigint)) AS count_removed, + COALESCE(round(((((m.count_formed + COALESCE(s.count_formed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((((m.count_formed + COALESCE(s.count_formed, (0)::bigint)) + m.count_for_sign) + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_removed) + COALESCE(s.count_removed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_formed, + COALESCE(round(((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((((m.count_formed + COALESCE(s.count_formed, (0)::bigint)) + m.count_for_sign) + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_removed) + COALESCE(s.count_removed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_for_sign, + COALESCE(round(((((m.count_signed + COALESCE(s.count_signed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((((m.count_formed + COALESCE(s.count_formed, (0)::bigint)) + m.count_for_sign) + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_removed) + COALESCE(s.count_removed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_signed, + COALESCE(round(((((m.count_removed + COALESCE(s.count_removed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((((m.count_formed + COALESCE(s.count_formed, (0)::bigint)) + m.count_for_sign) + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_removed) + COALESCE(s.count_removed, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_removed + FROM (summonses_list.remove_tmp_measures m + LEFT JOIN ( SELECT DISTINCT ON (remove_tmp_measures_storage.recruitment_id, remove_tmp_measures_storage.summonses_reason_id, remove_tmp_measures_storage.info_date) remove_tmp_measures_storage.recruitment_id, + remove_tmp_measures_storage.summonses_reason_id, + remove_tmp_measures_storage.info_date, + remove_tmp_measures_storage.count_formed, + remove_tmp_measures_storage.count_for_sign, + remove_tmp_measures_storage.count_signed, + remove_tmp_measures_storage.count_removed + FROM summonses_list.remove_tmp_measures_storage + ORDER BY remove_tmp_measures_storage.recruitment_id, remove_tmp_measures_storage.summonses_reason_id, remove_tmp_measures_storage.info_date, remove_tmp_measures_storage.update_date DESC) s ON ((((m.recruitment_id)::text = (s.recruitment_id)::text) AND (m.summonses_reason_id = s.summonses_reason_id) AND (m.info_date = s.info_date)))); """), where); } diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRfLeavingBan.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRfLeavingBan.java index dbb45a6..48582a1 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRfLeavingBan.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/ViewRfLeavingBan.java @@ -59,6 +59,22 @@ public class ViewRfLeavingBan extends TableImpl { */ public final TableField COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, ""); + /** + * The column + * summonses_list.view_rf_leaving_ban.count_for_sign. + */ + public final TableField COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT, this, ""); + + /** + * The column summonses_list.view_rf_leaving_ban.count_signed. + */ + public final TableField COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT, this, ""); + + /** + * The column summonses_list.view_rf_leaving_ban.count_enter. + */ + public final TableField COUNT_ENTER = createField(DSL.name("count_enter"), SQLDataType.BIGINT, this, ""); + /** * The column * summonses_list.view_rf_leaving_ban.percent_for_sign. @@ -82,12 +98,23 @@ public class ViewRfLeavingBan extends TableImpl { private ViewRfLeavingBan(Name alias, Table aliased, Field[] parameters, Condition where) { super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view(""" - create view "view_rf_leaving_ban" as SELECT rf_leaving_ban.rf_leaving_ban_id, - ((rf_leaving_ban.count_for_sign + rf_leaving_ban.count_signed) + rf_leaving_ban.count_enter) AS count_all, - COALESCE(round((((rf_leaving_ban.count_for_sign)::numeric * (100)::numeric) / NULLIF((((rf_leaving_ban.count_for_sign + rf_leaving_ban.count_signed) + rf_leaving_ban.count_enter))::numeric, (0)::numeric))), (0)::numeric) AS percent_for_sign, - COALESCE(round((((rf_leaving_ban.count_signed)::numeric * (100)::numeric) / NULLIF((((rf_leaving_ban.count_for_sign + rf_leaving_ban.count_signed) + rf_leaving_ban.count_enter))::numeric, (0)::numeric))), (0)::numeric) AS percent_signed, - COALESCE(round((((rf_leaving_ban.count_enter)::numeric * (100)::numeric) / NULLIF((((rf_leaving_ban.count_for_sign + rf_leaving_ban.count_signed) + rf_leaving_ban.count_enter))::numeric, (0)::numeric))), (0)::numeric) AS percent_enter - FROM summonses_list.rf_leaving_ban; + create view "view_rf_leaving_ban" as SELECT m.rf_leaving_ban_id, + (((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)) AS count_all, + (m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) AS count_for_sign, + (m.count_signed + COALESCE(s.count_signed, (0)::bigint)) AS count_signed, + (m.count_enter + COALESCE(s.count_enter, (0)::bigint)) AS count_enter, + COALESCE(round(((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_for_sign, + COALESCE(round(((((m.count_signed + COALESCE(s.count_signed, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_signed, + COALESCE(round(((((m.count_enter + COALESCE(s.count_enter, (0)::bigint)))::numeric * 100.0) / (NULLIF((((((m.count_for_sign + COALESCE(s.count_for_sign, (0)::bigint)) + m.count_signed) + COALESCE(s.count_signed, (0)::bigint)) + m.count_enter) + COALESCE(s.count_enter, (0)::bigint)), 0))::numeric)), (0)::numeric) AS percent_enter + FROM (summonses_list.rf_leaving_ban m + LEFT JOIN ( SELECT DISTINCT ON (rf_leaving_ban_storage.recruitment_id, rf_leaving_ban_storage.summonses_reason_id, rf_leaving_ban_storage.info_date) rf_leaving_ban_storage.recruitment_id, + rf_leaving_ban_storage.summonses_reason_id, + rf_leaving_ban_storage.info_date, + rf_leaving_ban_storage.count_for_sign, + rf_leaving_ban_storage.count_signed, + rf_leaving_ban_storage.count_enter + FROM summonses_list.rf_leaving_ban_storage + ORDER BY rf_leaving_ban_storage.recruitment_id, rf_leaving_ban_storage.summonses_reason_id, rf_leaving_ban_storage.info_date, rf_leaving_ban_storage.update_date DESC) s ON ((((m.recruitment_id)::text = (s.recruitment_id)::text) AND (m.summonses_reason_id = s.summonses_reason_id) AND (m.info_date = s.info_date)))); """), where); } diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ImpositionTmpMeasuresStorageRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ImpositionTmpMeasuresStorageRecord.java new file mode 100644 index 0000000..2bb812a --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ImpositionTmpMeasuresStorageRecord.java @@ -0,0 +1,188 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.summonses_list.tables.ImpositionTmpMeasuresStorage; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class ImpositionTmpMeasuresStorageRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.imposition_tmp_measures_storage_id. + */ + public void setImpositionTmpMeasuresStorageId(Long value) { + set(0, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.imposition_tmp_measures_storage_id. + */ + public Long getImpositionTmpMeasuresStorageId() { + return (Long) get(0); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.recruitment_id. + */ + public void setRecruitmentId(String value) { + set(1, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.recruitment_id. + */ + public String getRecruitmentId() { + return (String) get(1); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.update_date. + */ + public void setUpdateDate(Timestamp value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.update_date. + */ + public Timestamp getUpdateDate() { + return (Timestamp) get(2); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.info_date. + */ + public void setInfoDate(Date value) { + set(3, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.info_date. + */ + public Date getInfoDate() { + return (Date) get(3); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.summonses_reason_id. + */ + public void setSummonsesReasonId(Long value) { + set(4, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.summonses_reason_id. + */ + public Long getSummonsesReasonId() { + return (Long) get(4); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.count_for_sign. + */ + public void setCountForSign(Long value) { + set(5, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.count_for_sign. + */ + public Long getCountForSign() { + return (Long) get(5); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.count_apply. + */ + public void setCountApply(Long value) { + set(6, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.count_apply. + */ + public Long getCountApply() { + return (Long) get(6); + } + + /** + * Setter for + * summonses_list.imposition_tmp_measures_storage.count_enter. + */ + public void setCountEnter(Long value) { + set(7, value); + } + + /** + * Getter for + * summonses_list.imposition_tmp_measures_storage.count_enter. + */ + public Long getCountEnter() { + return (Long) get(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached ImpositionTmpMeasuresStorageRecord + */ + public ImpositionTmpMeasuresStorageRecord() { + super(ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE); + } + + /** + * Create a detached, initialised ImpositionTmpMeasuresStorageRecord + */ + public ImpositionTmpMeasuresStorageRecord(Long impositionTmpMeasuresStorageId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countForSign, Long countApply, Long countEnter) { + super(ImpositionTmpMeasuresStorage.IMPOSITION_TMP_MEASURES_STORAGE); + + setImpositionTmpMeasuresStorageId(impositionTmpMeasuresStorageId); + setRecruitmentId(recruitmentId); + setUpdateDate(updateDate); + setInfoDate(infoDate); + setSummonsesReasonId(summonsesReasonId); + setCountForSign(countForSign); + setCountApply(countApply); + setCountEnter(countEnter); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/InfoSentToLkEpguStorageRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/InfoSentToLkEpguStorageRecord.java new file mode 100644 index 0000000..9894e73 --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/InfoSentToLkEpguStorageRecord.java @@ -0,0 +1,290 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.summonses_list.tables.InfoSentToLkEpguStorage; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class InfoSentToLkEpguStorageRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.info_sent_to_lk_epgu_storage_id. + */ + public void setInfoSentToLkEpguStorageId(Long value) { + set(0, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.info_sent_to_lk_epgu_storage_id. + */ + public Long getInfoSentToLkEpguStorageId() { + return (Long) get(0); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.recruitment_id. + */ + public void setRecruitmentId(String value) { + set(1, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.recruitment_id. + */ + public String getRecruitmentId() { + return (String) get(1); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.update_date. + */ + public void setUpdateDate(Timestamp value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.update_date. + */ + public Timestamp getUpdateDate() { + return (Timestamp) get(2); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.info_date. + */ + public void setInfoDate(Date value) { + set(3, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.info_date. + */ + public Date getInfoDate() { + return (Date) get(3); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.summonses_reason_id. + */ + public void setSummonsesReasonId(Long value) { + set(4, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.summonses_reason_id. + */ + public Long getSummonsesReasonId() { + return (Long) get(4); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_status_formed. + */ + public void setCountStatusFormed(Long value) { + set(5, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_status_formed. + */ + public Long getCountStatusFormed() { + return (Long) get(5); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_sended. + */ + public void setCountSended(Long value) { + set(6, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_sended. + */ + public Long getCountSended() { + return (Long) get(6); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_delivered. + */ + public void setCountDelivered(Long value) { + set(7, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_delivered. + */ + public Long getCountDelivered() { + return (Long) get(7); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_error. + */ + public void setCountError(Long value) { + set(8, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_error. + */ + public Long getCountError() { + return (Long) get(8); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_viewed. + */ + public void setCountViewed(Long value) { + set(9, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_viewed. + */ + public Long getCountViewed() { + return (Long) get(9); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_not_viewed. + */ + public void setCountNotViewed(Long value) { + set(10, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_not_viewed. + */ + public Long getCountNotViewed() { + return (Long) get(10); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_status_not_formed. + */ + public void setCountStatusNotFormed(Long value) { + set(11, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_status_not_formed. + */ + public Long getCountStatusNotFormed() { + return (Long) get(11); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_exceeded_send. + */ + public void setCountExceededSend(Long value) { + set(12, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_exceeded_send. + */ + public Long getCountExceededSend() { + return (Long) get(12); + } + + /** + * Setter for + * summonses_list.info_sent_to_lk_epgu_storage.count_exceeded_delivered. + */ + public void setCountExceededDelivered(Long value) { + set(13, value); + } + + /** + * Getter for + * summonses_list.info_sent_to_lk_epgu_storage.count_exceeded_delivered. + */ + public Long getCountExceededDelivered() { + return (Long) get(13); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached InfoSentToLkEpguStorageRecord + */ + public InfoSentToLkEpguStorageRecord() { + super(InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE); + } + + /** + * Create a detached, initialised InfoSentToLkEpguStorageRecord + */ + public InfoSentToLkEpguStorageRecord(Long infoSentToLkEpguStorageId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countStatusFormed, Long countSended, Long countDelivered, Long countError, Long countViewed, Long countNotViewed, Long countStatusNotFormed, Long countExceededSend, Long countExceededDelivered) { + super(InfoSentToLkEpguStorage.INFO_SENT_TO_LK_EPGU_STORAGE); + + setInfoSentToLkEpguStorageId(infoSentToLkEpguStorageId); + setRecruitmentId(recruitmentId); + setUpdateDate(updateDate); + setInfoDate(infoDate); + setSummonsesReasonId(summonsesReasonId); + setCountStatusFormed(countStatusFormed); + setCountSended(countSended); + setCountDelivered(countDelivered); + setCountError(countError); + setCountViewed(countViewed); + setCountNotViewed(countNotViewed); + setCountStatusNotFormed(countStatusNotFormed); + setCountExceededSend(countExceededSend); + setCountExceededDelivered(countExceededDelivered); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RemoveTmpMeasuresStorageRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RemoveTmpMeasuresStorageRecord.java new file mode 100644 index 0000000..419e61e --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RemoveTmpMeasuresStorageRecord.java @@ -0,0 +1,205 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.summonses_list.tables.RemoveTmpMeasuresStorage; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RemoveTmpMeasuresStorageRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.remove_tmp_measures_storage_id. + */ + public void setRemoveTmpMeasuresStorageId(Long value) { + set(0, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.remove_tmp_measures_storage_id. + */ + public Long getRemoveTmpMeasuresStorageId() { + return (Long) get(0); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.recruitment_id. + */ + public void setRecruitmentId(String value) { + set(1, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.recruitment_id. + */ + public String getRecruitmentId() { + return (String) get(1); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.update_date. + */ + public void setUpdateDate(Timestamp value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.update_date. + */ + public Timestamp getUpdateDate() { + return (Timestamp) get(2); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.info_date. + */ + public void setInfoDate(Date value) { + set(3, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.info_date. + */ + public Date getInfoDate() { + return (Date) get(3); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.summonses_reason_id. + */ + public void setSummonsesReasonId(Long value) { + set(4, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.summonses_reason_id. + */ + public Long getSummonsesReasonId() { + return (Long) get(4); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.count_formed. + */ + public void setCountFormed(Long value) { + set(5, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.count_formed. + */ + public Long getCountFormed() { + return (Long) get(5); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.count_for_sign. + */ + public void setCountForSign(Long value) { + set(6, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.count_for_sign. + */ + public Long getCountForSign() { + return (Long) get(6); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.count_signed. + */ + public void setCountSigned(Long value) { + set(7, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.count_signed. + */ + public Long getCountSigned() { + return (Long) get(7); + } + + /** + * Setter for + * summonses_list.remove_tmp_measures_storage.count_removed. + */ + public void setCountRemoved(Long value) { + set(8, value); + } + + /** + * Getter for + * summonses_list.remove_tmp_measures_storage.count_removed. + */ + public Long getCountRemoved() { + return (Long) get(8); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached RemoveTmpMeasuresStorageRecord + */ + public RemoveTmpMeasuresStorageRecord() { + super(RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE); + } + + /** + * Create a detached, initialised RemoveTmpMeasuresStorageRecord + */ + public RemoveTmpMeasuresStorageRecord(Long removeTmpMeasuresStorageId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countFormed, Long countForSign, Long countSigned, Long countRemoved) { + super(RemoveTmpMeasuresStorage.REMOVE_TMP_MEASURES_STORAGE); + + setRemoveTmpMeasuresStorageId(removeTmpMeasuresStorageId); + setRecruitmentId(recruitmentId); + setUpdateDate(updateDate); + setInfoDate(infoDate); + setSummonsesReasonId(summonsesReasonId); + setCountFormed(countFormed); + setCountForSign(countForSign); + setCountSigned(countSigned); + setCountRemoved(countRemoved); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RfLeavingBanStorageRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RfLeavingBanStorageRecord.java new file mode 100644 index 0000000..34aa11b --- /dev/null +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/RfLeavingBanStorageRecord.java @@ -0,0 +1,186 @@ +/* + * This file is generated by jOOQ. + */ +package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.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.summonses_list.tables.RfLeavingBanStorage; + + +/** + * This class is generated by jOOQ. + */ +@SuppressWarnings({ "all", "unchecked", "rawtypes" }) +public class RfLeavingBanStorageRecord extends UpdatableRecordImpl { + + private static final long serialVersionUID = 1L; + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.rf_leaving_ban_storage_id. + */ + public void setRfLeavingBanStorageId(Long value) { + set(0, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.rf_leaving_ban_storage_id. + */ + public Long getRfLeavingBanStorageId() { + return (Long) get(0); + } + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.recruitment_id. + */ + public void setRecruitmentId(String value) { + set(1, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.recruitment_id. + */ + public String getRecruitmentId() { + return (String) get(1); + } + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.update_date. + */ + public void setUpdateDate(Timestamp value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.update_date. + */ + public Timestamp getUpdateDate() { + return (Timestamp) get(2); + } + + /** + * Setter for summonses_list.rf_leaving_ban_storage.info_date. + */ + public void setInfoDate(Date value) { + set(3, value); + } + + /** + * Getter for summonses_list.rf_leaving_ban_storage.info_date. + */ + public Date getInfoDate() { + return (Date) get(3); + } + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.summonses_reason_id. + */ + public void setSummonsesReasonId(Long value) { + set(4, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.summonses_reason_id. + */ + public Long getSummonsesReasonId() { + return (Long) get(4); + } + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.count_for_sign. + */ + public void setCountForSign(Long value) { + set(5, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.count_for_sign. + */ + public Long getCountForSign() { + return (Long) get(5); + } + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.count_signed. + */ + public void setCountSigned(Long value) { + set(6, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.count_signed. + */ + public Long getCountSigned() { + return (Long) get(6); + } + + /** + * Setter for + * summonses_list.rf_leaving_ban_storage.count_enter. + */ + public void setCountEnter(Long value) { + set(7, value); + } + + /** + * Getter for + * summonses_list.rf_leaving_ban_storage.count_enter. + */ + public Long getCountEnter() { + return (Long) get(7); + } + + // ------------------------------------------------------------------------- + // Primary key information + // ------------------------------------------------------------------------- + + @Override + public Record1 key() { + return (Record1) super.key(); + } + + // ------------------------------------------------------------------------- + // Constructors + // ------------------------------------------------------------------------- + + /** + * Create a detached RfLeavingBanStorageRecord + */ + public RfLeavingBanStorageRecord() { + super(RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE); + } + + /** + * Create a detached, initialised RfLeavingBanStorageRecord + */ + public RfLeavingBanStorageRecord(Long rfLeavingBanStorageId, String recruitmentId, Timestamp updateDate, Date infoDate, Long summonsesReasonId, Long countForSign, Long countSigned, Long countEnter) { + super(RfLeavingBanStorage.RF_LEAVING_BAN_STORAGE); + + setRfLeavingBanStorageId(rfLeavingBanStorageId); + setRecruitmentId(recruitmentId); + setUpdateDate(updateDate); + setInfoDate(infoDate); + setSummonsesReasonId(summonsesReasonId); + setCountForSign(countForSign); + setCountSigned(countSigned); + setCountEnter(countEnter); + resetChangedOnNotNull(); + } +} diff --git a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ViewImpositionTmpMeasuresRecord.java b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ViewImpositionTmpMeasuresRecord.java index 2037389..12244b4 100644 --- a/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ViewImpositionTmpMeasuresRecord.java +++ b/backend/src/main/java/ru/micord/webbpm/ervu/business_metrics/db_beans/summonses_list/tables/records/ViewImpositionTmpMeasuresRecord.java @@ -51,12 +51,60 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_imposition_tmp_measures.count_for_sign. + */ + public void setCountForSign(Long value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.view_imposition_tmp_measures.count_for_sign. + */ + public Long getCountForSign() { + return (Long) get(2); + } + + /** + * Setter for + * summonses_list.view_imposition_tmp_measures.count_apply. + */ + public void setCountApply(Long value) { + set(3, value); + } + + /** + * Getter for + * summonses_list.view_imposition_tmp_measures.count_apply. + */ + public Long getCountApply() { + return (Long) get(3); + } + + /** + * Setter for + * summonses_list.view_imposition_tmp_measures.count_enter. + */ + public void setCountEnter(Long value) { + set(4, value); + } + + /** + * Getter for + * summonses_list.view_imposition_tmp_measures.count_enter. + */ + public Long getCountEnter() { + return (Long) get(4); + } + /** * Setter for * summonses_list.view_imposition_tmp_measures.percent_for_sign. */ public void setPercentForSign(BigDecimal value) { - set(2, value); + set(5, value); } /** @@ -64,7 +112,7 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_imposition_tmp_measures.percent_for_sign. */ public BigDecimal getPercentForSign() { - return (BigDecimal) get(2); + return (BigDecimal) get(5); } /** @@ -72,7 +120,7 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_imposition_tmp_measures.percent_apply. */ public void setPercentApply(BigDecimal value) { - set(3, value); + set(6, value); } /** @@ -80,7 +128,7 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_imposition_tmp_measures.percent_apply. */ public BigDecimal getPercentApply() { - return (BigDecimal) get(3); + return (BigDecimal) get(6); } /** @@ -88,7 +136,7 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_imposition_tmp_measures.percent_enter. */ public void setPercentEnter(BigDecimal value) { - set(4, value); + set(7, value); } /** @@ -96,7 +144,7 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_imposition_tmp_measures.percent_enter. */ public BigDecimal getPercentEnter() { - return (BigDecimal) get(4); + return (BigDecimal) get(7); } // ------------------------------------------------------------------------- @@ -113,11 +161,14 @@ public class ViewImpositionTmpMeasuresRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.percent_status_formed. + * summonses_list.view_info_sent_to_lk_epgu.count_status_formed. */ - public void setPercentStatusFormed(BigDecimal value) { + public void setCountStatusFormed(Long value) { set(1, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_status_formed. + * summonses_list.view_info_sent_to_lk_epgu.count_status_formed. */ - public BigDecimal getPercentStatusFormed() { - return (BigDecimal) get(1); + public Long getCountStatusFormed() { + return (Long) get(1); } /** * Setter for - * summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed. + * summonses_list.view_info_sent_to_lk_epgu.count_sended. */ - public void setPercentStatusNotFormed(BigDecimal value) { + public void setCountSended(Long value) { set(2, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed. + * summonses_list.view_info_sent_to_lk_epgu.count_sended. */ - public BigDecimal getPercentStatusNotFormed() { - return (BigDecimal) get(2); + public Long getCountSended() { + return (Long) get(2); } /** * Setter for - * summonses_list.view_info_sent_to_lk_epgu.percent_sended. + * summonses_list.view_info_sent_to_lk_epgu.count_delivered. */ - public void setPercentSended(BigDecimal value) { + public void setCountDelivered(Long value) { set(3, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_sended. + * summonses_list.view_info_sent_to_lk_epgu.count_delivered. */ - public BigDecimal getPercentSended() { - return (BigDecimal) get(3); + public Long getCountDelivered() { + return (Long) get(3); } /** * Setter for - * summonses_list.view_info_sent_to_lk_epgu.percent_delivered. + * summonses_list.view_info_sent_to_lk_epgu.count_error. */ - public void setPercentDelivered(BigDecimal value) { + public void setCountError(Long value) { set(4, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_delivered. + * summonses_list.view_info_sent_to_lk_epgu.count_error. */ - public BigDecimal getPercentDelivered() { - return (BigDecimal) get(4); + public Long getCountError() { + return (Long) get(4); } /** * Setter for - * summonses_list.view_info_sent_to_lk_epgu.percent_error. + * summonses_list.view_info_sent_to_lk_epgu.count_viewed. */ - public void setPercentError(BigDecimal value) { + public void setCountViewed(Long value) { set(5, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_error. + * summonses_list.view_info_sent_to_lk_epgu.count_viewed. */ - public BigDecimal getPercentError() { - return (BigDecimal) get(5); + public Long getCountViewed() { + return (Long) get(5); } /** * Setter for - * summonses_list.view_info_sent_to_lk_epgu.percent_viewed. + * summonses_list.view_info_sent_to_lk_epgu.count_not_viewed. */ - public void setPercentViewed(BigDecimal value) { + public void setCountNotViewed(Long value) { set(6, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_viewed. + * summonses_list.view_info_sent_to_lk_epgu.count_not_viewed. */ - public BigDecimal getPercentViewed() { - return (BigDecimal) get(6); + public Long getCountNotViewed() { + return (Long) get(6); } /** * Setter for - * summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed. + * summonses_list.view_info_sent_to_lk_epgu.count_status_not_formed. */ - public void setPercentNotViewed(BigDecimal value) { + public void setCountStatusNotFormed(Long value) { set(7, value); } /** * Getter for - * summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed. + * summonses_list.view_info_sent_to_lk_epgu.count_status_not_formed. */ - public BigDecimal getPercentNotViewed() { - return (BigDecimal) get(7); + public Long getCountStatusNotFormed() { + return (Long) get(7); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.count_exceeded_send. + */ + public void setCountExceededSend(Long value) { + set(8, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.count_exceeded_send. + */ + public Long getCountExceededSend() { + return (Long) get(8); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.count_exceeded_delivered. + */ + public void setCountExceededDelivered(Long value) { + set(9, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.count_exceeded_delivered. + */ + public Long getCountExceededDelivered() { + return (Long) get(9); } /** @@ -152,7 +184,7 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.count_all. */ public void setCountAll(Long value) { - set(8, value); + set(10, value); } /** @@ -160,7 +192,119 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.count_all. */ public Long getCountAll() { - return (Long) get(8); + return (Long) get(10); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_status_formed. + */ + public void setPercentStatusFormed(BigDecimal value) { + set(11, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_status_formed. + */ + public BigDecimal getPercentStatusFormed() { + return (BigDecimal) get(11); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed. + */ + public void setPercentStatusNotFormed(BigDecimal value) { + set(12, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_status_not_formed. + */ + public BigDecimal getPercentStatusNotFormed() { + return (BigDecimal) get(12); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_sended. + */ + public void setPercentSended(BigDecimal value) { + set(13, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_sended. + */ + public BigDecimal getPercentSended() { + return (BigDecimal) get(13); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_delivered. + */ + public void setPercentDelivered(BigDecimal value) { + set(14, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_delivered. + */ + public BigDecimal getPercentDelivered() { + return (BigDecimal) get(14); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_error. + */ + public void setPercentError(BigDecimal value) { + set(15, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_error. + */ + public BigDecimal getPercentError() { + return (BigDecimal) get(15); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_viewed. + */ + public void setPercentViewed(BigDecimal value) { + set(16, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_viewed. + */ + public BigDecimal getPercentViewed() { + return (BigDecimal) get(16); + } + + /** + * Setter for + * summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed. + */ + public void setPercentNotViewed(BigDecimal value) { + set(17, value); + } + + /** + * Getter for + * summonses_list.view_info_sent_to_lk_epgu.percent_not_viewed. + */ + public BigDecimal getPercentNotViewed() { + return (BigDecimal) get(17); } /** @@ -168,7 +312,7 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.percent_exceeded_send. */ public void setPercentExceededSend(BigDecimal value) { - set(9, value); + set(18, value); } /** @@ -176,7 +320,7 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.percent_exceeded_send. */ public BigDecimal getPercentExceededSend() { - return (BigDecimal) get(9); + return (BigDecimal) get(18); } /** @@ -184,7 +328,7 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.percent_exceeded_delivered. */ public void setPercentExceededDelivered(BigDecimal value) { - set(10, value); + set(19, value); } /** @@ -192,7 +336,7 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_info_sent_to_lk_epgu.percent_exceeded_delivered. */ public BigDecimal getPercentExceededDelivered() { - return (BigDecimal) get(10); + return (BigDecimal) get(19); } // ------------------------------------------------------------------------- @@ -209,10 +353,20 @@ public class ViewInfoSentToLkEpguRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.count_formed. + */ + public void setCountFormed(Long value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.view_remove_tmp_measures.count_formed. + */ + public Long getCountFormed() { + return (Long) get(2); + } + + /** + * Setter for + * summonses_list.view_remove_tmp_measures.count_for_sign. + */ + public void setCountForSign(Long value) { + set(3, value); + } + + /** + * Getter for + * summonses_list.view_remove_tmp_measures.count_for_sign. + */ + public Long getCountForSign() { + return (Long) get(3); + } + + /** + * Setter for + * summonses_list.view_remove_tmp_measures.count_signed. + */ + public void setCountSigned(Long value) { + set(4, value); + } + + /** + * Getter for + * summonses_list.view_remove_tmp_measures.count_signed. + */ + public Long getCountSigned() { + return (Long) get(4); + } + + /** + * Setter for + * summonses_list.view_remove_tmp_measures.count_removed. + */ + public void setCountRemoved(Long value) { + set(5, value); + } + + /** + * Getter for + * summonses_list.view_remove_tmp_measures.count_removed. + */ + public Long getCountRemoved() { + return (Long) get(5); + } + /** * Setter for * summonses_list.view_remove_tmp_measures.percent_formed. */ public void setPercentFormed(BigDecimal value) { - set(2, value); + set(6, value); } /** @@ -64,7 +128,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_formed. */ public BigDecimal getPercentFormed() { - return (BigDecimal) get(2); + return (BigDecimal) get(6); } /** @@ -72,7 +136,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_for_sign. */ public void setPercentForSign(BigDecimal value) { - set(3, value); + set(7, value); } /** @@ -80,7 +144,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_for_sign. */ public BigDecimal getPercentForSign() { - return (BigDecimal) get(3); + return (BigDecimal) get(7); } /** @@ -88,7 +152,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_signed. */ public void setPercentSigned(BigDecimal value) { - set(4, value); + set(8, value); } /** @@ -96,7 +160,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_signed. */ public BigDecimal getPercentSigned() { - return (BigDecimal) get(4); + return (BigDecimal) get(8); } /** @@ -104,7 +168,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_removed. */ public void setPercentRemoved(BigDecimal value) { - set(5, value); + set(9, value); } /** @@ -112,7 +176,7 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_remove_tmp_measures.percent_removed. */ public BigDecimal getPercentRemoved() { - return (BigDecimal) get(5); + return (BigDecimal) get(9); } // ------------------------------------------------------------------------- @@ -129,11 +193,15 @@ public class ViewRemoveTmpMeasuresRecord extends TableRecordImplsummonses_list.view_rf_leaving_ban.count_for_sign. + */ + public void setCountForSign(Long value) { + set(2, value); + } + + /** + * Getter for + * summonses_list.view_rf_leaving_ban.count_for_sign. + */ + public Long getCountForSign() { + return (Long) get(2); + } + + /** + * Setter for summonses_list.view_rf_leaving_ban.count_signed. + */ + public void setCountSigned(Long value) { + set(3, value); + } + + /** + * Getter for summonses_list.view_rf_leaving_ban.count_signed. + */ + public Long getCountSigned() { + return (Long) get(3); + } + + /** + * Setter for summonses_list.view_rf_leaving_ban.count_enter. + */ + public void setCountEnter(Long value) { + set(4, value); + } + + /** + * Getter for summonses_list.view_rf_leaving_ban.count_enter. + */ + public Long getCountEnter() { + return (Long) get(4); + } + /** * Setter for * summonses_list.view_rf_leaving_ban.percent_for_sign. */ public void setPercentForSign(BigDecimal value) { - set(2, value); + set(5, value); } /** @@ -62,7 +106,7 @@ public class ViewRfLeavingBanRecord extends TableRecordImplsummonses_list.view_rf_leaving_ban.percent_for_sign. */ public BigDecimal getPercentForSign() { - return (BigDecimal) get(2); + return (BigDecimal) get(5); } /** @@ -70,7 +114,7 @@ public class ViewRfLeavingBanRecord extends TableRecordImplsummonses_list.view_rf_leaving_ban.percent_signed. */ public void setPercentSigned(BigDecimal value) { - set(3, value); + set(6, value); } /** @@ -78,21 +122,21 @@ public class ViewRfLeavingBanRecord extends TableRecordImplsummonses_list.view_rf_leaving_ban.percent_signed. */ public BigDecimal getPercentSigned() { - return (BigDecimal) get(3); + return (BigDecimal) get(6); } /** * Setter for summonses_list.view_rf_leaving_ban.percent_enter. */ public void setPercentEnter(BigDecimal value) { - set(4, value); + set(7, value); } /** * Getter for summonses_list.view_rf_leaving_ban.percent_enter. */ public BigDecimal getPercentEnter() { - return (BigDecimal) get(4); + return (BigDecimal) get(7); } // ------------------------------------------------------------------------- @@ -109,11 +153,14 @@ public class ViewRfLeavingBanRecord extends TableRecordImpl - - b310f98a-69c6-4e7b-8cdb-f1ab9f9c0d94 - 8088a112-0582-401e-9cac-cf870a12d543 - Дата - false - true - be0e38c3-01c2-4122-85dd-1b6e176f543d 1f0f60cb-76fc-43c1-af7e-269d2e6fd322 @@ -9788,7 +9781,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"imposition_tmp_measures","entity":"imposition_tmp_measures","name":"count_for_sign"} + {"schema":"summonses_list","table":"view_imposition_tmp_measures","entity":"view_imposition_tmp_measures","name":"count_for_sign"} @@ -9810,7 +9803,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"imposition_tmp_measures","entity":"imposition_tmp_measures","name":"count_for_sign"} + {"schema":"summonses_list","table":"view_imposition_tmp_measures","entity":"view_imposition_tmp_measures","name":"count_for_sign"} @@ -9860,7 +9853,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"imposition_tmp_measures","entity":"imposition_tmp_measures","name":"count_apply"} + {"schema":"summonses_list","table":"view_imposition_tmp_measures","entity":"view_imposition_tmp_measures","name":"count_apply"} @@ -9882,7 +9875,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"imposition_tmp_measures","entity":"imposition_tmp_measures","name":"count_apply"} + {"schema":"summonses_list","table":"view_imposition_tmp_measures","entity":"view_imposition_tmp_measures","name":"count_apply"} @@ -9932,7 +9925,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"imposition_tmp_measures","entity":"imposition_tmp_measures","name":"count_enter"} + {"schema":"summonses_list","table":"view_imposition_tmp_measures","entity":"view_imposition_tmp_measures","name":"count_enter"} @@ -9954,7 +9947,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"imposition_tmp_measures","entity":"imposition_tmp_measures","name":"count_enter"} + {"schema":"summonses_list","table":"view_imposition_tmp_measures","entity":"view_imposition_tmp_measures","name":"count_enter"} @@ -11599,7 +11592,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"remove_tmp_measures","entity":"remove_tmp_measures","name":"count_for_sign"} + {"schema":"summonses_list","table":"view_remove_tmp_measures","entity":"view_remove_tmp_measures","name":"count_for_sign"} @@ -11621,7 +11614,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"remove_tmp_measures","entity":"remove_tmp_measures","name":"count_for_sign"} + {"schema":"summonses_list","table":"view_remove_tmp_measures","entity":"view_remove_tmp_measures","name":"count_for_sign"} @@ -11671,7 +11664,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"remove_tmp_measures","entity":"remove_tmp_measures","name":"count_signed"} + {"schema":"summonses_list","table":"view_remove_tmp_measures","entity":"view_remove_tmp_measures","name":"count_signed"} @@ -11693,7 +11686,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"remove_tmp_measures","entity":"remove_tmp_measures","name":"count_signed"} + {"schema":"summonses_list","table":"view_remove_tmp_measures","entity":"view_remove_tmp_measures","name":"count_signed"} @@ -11743,7 +11736,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"remove_tmp_measures","entity":"remove_tmp_measures","name":"count_removed"} + {"schema":"summonses_list","table":"view_remove_tmp_measures","entity":"view_remove_tmp_measures","name":"count_removed"} @@ -11765,7 +11758,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"remove_tmp_measures","entity":"remove_tmp_measures","name":"count_removed"} + {"schema":"summonses_list","table":"view_remove_tmp_measures","entity":"view_remove_tmp_measures","name":"count_removed"} @@ -13441,7 +13434,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"rf_leaving_ban","entity":"rf_leaving_ban","name":"count_for_sign"} + {"schema":"summonses_list","table":"view_rf_leaving_ban","entity":"view_rf_leaving_ban","name":"count_for_sign"} @@ -13463,7 +13456,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"rf_leaving_ban","entity":"rf_leaving_ban","name":"count_for_sign"} + {"schema":"summonses_list","table":"view_rf_leaving_ban","entity":"view_rf_leaving_ban","name":"count_for_sign"} @@ -13513,7 +13506,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"rf_leaving_ban","entity":"rf_leaving_ban","name":"count_signed"} + {"schema":"summonses_list","table":"view_rf_leaving_ban","entity":"view_rf_leaving_ban","name":"count_signed"} @@ -13535,7 +13528,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"rf_leaving_ban","entity":"rf_leaving_ban","name":"count_signed"} + {"schema":"summonses_list","table":"view_rf_leaving_ban","entity":"view_rf_leaving_ban","name":"count_signed"} @@ -13585,7 +13578,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"rf_leaving_ban","entity":"rf_leaving_ban","name":"count_enter"} + {"schema":"summonses_list","table":"view_rf_leaving_ban","entity":"view_rf_leaving_ban","name":"count_enter"} @@ -13607,7 +13600,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"rf_leaving_ban","entity":"rf_leaving_ban","name":"count_enter"} + {"schema":"summonses_list","table":"view_rf_leaving_ban","entity":"view_rf_leaving_ban","name":"count_enter"} @@ -17273,7 +17266,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_status_formed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_status_formed"} @@ -17295,7 +17288,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_status_formed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_status_formed"} @@ -17352,7 +17345,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_sended"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_sended"} @@ -17374,7 +17367,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_sended"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_sended"} @@ -17431,7 +17424,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_delivered"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_delivered"} @@ -17453,7 +17446,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_delivered"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_delivered"} @@ -17510,7 +17503,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_viewed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_viewed"} @@ -17532,7 +17525,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_viewed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_viewed"} @@ -17589,7 +17582,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_not_viewed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_not_viewed"} @@ -17611,7 +17604,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_not_viewed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_not_viewed"} @@ -17668,7 +17661,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_exceeded_delivered"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_exceeded_delivered"} @@ -17690,7 +17683,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_exceeded_delivered"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_exceeded_delivered"} @@ -17747,7 +17740,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_error"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_error"} @@ -17769,7 +17762,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_error"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_error"} @@ -17826,7 +17819,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_exceeded_send"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_exceeded_send"} @@ -17848,7 +17841,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_exceeded_send"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_exceeded_send"} @@ -17906,7 +17899,7 @@ defaultValueColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_status_not_formed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_status_not_formed"} @@ -17928,7 +17921,7 @@ valueByEventColumn - {"schema":"summonses_list","table":"info_sent_to_lk_epgu","entity":"info_sent_to_lk_epgu","name":"count_status_not_formed"} + {"schema":"summonses_list","table":"view_info_sent_to_lk_epgu","entity":"view_info_sent_to_lk_epgu","name":"count_status_not_formed"}