825-4,825
This commit is contained in:
parent
011f865a6b
commit
b24e58dac7
9 changed files with 3924 additions and 1627 deletions
|
|
@ -18,6 +18,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.App
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ApplicationsSentFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DecisionsSigning;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.GeneratedSolutions;
|
||||
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;
|
||||
|
|
@ -27,6 +28,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Vie
|
|||
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.ViewDecisionsSigning;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewGeneratedSolutions;
|
||||
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;
|
||||
|
|
@ -71,6 +73,11 @@ public class Deregistration extends SchemaImpl {
|
|||
*/
|
||||
public final DecisionsSigning DECISIONS_SIGNING = DecisionsSigning.DECISIONS_SIGNING;
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения
|
||||
*/
|
||||
public final GeneratedSolutions GENERATED_SOLUTIONS = GeneratedSolutions.GENERATED_SOLUTIONS;
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Инциденты (сверка данных от гражданина с ГИС
|
||||
* ЕРВУ)
|
||||
|
|
@ -118,6 +125,11 @@ public class Deregistration extends SchemaImpl {
|
|||
*/
|
||||
public final ViewDecisionsSigning VIEW_DECISIONS_SIGNING = ViewDecisionsSigning.VIEW_DECISIONS_SIGNING;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_generated_solutions</code>.
|
||||
*/
|
||||
public final ViewGeneratedSolutions VIEW_GENERATED_SOLUTIONS = ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_info_sent_to_lk_epgu</code>.
|
||||
*/
|
||||
|
|
@ -166,6 +178,7 @@ public class Deregistration extends SchemaImpl {
|
|||
ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_EPGU,
|
||||
DataFromGirVu.DATA_FROM_GIR_VU,
|
||||
DecisionsSigning.DECISIONS_SIGNING,
|
||||
GeneratedSolutions.GENERATED_SOLUTIONS,
|
||||
IncidentsInfo.INCIDENTS_INFO,
|
||||
InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU,
|
||||
RejectionDecisions.REJECTION_DECISIONS,
|
||||
|
|
@ -175,6 +188,7 @@ public class Deregistration extends SchemaImpl {
|
|||
ViewApplicationsSentFromEpgu.VIEW_APPLICATIONS_SENT_FROM_EPGU,
|
||||
ViewDataFromGirVu.VIEW_DATA_FROM_GIR_VU,
|
||||
ViewDecisionsSigning.VIEW_DECISIONS_SIGNING,
|
||||
ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS,
|
||||
ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU,
|
||||
ViewRejectionDecisions.VIEW_REJECTION_DECISIONS,
|
||||
ViewRemovalRegistration.VIEW_REMOVAL_REGISTRATION,
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.App
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ApplicationsSentFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DecisionsSigning;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.GeneratedSolutions;
|
||||
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;
|
||||
|
|
@ -25,6 +26,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.ApplicationsSentFromEpguRecord;
|
||||
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.DecisionsSigningRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.records.GeneratedSolutionsRecord;
|
||||
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;
|
||||
|
|
@ -50,6 +52,7 @@ public class Keys {
|
|||
public static final UniqueKey<ApplicationsSentFromEpguRecord> APPLICATIONS_SENT_FROM_EPGU_PKEY = Internal.createUniqueKey(ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_EPGU, DSL.name("applications_sent_from_epgu_pkey"), new TableField[] { ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_EPGU.APPLICATIONS_SENT_FROM_EPGU_ID }, true);
|
||||
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<DecisionsSigningRecord> DECISIONS_SIGNING_PKEY = Internal.createUniqueKey(DecisionsSigning.DECISIONS_SIGNING, DSL.name("decisions_signing_pkey"), new TableField[] { DecisionsSigning.DECISIONS_SIGNING.DECISIONS_SIGNING_ID }, true);
|
||||
public static final UniqueKey<GeneratedSolutionsRecord> GENERATED_SOLUTIONS_PKEY = Internal.createUniqueKey(GeneratedSolutions.GENERATED_SOLUTIONS, DSL.name("generated_solutions_pkey"), new TableField[] { GeneratedSolutions.GENERATED_SOLUTIONS.GENERATED_SOLUTIONS_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);
|
||||
|
|
@ -65,6 +68,7 @@ public class Keys {
|
|||
public static final ForeignKey<ApplicationsSentFromEpguRecord, RecruitmentRecord> APPLICATIONS_SENT_FROM_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { ApplicationsSentFromEpgu.APPLICATIONS_SENT_FROM_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<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<DecisionsSigningRecord, RecruitmentRecord> DECISIONS_SIGNING__FK_DECISIONS_SIGNING_RECRUITMENT_ID = Internal.createForeignKey(DecisionsSigning.DECISIONS_SIGNING, DSL.name("fk_decisions_signing_recruitment_id"), new TableField[] { DecisionsSigning.DECISIONS_SIGNING.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<GeneratedSolutionsRecord, RecruitmentRecord> GENERATED_SOLUTIONS__FK_GENERATED_SOLUTIONS_RECRUITMENT_ID = Internal.createForeignKey(GeneratedSolutions.GENERATED_SOLUTIONS, DSL.name("fk_generated_solutions_recruitment_id"), new TableField[] { GeneratedSolutions.GENERATED_SOLUTIONS.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);
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.App
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ApplicationsSentFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.DecisionsSigning;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.GeneratedSolutions;
|
||||
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;
|
||||
|
|
@ -18,6 +19,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Vie
|
|||
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.ViewDecisionsSigning;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.ViewGeneratedSolutions;
|
||||
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;
|
||||
|
|
@ -55,6 +57,11 @@ public class Tables {
|
|||
*/
|
||||
public static final DecisionsSigning DECISIONS_SIGNING = DecisionsSigning.DECISIONS_SIGNING;
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения
|
||||
*/
|
||||
public static final GeneratedSolutions GENERATED_SOLUTIONS = GeneratedSolutions.GENERATED_SOLUTIONS;
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Инциденты (сверка данных от гражданина с ГИС
|
||||
* ЕРВУ)
|
||||
|
|
@ -102,6 +109,11 @@ public class Tables {
|
|||
*/
|
||||
public static final ViewDecisionsSigning VIEW_DECISIONS_SIGNING = ViewDecisionsSigning.VIEW_DECISIONS_SIGNING;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_generated_solutions</code>.
|
||||
*/
|
||||
public static final ViewGeneratedSolutions VIEW_GENERATED_SOLUTIONS = ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS;
|
||||
|
||||
/**
|
||||
* The table <code>deregistration.view_info_sent_to_lk_epgu</code>.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -0,0 +1,314 @@
|
|||
/*
|
||||
* 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.GeneratedSolutionsRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment.RecruitmentPath;
|
||||
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class GeneratedSolutions extends TableImpl<GeneratedSolutionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>deregistration.generated_solutions</code>
|
||||
*/
|
||||
public static final GeneratedSolutions GENERATED_SOLUTIONS = new GeneratedSolutions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<GeneratedSolutionsRecord> getRecordType() {
|
||||
return GeneratedSolutionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.generated_solutions.generated_solutions_id</code>.
|
||||
*/
|
||||
public final TableField<GeneratedSolutionsRecord, Long> GENERATED_SOLUTIONS_ID = createField(DSL.name("generated_solutions_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.generated_solutions.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<GeneratedSolutionsRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>deregistration.generated_solutions.update_date</code>.
|
||||
*/
|
||||
public final TableField<GeneratedSolutionsRecord, 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.generated_solutions.info_date</code>.
|
||||
*/
|
||||
public final TableField<GeneratedSolutionsRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.generated_solutions.count_arrived_death_reason</code>.
|
||||
* поступило по причине смерти
|
||||
*/
|
||||
public final TableField<GeneratedSolutionsRecord, Long> COUNT_ARRIVED_DEATH_REASON = createField(DSL.name("count_arrived_death_reason"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "поступило по причине смерти");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.generated_solutions.count_arrived_age_limit</code>.
|
||||
* поступило по предельному возрасту
|
||||
*/
|
||||
public final TableField<GeneratedSolutionsRecord, Long> COUNT_ARRIVED_AGE_LIMIT = createField(DSL.name("count_arrived_age_limit"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "поступило по предельному возрасту");
|
||||
|
||||
private GeneratedSolutions(Name alias, Table<GeneratedSolutionsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private GeneratedSolutions(Name alias, Table<GeneratedSolutionsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Снятие с воинского учета. Сформированные решения"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.generated_solutions</code> table
|
||||
* reference
|
||||
*/
|
||||
public GeneratedSolutions(String alias) {
|
||||
this(DSL.name(alias), GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.generated_solutions</code> table
|
||||
* reference
|
||||
*/
|
||||
public GeneratedSolutions(Name alias) {
|
||||
this(alias, GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>deregistration.generated_solutions</code> table reference
|
||||
*/
|
||||
public GeneratedSolutions() {
|
||||
this(DSL.name("generated_solutions"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> GeneratedSolutions(Table<O> path, ForeignKey<O, GeneratedSolutionsRecord> childPath, InverseForeignKey<O, GeneratedSolutionsRecord> parentPath) {
|
||||
super(path, childPath, parentPath, GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class GeneratedSolutionsPath extends GeneratedSolutions implements Path<GeneratedSolutionsRecord> {
|
||||
public <O extends Record> GeneratedSolutionsPath(Table<O> path, ForeignKey<O, GeneratedSolutionsRecord> childPath, InverseForeignKey<O, GeneratedSolutionsRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private GeneratedSolutionsPath(Name alias, Table<GeneratedSolutionsRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GeneratedSolutionsPath as(String alias) {
|
||||
return new GeneratedSolutionsPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GeneratedSolutionsPath as(Name alias) {
|
||||
return new GeneratedSolutionsPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GeneratedSolutionsPath as(Table<?> alias) {
|
||||
return new GeneratedSolutionsPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Deregistration.DEREGISTRATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<GeneratedSolutionsRecord, Long> getIdentity() {
|
||||
return (Identity<GeneratedSolutionsRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<GeneratedSolutionsRecord> getPrimaryKey() {
|
||||
return Keys.GENERATED_SOLUTIONS_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<GeneratedSolutionsRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.GENERATED_SOLUTIONS__FK_GENERATED_SOLUTIONS_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.GENERATED_SOLUTIONS__FK_GENERATED_SOLUTIONS_RECRUITMENT_ID, null);
|
||||
|
||||
return _recruitment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public GeneratedSolutions as(String alias) {
|
||||
return new GeneratedSolutions(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GeneratedSolutions as(Name alias) {
|
||||
return new GeneratedSolutions(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GeneratedSolutions as(Table<?> alias) {
|
||||
return new GeneratedSolutions(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions rename(String name) {
|
||||
return new GeneratedSolutions(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions rename(Name name) {
|
||||
return new GeneratedSolutions(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions rename(Table<?> name) {
|
||||
return new GeneratedSolutions(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions where(Condition condition) {
|
||||
return new GeneratedSolutions(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public GeneratedSolutions where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public GeneratedSolutions where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public GeneratedSolutions where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public GeneratedSolutions where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public GeneratedSolutions whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,241 @@
|
|||
/*
|
||||
* 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.ViewGeneratedSolutionsRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewGeneratedSolutions extends TableImpl<ViewGeneratedSolutionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>deregistration.view_generated_solutions</code>
|
||||
*/
|
||||
public static final ViewGeneratedSolutions VIEW_GENERATED_SOLUTIONS = new ViewGeneratedSolutions();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewGeneratedSolutionsRecord> getRecordType() {
|
||||
return ViewGeneratedSolutionsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_generated_solutions.generated_solutions_id</code>.
|
||||
*/
|
||||
public final TableField<ViewGeneratedSolutionsRecord, Long> GENERATED_SOLUTIONS_ID = createField(DSL.name("generated_solutions_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_generated_solutions.count_arrived_all</code>.
|
||||
*/
|
||||
public final TableField<ViewGeneratedSolutionsRecord, Long> COUNT_ARRIVED_ALL = createField(DSL.name("count_arrived_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_generated_solutions.percent_arrived_death_reason</code>.
|
||||
*/
|
||||
public final TableField<ViewGeneratedSolutionsRecord, BigDecimal> PERCENT_ARRIVED_DEATH_REASON = createField(DSL.name("percent_arrived_death_reason"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>deregistration.view_generated_solutions.percent_arrived_age_limit</code>.
|
||||
*/
|
||||
public final TableField<ViewGeneratedSolutionsRecord, BigDecimal> PERCENT_ARRIVED_AGE_LIMIT = createField(DSL.name("percent_arrived_age_limit"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewGeneratedSolutions(Name alias, Table<ViewGeneratedSolutionsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewGeneratedSolutions(Name alias, Table<ViewGeneratedSolutionsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_generated_solutions" as SELECT generated_solutions.generated_solutions_id,
|
||||
(generated_solutions.count_arrived_death_reason + generated_solutions.count_arrived_age_limit) AS count_arrived_all,
|
||||
round((((generated_solutions.count_arrived_death_reason)::numeric * (100)::numeric) / ((generated_solutions.count_arrived_death_reason + generated_solutions.count_arrived_age_limit))::numeric)) AS percent_arrived_death_reason,
|
||||
round((((generated_solutions.count_arrived_age_limit)::numeric * (100)::numeric) / ((generated_solutions.count_arrived_death_reason + generated_solutions.count_arrived_age_limit))::numeric)) AS percent_arrived_age_limit
|
||||
FROM deregistration.generated_solutions;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.view_generated_solutions</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewGeneratedSolutions(String alias) {
|
||||
this(DSL.name(alias), VIEW_GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>deregistration.view_generated_solutions</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewGeneratedSolutions(Name alias) {
|
||||
this(alias, VIEW_GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>deregistration.view_generated_solutions</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewGeneratedSolutions() {
|
||||
this(DSL.name("view_generated_solutions"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Deregistration.DEREGISTRATION;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewGeneratedSolutions as(String alias) {
|
||||
return new ViewGeneratedSolutions(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewGeneratedSolutions as(Name alias) {
|
||||
return new ViewGeneratedSolutions(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewGeneratedSolutions as(Table<?> alias) {
|
||||
return new ViewGeneratedSolutions(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions rename(String name) {
|
||||
return new ViewGeneratedSolutions(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions rename(Name name) {
|
||||
return new ViewGeneratedSolutions(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions rename(Table<?> name) {
|
||||
return new ViewGeneratedSolutions(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions where(Condition condition) {
|
||||
return new ViewGeneratedSolutions(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewGeneratedSolutions where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewGeneratedSolutions where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewGeneratedSolutions where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewGeneratedSolutions where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewGeneratedSolutions whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
/*
|
||||
* 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.GeneratedSolutions;
|
||||
|
||||
|
||||
/**
|
||||
* Снятие с воинского учета. Сформированные решения
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class GeneratedSolutionsRecord extends UpdatableRecordImpl<GeneratedSolutionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.generated_solutions.generated_solutions_id</code>.
|
||||
*/
|
||||
public void setGeneratedSolutionsId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.generated_solutions.generated_solutions_id</code>.
|
||||
*/
|
||||
public Long getGeneratedSolutionsId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.generated_solutions.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.generated_solutions.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.generated_solutions.update_date</code>.
|
||||
*/
|
||||
public void setUpdateDate(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.generated_solutions.update_date</code>.
|
||||
*/
|
||||
public Timestamp getUpdateDate() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>deregistration.generated_solutions.info_date</code>.
|
||||
*/
|
||||
public void setInfoDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>deregistration.generated_solutions.info_date</code>.
|
||||
*/
|
||||
public Date getInfoDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.generated_solutions.count_arrived_death_reason</code>.
|
||||
* поступило по причине смерти
|
||||
*/
|
||||
public void setCountArrivedDeathReason(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.generated_solutions.count_arrived_death_reason</code>.
|
||||
* поступило по причине смерти
|
||||
*/
|
||||
public Long getCountArrivedDeathReason() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.generated_solutions.count_arrived_age_limit</code>.
|
||||
* поступило по предельному возрасту
|
||||
*/
|
||||
public void setCountArrivedAgeLimit(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.generated_solutions.count_arrived_age_limit</code>.
|
||||
* поступило по предельному возрасту
|
||||
*/
|
||||
public Long getCountArrivedAgeLimit() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached GeneratedSolutionsRecord
|
||||
*/
|
||||
public GeneratedSolutionsRecord() {
|
||||
super(GeneratedSolutions.GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised GeneratedSolutionsRecord
|
||||
*/
|
||||
public GeneratedSolutionsRecord(Long generatedSolutionsId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countArrivedDeathReason, Long countArrivedAgeLimit) {
|
||||
super(GeneratedSolutions.GENERATED_SOLUTIONS);
|
||||
|
||||
setGeneratedSolutionsId(generatedSolutionsId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountArrivedDeathReason(countArrivedDeathReason);
|
||||
setCountArrivedAgeLimit(countArrivedAgeLimit);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* 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.ViewGeneratedSolutions;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewGeneratedSolutionsRecord extends TableRecordImpl<ViewGeneratedSolutionsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_generated_solutions.generated_solutions_id</code>.
|
||||
*/
|
||||
public void setGeneratedSolutionsId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_generated_solutions.generated_solutions_id</code>.
|
||||
*/
|
||||
public Long getGeneratedSolutionsId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_generated_solutions.count_arrived_all</code>.
|
||||
*/
|
||||
public void setCountArrivedAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_generated_solutions.count_arrived_all</code>.
|
||||
*/
|
||||
public Long getCountArrivedAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_generated_solutions.percent_arrived_death_reason</code>.
|
||||
*/
|
||||
public void setPercentArrivedDeathReason(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_generated_solutions.percent_arrived_death_reason</code>.
|
||||
*/
|
||||
public BigDecimal getPercentArrivedDeathReason() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>deregistration.view_generated_solutions.percent_arrived_age_limit</code>.
|
||||
*/
|
||||
public void setPercentArrivedAgeLimit(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>deregistration.view_generated_solutions.percent_arrived_age_limit</code>.
|
||||
*/
|
||||
public BigDecimal getPercentArrivedAgeLimit() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewGeneratedSolutionsRecord
|
||||
*/
|
||||
public ViewGeneratedSolutionsRecord() {
|
||||
super(ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewGeneratedSolutionsRecord
|
||||
*/
|
||||
public ViewGeneratedSolutionsRecord(Long generatedSolutionsId, Long countArrivedAll, BigDecimal percentArrivedDeathReason, BigDecimal percentArrivedAgeLimit) {
|
||||
super(ViewGeneratedSolutions.VIEW_GENERATED_SOLUTIONS);
|
||||
|
||||
setGeneratedSolutionsId(generatedSolutionsId);
|
||||
setCountArrivedAll(countArrivedAll);
|
||||
setPercentArrivedDeathReason(percentArrivedDeathReason);
|
||||
setPercentArrivedAgeLimit(percentArrivedAgeLimit);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -45,6 +45,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.Act
|
|||
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.DecisionsSigning.DecisionsSigningPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.tables.GeneratedSolutions.GeneratedSolutionsPath;
|
||||
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;
|
||||
|
|
@ -601,6 +602,19 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
|
|||
return _decisionsSigning;
|
||||
}
|
||||
|
||||
private transient GeneratedSolutionsPath _generatedSolutions;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>deregistration.generated_solutions</code> table
|
||||
*/
|
||||
public GeneratedSolutionsPath generatedSolutions() {
|
||||
if (_generatedSolutions == null)
|
||||
_generatedSolutions = new GeneratedSolutionsPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Keys.GENERATED_SOLUTIONS__FK_GENERATED_SOLUTIONS_RECRUITMENT_ID.getInverseKey());
|
||||
|
||||
return _generatedSolutions;
|
||||
}
|
||||
|
||||
private transient RejectionDecisionsPath _rejectionDecisions;
|
||||
|
||||
/**
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue