Граифики
This commit is contained in:
parent
73e940b3ab
commit
bffde52684
31 changed files with 4211 additions and 1765 deletions
|
|
@ -19,13 +19,14 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.App
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.IncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.InfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RejectionDecisions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RemovalRegistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Solutions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewApplicationsReceivedFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewApplicationsSentFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewDataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewIncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewInfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewRejectionDecisions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewRemovalRegistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewSolutions;
|
||||
|
||||
|
|
@ -74,6 +75,11 @@ public class Deregistration extends SchemaImpl {
|
|||
*/
|
||||
public final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ
|
||||
*/
|
||||
public final RejectionDecisions REJECTION_DECISIONS = RejectionDecisions.REJECTION_DECISIONS;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.removal_registration</code>.
|
||||
*/
|
||||
|
|
@ -100,16 +106,16 @@ public class Deregistration extends SchemaImpl {
|
|||
*/
|
||||
public final ViewDataFromGirVu VIEW_DATA_FROM_GIR_VU = ViewDataFromGirVu.VIEW_DATA_FROM_GIR_VU;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_incidents_info</code>.
|
||||
*/
|
||||
public final ViewIncidentsInfo VIEW_INCIDENTS_INFO = ViewIncidentsInfo.VIEW_INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_info_sent_to_lk_epgu</code>.
|
||||
*/
|
||||
public final ViewInfoSentToLkEpgu VIEW_INFO_SENT_TO_LK_EPGU = ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_rejection_decisions</code>.
|
||||
*/
|
||||
public final ViewRejectionDecisions VIEW_REJECTION_DECISIONS = ViewRejectionDecisions.VIEW_REJECTION_DECISIONS;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_removal_registration</code>.
|
||||
*/
|
||||
|
|
@ -149,13 +155,14 @@ public class Deregistration extends SchemaImpl {
|
|||
DataFromGirVu.DATA_FROM_GIR_VU,
|
||||
IncidentsInfo.INCIDENTS_INFO,
|
||||
InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU,
|
||||
RejectionDecisions.REJECTION_DECISIONS,
|
||||
RemovalRegistration.REMOVAL_REGISTRATION,
|
||||
Solutions.SOLUTIONS,
|
||||
ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU,
|
||||
ViewApplicationsSentFromEpgu.VIEW_APPLICATIONS_SENT_FROM_EPGU,
|
||||
ViewDataFromGirVu.VIEW_DATA_FROM_GIR_VU,
|
||||
ViewIncidentsInfo.VIEW_INCIDENTS_INFO,
|
||||
ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU,
|
||||
ViewRejectionDecisions.VIEW_REJECTION_DECISIONS,
|
||||
ViewRemovalRegistration.VIEW_REMOVAL_REGISTRATION,
|
||||
ViewSolutions.VIEW_SOLUTIONS
|
||||
);
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.App
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.IncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.InfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RejectionDecisions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RemovalRegistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Solutions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.ActiveApplicationsRecord;
|
||||
|
|
@ -24,6 +25,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.rec
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.DataFromGirVuRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.IncidentsInfoRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.InfoSentToLkEpguRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.RejectionDecisionsRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.RemovalRegistrationRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.SolutionsRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment;
|
||||
|
|
@ -47,6 +49,7 @@ public class Keys {
|
|||
public static final UniqueKey<DataFromGirVuRecord> DATA_FROM_GIR_VU_PKEY = Internal.createUniqueKey(DataFromGirVu.DATA_FROM_GIR_VU, DSL.name("data_from_gir_vu_pkey"), new TableField[] { DataFromGirVu.DATA_FROM_GIR_VU.DATA_FROM_GIR_VU_ID }, true);
|
||||
public static final UniqueKey<IncidentsInfoRecord> INCIDENTS_INFO_PKEY = Internal.createUniqueKey(IncidentsInfo.INCIDENTS_INFO, DSL.name("incidents_info_pkey"), new TableField[] { IncidentsInfo.INCIDENTS_INFO.INCIDENTS_INFO_ID }, true);
|
||||
public static final UniqueKey<InfoSentToLkEpguRecord> 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<RejectionDecisionsRecord> REJECTION_DECISIONS_PKEY = Internal.createUniqueKey(RejectionDecisions.REJECTION_DECISIONS, DSL.name("rejection_decisions_pkey"), new TableField[] { RejectionDecisions.REJECTION_DECISIONS.REJECTION_DECISIONS_ID }, true);
|
||||
public static final UniqueKey<RemovalRegistrationRecord> REMOVAL_REGISTRATION_PKEY = Internal.createUniqueKey(RemovalRegistration.REMOVAL_REGISTRATION, DSL.name("removal_registration_pkey"), new TableField[] { RemovalRegistration.REMOVAL_REGISTRATION.REMOVAL_REGISTRATION_ID }, true);
|
||||
public static final UniqueKey<SolutionsRecord> SOLUTIONS_PKEY = Internal.createUniqueKey(Solutions.SOLUTIONS, DSL.name("solutions_pkey"), new TableField[] { Solutions.SOLUTIONS.SOLUTIONS_ID }, true);
|
||||
|
||||
|
|
@ -60,6 +63,7 @@ public class Keys {
|
|||
public static final ForeignKey<DataFromGirVuRecord, RecruitmentRecord> DATA_FROM_GIR_VU__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(DataFromGirVu.DATA_FROM_GIR_VU, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { DataFromGirVu.DATA_FROM_GIR_VU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<IncidentsInfoRecord, RecruitmentRecord> INCIDENTS_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(IncidentsInfo.INCIDENTS_INFO, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { IncidentsInfo.INCIDENTS_INFO.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<InfoSentToLkEpguRecord, RecruitmentRecord> INFO_SENT_TO_LK_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<RejectionDecisionsRecord, RecruitmentRecord> REJECTION_DECISIONS__FK_REJECTION_DECISIONS_RECRUITMENT_ID = Internal.createForeignKey(RejectionDecisions.REJECTION_DECISIONS, DSL.name("fk_rejection_decisions_recruitment_id"), new TableField[] { RejectionDecisions.REJECTION_DECISIONS.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<RemovalRegistrationRecord, RecruitmentRecord> REMOVAL_REGISTRATION__FK_REMOVAL_REGISTRATION_RECRUITMENT_ID = Internal.createForeignKey(RemovalRegistration.REMOVAL_REGISTRATION, DSL.name("fk_removal_registration_recruitment_id"), new TableField[] { RemovalRegistration.REMOVAL_REGISTRATION.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<SolutionsRecord, RecruitmentRecord> SOLUTIONS__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(Solutions.SOLUTIONS, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { Solutions.SOLUTIONS.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,14 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.App
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.IncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.InfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RejectionDecisions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RemovalRegistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Solutions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewApplicationsReceivedFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewApplicationsSentFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewDataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewIncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewInfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewRejectionDecisions;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewRemovalRegistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewSolutions;
|
||||
|
||||
|
|
@ -58,6 +59,11 @@ public class Tables {
|
|||
*/
|
||||
public static final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ
|
||||
*/
|
||||
public static final RejectionDecisions REJECTION_DECISIONS = RejectionDecisions.REJECTION_DECISIONS;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.removal_registration</code>.
|
||||
*/
|
||||
|
|
@ -84,16 +90,16 @@ public class Tables {
|
|||
*/
|
||||
public static final ViewDataFromGirVu VIEW_DATA_FROM_GIR_VU = ViewDataFromGirVu.VIEW_DATA_FROM_GIR_VU;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_incidents_info</code>.
|
||||
*/
|
||||
public static final ViewIncidentsInfo VIEW_INCIDENTS_INFO = ViewIncidentsInfo.VIEW_INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_info_sent_to_lk_epgu</code>.
|
||||
*/
|
||||
public static final ViewInfoSentToLkEpgu VIEW_INFO_SENT_TO_LK_EPGU = ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_rejection_decisions</code>.
|
||||
*/
|
||||
public static final ViewRejectionDecisions VIEW_REJECTION_DECISIONS = ViewRejectionDecisions.VIEW_REJECTION_DECISIONS;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_removal_registration</code>.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -80,14 +80,11 @@ public class IncidentsInfo extends TableImpl<IncidentsInfoRecord> {
|
|||
public final TableField<IncidentsInfoRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.incidents_info.count_for_sign</code>.
|
||||
* The column
|
||||
* <code>deregistration.incidents_info.count_incidents_registration</code>.
|
||||
* инцидентов зарегистрировано
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, Long> COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.incidents_info.count_signed</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, Long> COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
public final TableField<IncidentsInfoRecord, Long> COUNT_INCIDENTS_REGISTRATION = createField(DSL.name("count_incidents_registration"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "инцидентов зарегистрировано");
|
||||
|
||||
private IncidentsInfo(Name alias, Table<IncidentsInfoRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,319 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.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.deregistration.Deregistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.RejectionDecisionsRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
|
||||
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RejectionDecisions extends TableImpl<RejectionDecisionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>deregistration.rejection_decisions</code>
|
||||
*/
|
||||
public static final RejectionDecisions REJECTION_DECISIONS = new RejectionDecisions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<RejectionDecisionsRecord> getRecordType() {
|
||||
return RejectionDecisionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.rejection_decisions.rejection_decisions_id</code>.
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, Long> REJECTION_DECISIONS_ID = createField(DSL.name("rejection_decisions_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.rejection_decisions.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.rejection_decisions.update_date</code>.
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, Timestamp> UPDATE_DATE = createField(DSL.name("update_date"), SQLDataType.TIMESTAMP(0).nullable(false).defaultValue(DSL.field(DSL.raw("now()"), SQLDataType.TIMESTAMP)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.rejection_decisions.info_date</code>.
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.rejection_decisions.count_for_sign</code>. Доступно
|
||||
* для подписания
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, Long> COUNT_FOR_SIGN = createField(DSL.name("count_for_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Доступно для подписания");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.rejection_decisions.count_signed</code>.
|
||||
* Подписано
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, Long> COUNT_SIGNED = createField(DSL.name("count_signed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Подписано");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.rejection_decisions.count_refused</code>.
|
||||
* Отклонено
|
||||
*/
|
||||
public final TableField<RejectionDecisionsRecord, Long> COUNT_REFUSED = createField(DSL.name("count_refused"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Отклонено");
|
||||
|
||||
private RejectionDecisions(Name alias, Table<RejectionDecisionsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private RejectionDecisions(Name alias, Table<RejectionDecisionsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.rejection_decisions</code> table
|
||||
* reference
|
||||
*/
|
||||
public RejectionDecisions(String alias) {
|
||||
this(DSL.name(alias), REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.rejection_decisions</code> table
|
||||
* reference
|
||||
*/
|
||||
public RejectionDecisions(Name alias) {
|
||||
this(alias, REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>deregistration.rejection_decisions</code> table reference
|
||||
*/
|
||||
public RejectionDecisions() {
|
||||
this(DSL.name("rejection_decisions"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> RejectionDecisions(Table<O> path, ForeignKey<O, RejectionDecisionsRecord> childPath, InverseForeignKey<O, RejectionDecisionsRecord> parentPath) {
|
||||
super(path, childPath, parentPath, REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class RejectionDecisionsPath extends RejectionDecisions implements Path<RejectionDecisionsRecord> {
|
||||
public <O extends Record> RejectionDecisionsPath(Table<O> path, ForeignKey<O, RejectionDecisionsRecord> childPath, InverseForeignKey<O, RejectionDecisionsRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private RejectionDecisionsPath(Name alias, Table<RejectionDecisionsRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RejectionDecisionsPath as(String alias) {
|
||||
return new RejectionDecisionsPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RejectionDecisionsPath as(Name alias) {
|
||||
return new RejectionDecisionsPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RejectionDecisionsPath as(Table<?> alias) {
|
||||
return new RejectionDecisionsPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Deregistration.DEREGISTRATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<RejectionDecisionsRecord, Long> getIdentity() {
|
||||
return (Identity<RejectionDecisionsRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<RejectionDecisionsRecord> getPrimaryKey() {
|
||||
return Keys.REJECTION_DECISIONS_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<RejectionDecisionsRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.REJECTION_DECISIONS__FK_REJECTION_DECISIONS_RECRUITMENT_ID);
|
||||
}
|
||||
|
||||
private transient RecruitmentPath _recruitment;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>metrics.recruitment</code> table.
|
||||
*/
|
||||
public RecruitmentPath recruitment() {
|
||||
if (_recruitment == null)
|
||||
_recruitment = new RecruitmentPath(this, Keys.REJECTION_DECISIONS__FK_REJECTION_DECISIONS_RECRUITMENT_ID, null);
|
||||
|
||||
return _recruitment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RejectionDecisions as(String alias) {
|
||||
return new RejectionDecisions(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RejectionDecisions as(Name alias) {
|
||||
return new RejectionDecisions(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RejectionDecisions as(Table<?> alias) {
|
||||
return new RejectionDecisions(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions rename(String name) {
|
||||
return new RejectionDecisions(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions rename(Name name) {
|
||||
return new RejectionDecisions(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions rename(Table<?> name) {
|
||||
return new RejectionDecisions(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions where(Condition condition) {
|
||||
return new RejectionDecisions(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RejectionDecisions where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RejectionDecisions where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RejectionDecisions where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public RejectionDecisions where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public RejectionDecisions whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -1,238 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
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.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Deregistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.ViewIncidentsInfoRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewIncidentsInfo extends TableImpl<ViewIncidentsInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>deregistration.view_incidents_info</code>
|
||||
*/
|
||||
public static final ViewIncidentsInfo VIEW_INCIDENTS_INFO = new ViewIncidentsInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewIncidentsInfoRecord> getRecordType() {
|
||||
return ViewIncidentsInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, Long> INCIDENTS_INFO_ID = createField(DSL.name("incidents_info_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.view_incidents_info.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_incidents_info.percent_for_sign</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, BigDecimal> PERCENT_FOR_SIGN = createField(DSL.name("percent_for_sign"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_incidents_info.percent_signed</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewIncidentsInfo(Name alias, Table<ViewIncidentsInfoRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewIncidentsInfo(Name alias, Table<ViewIncidentsInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_incidents_info" as SELECT incidents_info.incidents_info_id,
|
||||
(incidents_info.count_for_sign + incidents_info.count_signed) AS count_all,
|
||||
round((((incidents_info.count_for_sign)::numeric * (100)::numeric) / ((incidents_info.count_for_sign + incidents_info.count_signed))::numeric)) AS percent_for_sign,
|
||||
round((((incidents_info.count_signed)::numeric * (100)::numeric) / ((incidents_info.count_for_sign + incidents_info.count_signed))::numeric)) AS percent_signed
|
||||
FROM deregistration.incidents_info;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.view_incidents_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsInfo(String alias) {
|
||||
this(DSL.name(alias), VIEW_INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.view_incidents_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsInfo(Name alias) {
|
||||
this(alias, VIEW_INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>deregistration.view_incidents_info</code> table reference
|
||||
*/
|
||||
public ViewIncidentsInfo() {
|
||||
this(DSL.name("view_incidents_info"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Deregistration.DEREGISTRATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewIncidentsInfo as(String alias) {
|
||||
return new ViewIncidentsInfo(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewIncidentsInfo as(Name alias) {
|
||||
return new ViewIncidentsInfo(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewIncidentsInfo as(Table<?> alias) {
|
||||
return new ViewIncidentsInfo(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo rename(String name) {
|
||||
return new ViewIncidentsInfo(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo rename(Name name) {
|
||||
return new ViewIncidentsInfo(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo rename(Table<?> name) {
|
||||
return new ViewIncidentsInfo(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo where(Condition condition) {
|
||||
return new ViewIncidentsInfo(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsInfo where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsInfo where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsInfo where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsInfo where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsInfo whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,248 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
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.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Deregistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.ViewRejectionDecisionsRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewRejectionDecisions extends TableImpl<ViewRejectionDecisionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>deregistration.view_rejection_decisions</code>
|
||||
*/
|
||||
public static final ViewRejectionDecisions VIEW_REJECTION_DECISIONS = new ViewRejectionDecisions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewRejectionDecisionsRecord> getRecordType() {
|
||||
return ViewRejectionDecisionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_rejection_decisions.rejection_decisions_id</code>.
|
||||
*/
|
||||
public final TableField<ViewRejectionDecisionsRecord, Long> REJECTION_DECISIONS_ID = createField(DSL.name("rejection_decisions_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_rejection_decisions.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewRejectionDecisionsRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_rejection_decisions.percent_for_sign</code>.
|
||||
*/
|
||||
public final TableField<ViewRejectionDecisionsRecord, BigDecimal> PERCENT_FOR_SIGN = createField(DSL.name("percent_for_sign"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_rejection_decisions.percent_signed</code>.
|
||||
*/
|
||||
public final TableField<ViewRejectionDecisionsRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_rejection_decisions.percent_refused</code>.
|
||||
*/
|
||||
public final TableField<ViewRejectionDecisionsRecord, BigDecimal> PERCENT_REFUSED = createField(DSL.name("percent_refused"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewRejectionDecisions(Name alias, Table<ViewRejectionDecisionsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewRejectionDecisions(Name alias, Table<ViewRejectionDecisionsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_rejection_decisions" as SELECT rejection_decisions.rejection_decisions_id,
|
||||
((rejection_decisions.count_for_sign + rejection_decisions.count_signed) + rejection_decisions.count_refused) AS count_all,
|
||||
round((((rejection_decisions.count_for_sign)::numeric * (100)::numeric) / (((rejection_decisions.count_for_sign + rejection_decisions.count_signed) + rejection_decisions.count_refused))::numeric)) AS percent_for_sign,
|
||||
round((((rejection_decisions.count_signed)::numeric * (100)::numeric) / (((rejection_decisions.count_for_sign + rejection_decisions.count_signed) + rejection_decisions.count_refused))::numeric)) AS percent_signed,
|
||||
round((((rejection_decisions.count_refused)::numeric * (100)::numeric) / (((rejection_decisions.count_for_sign + rejection_decisions.count_signed) + rejection_decisions.count_refused))::numeric)) AS percent_refused
|
||||
FROM deregistration.rejection_decisions;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.view_rejection_decisions</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewRejectionDecisions(String alias) {
|
||||
this(DSL.name(alias), VIEW_REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.view_rejection_decisions</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewRejectionDecisions(Name alias) {
|
||||
this(alias, VIEW_REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>deregistration.view_rejection_decisions</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewRejectionDecisions() {
|
||||
this(DSL.name("view_rejection_decisions"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Deregistration.DEREGISTRATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewRejectionDecisions as(String alias) {
|
||||
return new ViewRejectionDecisions(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewRejectionDecisions as(Name alias) {
|
||||
return new ViewRejectionDecisions(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewRejectionDecisions as(Table<?> alias) {
|
||||
return new ViewRejectionDecisions(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions rename(String name) {
|
||||
return new ViewRejectionDecisions(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions rename(Name name) {
|
||||
return new ViewRejectionDecisions(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions rename(Table<?> name) {
|
||||
return new ViewRejectionDecisions(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions where(Condition condition) {
|
||||
return new ViewRejectionDecisions(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRejectionDecisions where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRejectionDecisions where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRejectionDecisions where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRejectionDecisions where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRejectionDecisions whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -78,33 +78,23 @@ public class IncidentsInfoRecord extends UpdatableRecordImpl<IncidentsInfoRecord
|
|||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.incidents_info.count_for_sign</code>.
|
||||
* Setter for
|
||||
* <code>deregistration.incidents_info.count_incidents_registration</code>.
|
||||
* инцидентов зарегистрировано
|
||||
*/
|
||||
public void setCountForSign(Long value) {
|
||||
public void setCountIncidentsRegistration(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.incidents_info.count_for_sign</code>.
|
||||
* Getter for
|
||||
* <code>deregistration.incidents_info.count_incidents_registration</code>.
|
||||
* инцидентов зарегистрировано
|
||||
*/
|
||||
public Long getCountForSign() {
|
||||
public Long getCountIncidentsRegistration() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.incidents_info.count_signed</code>.
|
||||
*/
|
||||
public void setCountSigned(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.incidents_info.count_signed</code>.
|
||||
*/
|
||||
public Long getCountSigned() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -128,15 +118,14 @@ public class IncidentsInfoRecord extends UpdatableRecordImpl<IncidentsInfoRecord
|
|||
/**
|
||||
* Create a detached, initialised IncidentsInfoRecord
|
||||
*/
|
||||
public IncidentsInfoRecord(Long incidentsInfoId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countForSign, Long countSigned) {
|
||||
public IncidentsInfoRecord(Long incidentsInfoId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countIncidentsRegistration) {
|
||||
super(IncidentsInfo.INCIDENTS_INFO);
|
||||
|
||||
setIncidentsInfoId(incidentsInfoId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountForSign(countForSign);
|
||||
setCountSigned(countSigned);
|
||||
setCountIncidentsRegistration(countIncidentsRegistration);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,169 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.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.deregistration.tables.RejectionDecisions;
|
||||
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RejectionDecisionsRecord extends UpdatableRecordImpl<RejectionDecisionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.rejection_decisions.rejection_decisions_id</code>.
|
||||
*/
|
||||
public void setRejectionDecisionsId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.rejection_decisions.rejection_decisions_id</code>.
|
||||
*/
|
||||
public Long getRejectionDecisionsId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.rejection_decisions.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.rejection_decisions.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.rejection_decisions.update_date</code>.
|
||||
*/
|
||||
public void setUpdateDate(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.rejection_decisions.update_date</code>.
|
||||
*/
|
||||
public Timestamp getUpdateDate() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.rejection_decisions.info_date</code>.
|
||||
*/
|
||||
public void setInfoDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.rejection_decisions.info_date</code>.
|
||||
*/
|
||||
public Date getInfoDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.rejection_decisions.count_for_sign</code>. Доступно
|
||||
* для подписания
|
||||
*/
|
||||
public void setCountForSign(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.rejection_decisions.count_for_sign</code>. Доступно
|
||||
* для подписания
|
||||
*/
|
||||
public Long getCountForSign() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.rejection_decisions.count_signed</code>.
|
||||
* Подписано
|
||||
*/
|
||||
public void setCountSigned(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.rejection_decisions.count_signed</code>.
|
||||
* Подписано
|
||||
*/
|
||||
public Long getCountSigned() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.rejection_decisions.count_refused</code>.
|
||||
* Отклонено
|
||||
*/
|
||||
public void setCountRefused(Long value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.rejection_decisions.count_refused</code>.
|
||||
* Отклонено
|
||||
*/
|
||||
public Long getCountRefused() {
|
||||
return (Long) get(6);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RejectionDecisionsRecord
|
||||
*/
|
||||
public RejectionDecisionsRecord() {
|
||||
super(RejectionDecisions.REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RejectionDecisionsRecord
|
||||
*/
|
||||
public RejectionDecisionsRecord(Long rejectionDecisionsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countForSign, Long countSigned, Long countRefused) {
|
||||
super(RejectionDecisions.REJECTION_DECISIONS);
|
||||
|
||||
setRejectionDecisionsId(rejectionDecisionsId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountForSign(countForSign);
|
||||
setCountSigned(countSigned);
|
||||
setCountRefused(countRefused);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1,107 +0,0 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewIncidentsInfo;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewIncidentsInfoRecord extends TableRecordImpl<ViewIncidentsInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public void setIncidentsInfoId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public Long getIncidentsInfoId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.view_incidents_info.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.view_incidents_info.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_incidents_info.percent_for_sign</code>.
|
||||
*/
|
||||
public void setPercentForSign(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_incidents_info.percent_for_sign</code>.
|
||||
*/
|
||||
public BigDecimal getPercentForSign() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_incidents_info.percent_signed</code>.
|
||||
*/
|
||||
public void setPercentSigned(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_incidents_info.percent_signed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSigned() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewIncidentsInfoRecord
|
||||
*/
|
||||
public ViewIncidentsInfoRecord() {
|
||||
super(ViewIncidentsInfo.VIEW_INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewIncidentsInfoRecord
|
||||
*/
|
||||
public ViewIncidentsInfoRecord(Long incidentsInfoId, Long countAll, BigDecimal percentForSign, BigDecimal percentSigned) {
|
||||
super(ViewIncidentsInfo.VIEW_INCIDENTS_INFO);
|
||||
|
||||
setIncidentsInfoId(incidentsInfoId);
|
||||
setCountAll(countAll);
|
||||
setPercentForSign(percentForSign);
|
||||
setPercentSigned(percentSigned);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewRejectionDecisions;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewRejectionDecisionsRecord extends TableRecordImpl<ViewRejectionDecisionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_rejection_decisions.rejection_decisions_id</code>.
|
||||
*/
|
||||
public void setRejectionDecisionsId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_rejection_decisions.rejection_decisions_id</code>.
|
||||
*/
|
||||
public Long getRejectionDecisionsId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_rejection_decisions.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_rejection_decisions.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_rejection_decisions.percent_for_sign</code>.
|
||||
*/
|
||||
public void setPercentForSign(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_rejection_decisions.percent_for_sign</code>.
|
||||
*/
|
||||
public BigDecimal getPercentForSign() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_rejection_decisions.percent_signed</code>.
|
||||
*/
|
||||
public void setPercentSigned(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_rejection_decisions.percent_signed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSigned() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_rejection_decisions.percent_refused</code>.
|
||||
*/
|
||||
public void setPercentRefused(BigDecimal value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_rejection_decisions.percent_refused</code>.
|
||||
*/
|
||||
public BigDecimal getPercentRefused() {
|
||||
return (BigDecimal) get(4);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewRejectionDecisionsRecord
|
||||
*/
|
||||
public ViewRejectionDecisionsRecord() {
|
||||
super(ViewRejectionDecisions.VIEW_REJECTION_DECISIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewRejectionDecisionsRecord
|
||||
*/
|
||||
public ViewRejectionDecisionsRecord(Long rejectionDecisionsId, Long countAll, BigDecimal percentForSign, BigDecimal percentSigned, BigDecimal percentRefused) {
|
||||
super(ViewRejectionDecisions.VIEW_REJECTION_DECISIONS);
|
||||
|
||||
setRejectionDecisionsId(rejectionDecisionsId);
|
||||
setCountAll(countAll);
|
||||
setPercentForSign(percentForSign);
|
||||
setPercentSigned(percentSigned);
|
||||
setPercentRefused(percentRefused);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -44,6 +44,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.admin_indicators.tables.U
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ActiveApplications.ActiveApplicationsPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ApplicationsSentFromEpgu.ApplicationsSentFromEpguPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu.DataFromGirVuPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RejectionDecisions.RejectionDecisionsPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.RemovalRegistration.RemovalRegistrationPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Solutions.SolutionsPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.CitizensNextYearAge.CitizensNextYearAgePath;
|
||||
|
|
@ -584,6 +585,19 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
|
|||
return _dataFromGirVu;
|
||||
}
|
||||
|
||||
private transient RejectionDecisionsPath _rejectionDecisions;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>deregistration.rejection_decisions</code> table
|
||||
*/
|
||||
public RejectionDecisionsPath rejectionDecisions() {
|
||||
if (_rejectionDecisions == null)
|
||||
_rejectionDecisions = new RejectionDecisionsPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Keys.REJECTION_DECISIONS__FK_REJECTION_DECISIONS_RECRUITMENT_ID.getInverseKey());
|
||||
|
||||
return _rejectionDecisions;
|
||||
}
|
||||
|
||||
private transient RemovalRegistrationPath _removalRegistration;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -24,6 +24,8 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_addre
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportSummSing;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportTmpMeas;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ApplicationsReceivedFromEpguRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataFromGirVuRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ChangeDataPersonalVisitRecord;
|
||||
|
|
@ -36,6 +38,8 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_addre
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.PersonalInfoStatRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.RecordsAboutRegistratedCitizenRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SummonsesSignRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SupportSummSingRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SupportTmpMeasRecord;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -61,6 +65,8 @@ public class Keys {
|
|||
public static final UniqueKey<PersonalInfoStatRecord> PERSONAL_INFO_STAT_PKEY = Internal.createUniqueKey(PersonalInfoStat.PERSONAL_INFO_STAT, DSL.name("personal_info_stat_pkey"), new TableField[] { PersonalInfoStat.PERSONAL_INFO_STAT.PERSONAL_INFO_STAT_ID }, true);
|
||||
public static final UniqueKey<RecordsAboutRegistratedCitizenRecord> RECORDS_ABOUT_REGISTRATED_CITIZEN_PKEY = Internal.createUniqueKey(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN, DSL.name("records_about_registrated_citizen_pkey"), new TableField[] { RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN.RECORDS_ABOUT_REGISTRATED_CITIZEN_ID }, true);
|
||||
public static final UniqueKey<SummonsesSignRecord> SUMMONSES_SIGN_PKEY = Internal.createUniqueKey(SummonsesSign.SUMMONSES_SIGN, DSL.name("summonses_sign_pkey"), new TableField[] { SummonsesSign.SUMMONSES_SIGN.SUMMONSES_SIGN_ID }, true);
|
||||
public static final UniqueKey<SupportSummSingRecord> SUPPORT_SUMM_SING_PKEY = Internal.createUniqueKey(SupportSummSing.SUPPORT_SUMM_SING, DSL.name("support_summ_sing_pkey"), new TableField[] { SupportSummSing.SUPPORT_SUMM_SING.SUPPORT_SUMM_SING_ID }, true);
|
||||
public static final UniqueKey<SupportTmpMeasRecord> SUPPORT_TMP_MEAS_PKEY = Internal.createUniqueKey(SupportTmpMeas.SUPPORT_TMP_MEAS, DSL.name("support_tmp_meas_pkey"), new TableField[] { SupportTmpMeas.SUPPORT_TMP_MEAS.SUPPORT_TMP_MEAS_ID }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_addre
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportSummSing;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportTmpMeas;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewApplicationsReceivedFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
|
||||
|
|
@ -119,6 +121,16 @@ public class RegistrationChangeAddress extends SchemaImpl {
|
|||
*/
|
||||
public final SummonsesSign SUMMONSES_SIGN = SummonsesSign.SUMMONSES_SIGN;
|
||||
|
||||
/**
|
||||
* The table <code>registration_change_address.support_summ_sing</code>.
|
||||
*/
|
||||
public final SupportSummSing SUPPORT_SUMM_SING = SupportSummSing.SUPPORT_SUMM_SING;
|
||||
|
||||
/**
|
||||
* The table <code>registration_change_address.support_tmp_meas</code>.
|
||||
*/
|
||||
public final SupportTmpMeas SUPPORT_TMP_MEAS = SupportTmpMeas.SUPPORT_TMP_MEAS;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>registration_change_address.view_applications_received_from_epgu</code>.
|
||||
|
|
@ -194,7 +206,9 @@ public class RegistrationChangeAddress extends SchemaImpl {
|
|||
public final List<Sequence<?>> getSequences() {
|
||||
return Arrays.asList(
|
||||
Sequences.APPLICATIONS_RECEIVED_FROM_EP_APPLICATIONS_RECEIVED_FROM_EP_SEQ,
|
||||
Sequences.RECORDS_ABOUT_REGISTRATED_CIT_RECORDS_ABOUT_REGISTRATED_CIT_SEQ
|
||||
Sequences.RECORDS_ABOUT_REGISTRATED_CIT_RECORDS_ABOUT_REGISTRATED_CIT_SEQ,
|
||||
Sequences.SUPPORT_SUMM_SING_SEQ,
|
||||
Sequences.SUPPORT_TMP_MEASID_SEQ
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -213,6 +227,8 @@ public class RegistrationChangeAddress extends SchemaImpl {
|
|||
PersonalInfoStat.PERSONAL_INFO_STAT,
|
||||
RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN,
|
||||
SummonsesSign.SUMMONSES_SIGN,
|
||||
SupportSummSing.SUPPORT_SUMM_SING,
|
||||
SupportTmpMeas.SUPPORT_TMP_MEAS,
|
||||
ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU,
|
||||
ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU,
|
||||
ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT,
|
||||
|
|
|
|||
|
|
@ -26,4 +26,16 @@ public class Sequences {
|
|||
* <code>registration_change_address.records_about_registrated_cit_records_about_registrated_cit_seq</code>
|
||||
*/
|
||||
public static final Sequence<Long> RECORDS_ABOUT_REGISTRATED_CIT_RECORDS_ABOUT_REGISTRATED_CIT_SEQ = Internal.createSequence("records_about_registrated_cit_records_about_registrated_cit_seq", RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
|
||||
|
||||
/**
|
||||
* The sequence
|
||||
* <code>registration_change_address.support_summ_sing_seq</code>
|
||||
*/
|
||||
public static final Sequence<Long> SUPPORT_SUMM_SING_SEQ = Internal.createSequence("support_summ_sing_seq", RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
|
||||
|
||||
/**
|
||||
* The sequence
|
||||
* <code>registration_change_address.support_tmp_measid_seq</code>
|
||||
*/
|
||||
public static final Sequence<Long> SUPPORT_TMP_MEASID_SEQ = Internal.createSequence("support_tmp_measid_seq", RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,6 +16,8 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_addre
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportSummSing;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportTmpMeas;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewApplicationsReceivedFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
|
||||
|
|
@ -103,6 +105,16 @@ public class Tables {
|
|||
*/
|
||||
public static final SummonsesSign SUMMONSES_SIGN = SummonsesSign.SUMMONSES_SIGN;
|
||||
|
||||
/**
|
||||
* The table <code>registration_change_address.support_summ_sing</code>.
|
||||
*/
|
||||
public static final SupportSummSing SUPPORT_SUMM_SING = SupportSummSing.SUPPORT_SUMM_SING;
|
||||
|
||||
/**
|
||||
* The table <code>registration_change_address.support_tmp_meas</code>.
|
||||
*/
|
||||
public static final SupportTmpMeas SUPPORT_TMP_MEAS = SupportTmpMeas.SUPPORT_TMP_MEAS;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>registration_change_address.view_applications_received_from_epgu</code>.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,261 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables;
|
||||
|
||||
|
||||
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.registration_change_address.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SupportSummSingRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SupportSummSing extends TableImpl<SupportSummSingRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>registration_change_address.support_summ_sing</code>
|
||||
*/
|
||||
public static final SupportSummSing SUPPORT_SUMM_SING = new SupportSummSing();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SupportSummSingRecord> getRecordType() {
|
||||
return SupportSummSingRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_summ_sing.support_summ_sing_id</code>.
|
||||
*/
|
||||
public final TableField<SupportSummSingRecord, Long> SUPPORT_SUMM_SING_ID = createField(DSL.name("support_summ_sing_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_summ_sing.progress</code>.
|
||||
*/
|
||||
public final TableField<SupportSummSingRecord, Boolean> PROGRESS = createField(DSL.name("progress"), SQLDataType.BOOLEAN.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_summ_sing.change_rec</code>.
|
||||
*/
|
||||
public final TableField<SupportSummSingRecord, Boolean> CHANGE_REC = createField(DSL.name("change_rec"), SQLDataType.BOOLEAN.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_summ_sing.code</code>.
|
||||
*/
|
||||
public final TableField<SupportSummSingRecord, String> CODE = createField(DSL.name("code"), SQLDataType.VARCHAR(10), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_summ_sing.source_last_update</code>.
|
||||
*/
|
||||
public final TableField<SupportSummSingRecord, String> SOURCE_LAST_UPDATE = createField(DSL.name("source_last_update"), SQLDataType.VARCHAR(10).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_summ_sing.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<SupportSummSingRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
private SupportSummSing(Name alias, Table<SupportSummSingRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private SupportSummSing(Name alias, Table<SupportSummSingRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.support_summ_sing</code> table
|
||||
* reference
|
||||
*/
|
||||
public SupportSummSing(String alias) {
|
||||
this(DSL.name(alias), SUPPORT_SUMM_SING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.support_summ_sing</code> table
|
||||
* reference
|
||||
*/
|
||||
public SupportSummSing(Name alias) {
|
||||
this(alias, SUPPORT_SUMM_SING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>registration_change_address.support_summ_sing</code> table
|
||||
* reference
|
||||
*/
|
||||
public SupportSummSing() {
|
||||
this(DSL.name("support_summ_sing"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<SupportSummSingRecord, Long> getIdentity() {
|
||||
return (Identity<SupportSummSingRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<SupportSummSingRecord> getPrimaryKey() {
|
||||
return Keys.SUPPORT_SUMM_SING_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportSummSing as(String alias) {
|
||||
return new SupportSummSing(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportSummSing as(Name alias) {
|
||||
return new SupportSummSing(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportSummSing as(Table<?> alias) {
|
||||
return new SupportSummSing(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing rename(String name) {
|
||||
return new SupportSummSing(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing rename(Name name) {
|
||||
return new SupportSummSing(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing rename(Table<?> name) {
|
||||
return new SupportSummSing(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing where(Condition condition) {
|
||||
return new SupportSummSing(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportSummSing where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportSummSing where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportSummSing where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportSummSing where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportSummSing whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,247 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables;
|
||||
|
||||
|
||||
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.registration_change_address.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.RegistrationChangeAddress;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.SupportTmpMeasRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SupportTmpMeas extends TableImpl<SupportTmpMeasRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>registration_change_address.support_tmp_meas</code>
|
||||
*/
|
||||
public static final SupportTmpMeas SUPPORT_TMP_MEAS = new SupportTmpMeas();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SupportTmpMeasRecord> getRecordType() {
|
||||
return SupportTmpMeasRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_tmp_meas.support_tmp_meas_id</code>.
|
||||
*/
|
||||
public final TableField<SupportTmpMeasRecord, Long> SUPPORT_TMP_MEAS_ID = createField(DSL.name("support_tmp_meas_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_tmp_meas.source_last_update</code>.
|
||||
*/
|
||||
public final TableField<SupportTmpMeasRecord, String> SOURCE_LAST_UPDATE = createField(DSL.name("source_last_update"), SQLDataType.VARCHAR(10).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_tmp_meas.status_applied</code>.
|
||||
*/
|
||||
public final TableField<SupportTmpMeasRecord, String> STATUS_APPLIED = createField(DSL.name("status_applied"), SQLDataType.VARCHAR(10), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.support_tmp_meas.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<SupportTmpMeasRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
private SupportTmpMeas(Name alias, Table<SupportTmpMeasRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private SupportTmpMeas(Name alias, Table<SupportTmpMeasRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.support_tmp_meas</code> table reference
|
||||
*/
|
||||
public SupportTmpMeas(String alias) {
|
||||
this(DSL.name(alias), SUPPORT_TMP_MEAS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.support_tmp_meas</code> table reference
|
||||
*/
|
||||
public SupportTmpMeas(Name alias) {
|
||||
this(alias, SUPPORT_TMP_MEAS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>registration_change_address.support_tmp_meas</code> table
|
||||
* reference
|
||||
*/
|
||||
public SupportTmpMeas() {
|
||||
this(DSL.name("support_tmp_meas"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<SupportTmpMeasRecord, Long> getIdentity() {
|
||||
return (Identity<SupportTmpMeasRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<SupportTmpMeasRecord> getPrimaryKey() {
|
||||
return Keys.SUPPORT_TMP_MEAS_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportTmpMeas as(String alias) {
|
||||
return new SupportTmpMeas(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportTmpMeas as(Name alias) {
|
||||
return new SupportTmpMeas(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportTmpMeas as(Table<?> alias) {
|
||||
return new SupportTmpMeas(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas rename(String name) {
|
||||
return new SupportTmpMeas(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas rename(Name name) {
|
||||
return new SupportTmpMeas(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas rename(Table<?> name) {
|
||||
return new SupportTmpMeas(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas where(Condition condition) {
|
||||
return new SupportTmpMeas(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportTmpMeas where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportTmpMeas where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportTmpMeas where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportTmpMeas where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportTmpMeas whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,151 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportSummSing;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SupportSummSingRecord extends UpdatableRecordImpl<SupportSummSingRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_summ_sing.support_summ_sing_id</code>.
|
||||
*/
|
||||
public void setSupportSummSingId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_summ_sing.support_summ_sing_id</code>.
|
||||
*/
|
||||
public Long getSupportSummSingId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_summ_sing.progress</code>.
|
||||
*/
|
||||
public void setProgress(Boolean value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_summ_sing.progress</code>.
|
||||
*/
|
||||
public Boolean getProgress() {
|
||||
return (Boolean) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_summ_sing.change_rec</code>.
|
||||
*/
|
||||
public void setChangeRec(Boolean value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_summ_sing.change_rec</code>.
|
||||
*/
|
||||
public Boolean getChangeRec() {
|
||||
return (Boolean) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_summ_sing.code</code>.
|
||||
*/
|
||||
public void setCode(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_summ_sing.code</code>.
|
||||
*/
|
||||
public String getCode() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_summ_sing.source_last_update</code>.
|
||||
*/
|
||||
public void setSourceLastUpdate(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_summ_sing.source_last_update</code>.
|
||||
*/
|
||||
public String getSourceLastUpdate() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_summ_sing.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_summ_sing.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SupportSummSingRecord
|
||||
*/
|
||||
public SupportSummSingRecord() {
|
||||
super(SupportSummSing.SUPPORT_SUMM_SING);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SupportSummSingRecord
|
||||
*/
|
||||
public SupportSummSingRecord(Long supportSummSingId, Boolean progress, Boolean changeRec, String code, String sourceLastUpdate, String recruitmentId) {
|
||||
super(SupportSummSing.SUPPORT_SUMM_SING);
|
||||
|
||||
setSupportSummSingId(supportSummSingId);
|
||||
setProgress(progress);
|
||||
setChangeRec(changeRec);
|
||||
setCode(code);
|
||||
setSourceLastUpdate(sourceLastUpdate);
|
||||
setRecruitmentId(recruitmentId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SupportTmpMeas;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SupportTmpMeasRecord extends UpdatableRecordImpl<SupportTmpMeasRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_tmp_meas.support_tmp_meas_id</code>.
|
||||
*/
|
||||
public void setSupportTmpMeasId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_tmp_meas.support_tmp_meas_id</code>.
|
||||
*/
|
||||
public Long getSupportTmpMeasId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_tmp_meas.source_last_update</code>.
|
||||
*/
|
||||
public void setSourceLastUpdate(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_tmp_meas.source_last_update</code>.
|
||||
*/
|
||||
public String getSourceLastUpdate() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_tmp_meas.status_applied</code>.
|
||||
*/
|
||||
public void setStatusApplied(String value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_tmp_meas.status_applied</code>.
|
||||
*/
|
||||
public String getStatusApplied() {
|
||||
return (String) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.support_tmp_meas.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.support_tmp_meas.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SupportTmpMeasRecord
|
||||
*/
|
||||
public SupportTmpMeasRecord() {
|
||||
super(SupportTmpMeas.SUPPORT_TMP_MEAS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SupportTmpMeasRecord
|
||||
*/
|
||||
public SupportTmpMeasRecord(Long supportTmpMeasId, String sourceLastUpdate, String statusApplied, String recruitmentId) {
|
||||
super(SupportTmpMeas.SUPPORT_TMP_MEAS);
|
||||
|
||||
setSupportTmpMeasId(supportTmpMeasId);
|
||||
setSourceLastUpdate(sourceLastUpdate);
|
||||
setStatusApplied(statusApplied);
|
||||
setRecruitmentId(recruitmentId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -20,6 +20,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.Inf
|
|||
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.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;
|
||||
|
|
@ -28,6 +29,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.rec
|
|||
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.SummonsesReasonRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records.SupportLkRecord;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -50,6 +52,7 @@ public class Keys {
|
|||
public static final UniqueKey<RemoveTmpMeasuresRecord> 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<SummonsesReasonRecord> 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<SummonsesReasonRecord> UNI_SUMMONSES_REASON1 = Internal.createUniqueKey(SummonsesReason.SUMMONSES_REASON, DSL.name("uni_summonses_reason1"), new TableField[] { SummonsesReason.SUMMONSES_REASON.CODE }, true);
|
||||
public static final UniqueKey<SupportLkRecord> SUPPORT_LK_PKEY = Internal.createUniqueKey(SupportLk.SUPPORT_LK, DSL.name("support_lk_pkey"), new TableField[] { SupportLk.SUPPORT_LK.SUPPORT_LK_ID }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
|
|
|
|||
|
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* 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 <code>summonses_list.support_lk_id_seq</code>
|
||||
*/
|
||||
public static final Sequence<Long> SUPPORT_LK_ID_SEQ = Internal.createSequence("support_lk_id_seq", SummonsesList.SUMMONSES_LIST, SQLDataType.BIGINT.nullable(false), null, null, null, null, false, null);
|
||||
}
|
||||
|
|
@ -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;
|
||||
|
||||
|
|
@ -20,6 +21,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.Inf
|
|||
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.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;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewFormedSummonses;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewImpositionTmpMeasures;
|
||||
|
|
@ -81,6 +83,11 @@ public class SummonsesList extends SchemaImpl {
|
|||
*/
|
||||
public final SummonsesReason SUMMONSES_REASON = SummonsesReason.SUMMONSES_REASON;
|
||||
|
||||
/**
|
||||
* The table <code>summonses_list.support_lk</code>.
|
||||
*/
|
||||
public final SupportLk SUPPORT_LK = SupportLk.SUPPORT_LK;
|
||||
|
||||
/**
|
||||
* The table <code>summonses_list.view_all_summonses</code>.
|
||||
*/
|
||||
|
|
@ -124,6 +131,13 @@ public class SummonsesList extends SchemaImpl {
|
|||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Sequence<?>> getSequences() {
|
||||
return Arrays.asList(
|
||||
Sequences.SUPPORT_LK_ID_SEQ
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
|
|
@ -135,6 +149,7 @@ public class SummonsesList extends SchemaImpl {
|
|||
RecruitOfficeVisit.RECRUIT_OFFICE_VISIT,
|
||||
RemoveTmpMeasures.REMOVE_TMP_MEASURES,
|
||||
SummonsesReason.SUMMONSES_REASON,
|
||||
SupportLk.SUPPORT_LK,
|
||||
ViewAllSummonses.VIEW_ALL_SUMMONSES,
|
||||
ViewFormedSummonses.VIEW_FORMED_SUMMONSES,
|
||||
ViewImpositionTmpMeasures.VIEW_IMPOSITION_TMP_MEASURES,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.Inf
|
|||
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.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;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewFormedSummonses;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.ViewImpositionTmpMeasures;
|
||||
|
|
@ -66,6 +67,11 @@ public class Tables {
|
|||
*/
|
||||
public static final SummonsesReason SUMMONSES_REASON = SummonsesReason.SUMMONSES_REASON;
|
||||
|
||||
/**
|
||||
* The table <code>summonses_list.support_lk</code>.
|
||||
*/
|
||||
public static final SupportLk SUPPORT_LK = SupportLk.SUPPORT_LK;
|
||||
|
||||
/**
|
||||
* The table <code>summonses_list.view_all_summonses</code>.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,239 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables;
|
||||
|
||||
|
||||
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.SupportLkRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SupportLk extends TableImpl<SupportLkRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>summonses_list.support_lk</code>
|
||||
*/
|
||||
public static final SupportLk SUPPORT_LK = new SupportLk();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<SupportLkRecord> getRecordType() {
|
||||
return SupportLkRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>summonses_list.support_lk.support_lk_id</code>.
|
||||
*/
|
||||
public final TableField<SupportLkRecord, Long> SUPPORT_LK_ID = createField(DSL.name("support_lk_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>summonses_list.support_lk.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<SupportLkRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>summonses_list.support_lk.summonses_reason_id</code>.
|
||||
*/
|
||||
public final TableField<SupportLkRecord, Long> SUMMONSES_REASON_ID = createField(DSL.name("summonses_reason_id"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>summonses_list.support_lk.system_pgs_status</code>.
|
||||
*/
|
||||
public final TableField<SupportLkRecord, String> SYSTEM_PGS_STATUS = createField(DSL.name("system_pgs_status"), SQLDataType.VARCHAR(10), this, "");
|
||||
|
||||
private SupportLk(Name alias, Table<SupportLkRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private SupportLk(Name alias, Table<SupportLkRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>summonses_list.support_lk</code> table reference
|
||||
*/
|
||||
public SupportLk(String alias) {
|
||||
this(DSL.name(alias), SUPPORT_LK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>summonses_list.support_lk</code> table reference
|
||||
*/
|
||||
public SupportLk(Name alias) {
|
||||
this(alias, SUPPORT_LK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>summonses_list.support_lk</code> table reference
|
||||
*/
|
||||
public SupportLk() {
|
||||
this(DSL.name("support_lk"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : SummonsesList.SUMMONSES_LIST;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<SupportLkRecord, Long> getIdentity() {
|
||||
return (Identity<SupportLkRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<SupportLkRecord> getPrimaryKey() {
|
||||
return Keys.SUPPORT_LK_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportLk as(String alias) {
|
||||
return new SupportLk(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportLk as(Name alias) {
|
||||
return new SupportLk(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SupportLk as(Table<?> alias) {
|
||||
return new SupportLk(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk rename(String name) {
|
||||
return new SupportLk(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk rename(Name name) {
|
||||
return new SupportLk(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk rename(Table<?> name) {
|
||||
return new SupportLk(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk where(Condition condition) {
|
||||
return new SupportLk(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportLk where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportLk where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportLk where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public SupportLk where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public SupportLk whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.summonses_list.tables.SupportLk;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class SupportLkRecord extends UpdatableRecordImpl<SupportLkRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>summonses_list.support_lk.support_lk_id</code>.
|
||||
*/
|
||||
public void setSupportLkId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>summonses_list.support_lk.support_lk_id</code>.
|
||||
*/
|
||||
public Long getSupportLkId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>summonses_list.support_lk.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>summonses_list.support_lk.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>summonses_list.support_lk.summonses_reason_id</code>.
|
||||
*/
|
||||
public void setSummonsesReasonId(Long value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>summonses_list.support_lk.summonses_reason_id</code>.
|
||||
*/
|
||||
public Long getSummonsesReasonId() {
|
||||
return (Long) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>summonses_list.support_lk.system_pgs_status</code>.
|
||||
*/
|
||||
public void setSystemPgsStatus(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>summonses_list.support_lk.system_pgs_status</code>.
|
||||
*/
|
||||
public String getSystemPgsStatus() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached SupportLkRecord
|
||||
*/
|
||||
public SupportLkRecord() {
|
||||
super(SupportLk.SUPPORT_LK);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised SupportLkRecord
|
||||
*/
|
||||
public SupportLkRecord(Long supportLkId, String recruitmentId, Long summonsesReasonId, String systemPgsStatus) {
|
||||
super(SupportLk.SUPPORT_LK);
|
||||
|
||||
setSupportLkId(supportLkId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setSummonsesReasonId(summonsesReasonId);
|
||||
setSystemPgsStatus(systemPgsStatus);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -13,4 +13,20 @@
|
|||
ALTER TABLE IF EXISTS metrics.incidents_files_requests OWNER to ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0002" author="saliakhov">
|
||||
<comment>edit table</comment>
|
||||
<sql>
|
||||
DROP VIEW IF EXISTS deregistration.view_incidents_info;
|
||||
|
||||
ALTER TABLE deregistration.incidents_info DROP COLUMN IF EXISTS count_for_sign;
|
||||
ALTER TABLE deregistration.incidents_info DROP COLUMN IF EXISTS count_signed;
|
||||
|
||||
ALTER TABLE deregistration.incidents_info ADD COLUMN IF NOT EXISTS count_incidents_registration int8 DEFAULT 0 NOT NULL;
|
||||
|
||||
COMMENT ON COLUMN deregistration.incidents_info.count_incidents_registration IS 'инцидентов зарегистрировано';
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
|
||||
|
||||
|
||||
<changeSet id="0001" author="saliakhov">
|
||||
<comment>create table</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS deregistration.rejection_decisions (
|
||||
rejection_decisions_id bigserial NOT NULL,
|
||||
recruitment_id varchar(36) NOT NULL,
|
||||
update_date timestamp DEFAULT now() NOT NULL,
|
||||
info_date date NOT NULL,
|
||||
count_for_sign int8 DEFAULT 0 NOT NULL,
|
||||
count_signed int8 DEFAULT 0 NOT NULL,
|
||||
count_refused int8 DEFAULT 0 NOT NULL,
|
||||
CONSTRAINT rejection_decisions_pkey PRIMARY KEY (rejection_decisions_id),
|
||||
CONSTRAINT fk_rejection_decisions_recruitment_id FOREIGN KEY (recruitment_id) REFERENCES metrics.recruitment(id)
|
||||
);
|
||||
CREATE INDEX IF NOT EXISTS idx_rejection_decisions_date ON deregistration.rejection_decisions USING btree (info_date);
|
||||
CREATE INDEX IF NOT EXISTS idx_rejection_decisions_recr ON deregistration.rejection_decisions USING btree (recruitment_id);
|
||||
CREATE INDEX IF NOT EXISTS idx_rejection_decisions_recr_date ON deregistration.rejection_decisions USING btree (recruitment_id, info_date);
|
||||
|
||||
ALTER TABLE IF EXISTS deregistration.rejection_decisions OWNER to ervu_business_metrics;
|
||||
|
||||
COMMENT ON TABLE deregistration.rejection_decisions IS 'Снятие с воинского учета. Сформированные решения об отказе в снятии с ВУ';
|
||||
|
||||
COMMENT ON COLUMN deregistration.rejection_decisions.count_for_sign IS 'Доступно для подписания';
|
||||
COMMENT ON COLUMN deregistration.rejection_decisions.count_signed IS 'Подписано';
|
||||
COMMENT ON COLUMN deregistration.rejection_decisions.count_refused IS 'Отклонено';
|
||||
|
||||
|
||||
CREATE OR REPLACE VIEW deregistration.view_rejection_decisions
|
||||
AS SELECT rejection_decisions.rejection_decisions_id,
|
||||
rejection_decisions.count_for_sign + rejection_decisions.count_signed + rejection_decisions.count_refused AS count_all,
|
||||
round(rejection_decisions.count_for_sign::numeric * 100::numeric / (rejection_decisions.count_for_sign + rejection_decisions.count_signed + rejection_decisions.count_refused)::numeric) AS percent_for_sign,
|
||||
round(rejection_decisions.count_signed::numeric * 100::numeric / (rejection_decisions.count_for_sign + rejection_decisions.count_signed + rejection_decisions.count_refused)::numeric) AS percent_signed,
|
||||
round(rejection_decisions.count_refused::numeric * 100::numeric / (rejection_decisions.count_for_sign + rejection_decisions.count_signed + rejection_decisions.count_refused)::numeric) AS percent_refused
|
||||
FROM deregistration.rejection_decisions;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
@ -16,5 +16,6 @@
|
|||
<include file="20241219-ERVU-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20241220-ERVU-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20241227-ERVU-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20241228-ERVU-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
@ -1491,6 +1491,7 @@
|
|||
<componentRootId>7b47ba81-1c81-4780-b0f6-7fe726e099a7</componentRootId>
|
||||
<name>Постановка в 17 лет</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="d1ce20ca-453b-4610-a2a5-bb6498db5cf5">
|
||||
<properties>
|
||||
|
|
@ -26467,7 +26468,6 @@
|
|||
<componentRootId>160f5fc4-2041-4779-9bad-e5b9bf61ad86</componentRootId>
|
||||
<name>ВК ГИР ВУ</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
|
||||
<scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
|
||||
|
|
@ -26479,7 +26479,6 @@
|
|||
<componentRootId>21f993d1-071b-440c-9e26-245a6095025c</componentRootId>
|
||||
<name>ГК Первый ряд</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -26504,7 +26503,6 @@
|
|||
<componentRootId>a55d6b3f-4191-4aa3-be54-99bd86215c5c</componentRootId>
|
||||
<name>Первоначальная постановка на учет по данным ГИР ВУ</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -27868,7 +27866,7 @@
|
|||
<children id="8ba9dc01-f3f5-4a2a-a199-f298e9d13af7">
|
||||
<prototypeId>ba24d307-0b91-4299-ba82-9d0b52384ff2</prototypeId>
|
||||
<componentRootId>8ba9dc01-f3f5-4a2a-a199-f298e9d13af7</componentRootId>
|
||||
<name>граждан, отбывавших наказания в местах лишения свободы</name>
|
||||
<name>граждан, отбывающие наказание в местах лишения свободы</name>
|
||||
<container>false</container>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="cf4526a1-96ab-4820-8aa9-62fb54c2b64c">
|
||||
|
|
@ -27876,7 +27874,7 @@
|
|||
<entry>
|
||||
<key>initialValue</key>
|
||||
<value>
|
||||
<simple>"граждан, отбывавших наказания в местах лишения свободы"</simple>
|
||||
<simple>"граждан, отбывающие наказание в местах лишения свободы"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
|
|
@ -27888,7 +27886,7 @@
|
|||
<entry>
|
||||
<key>tooltip</key>
|
||||
<value>
|
||||
<simple>"граждан, отбывавших наказания в местах лишения свободы"</simple>
|
||||
<simple>"граждан, отбывающие наказание в местах лишения свободы"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
|
|
@ -27980,6 +27978,7 @@
|
|||
<componentRootId>92967285-75e0-49f4-baa0-646d7fc1e213</componentRootId>
|
||||
<name>ВК Присвоение идентификатора</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -29462,6 +29461,7 @@
|
|||
<componentRootId>78372736-3179-4b79-bd3a-8c1df6f2c9ba</componentRootId>
|
||||
<name>ГК Второй ряд</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -34324,6 +34324,7 @@
|
|||
<componentRootId>62e2055e-ccf0-4878-9420-5aa4c2cd0a0c</componentRootId>
|
||||
<name>ВК ЕПГУ</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue