Обновление бд, добавление вью 1 графику раздела обжалование, 7 раздел добавление первого графика
This commit is contained in:
parent
7fc96856bd
commit
100caa143d
16 changed files with 6237 additions and 13 deletions
|
|
@ -60,6 +60,7 @@ 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.ChangeDataPersonalVisit.ChangeDataPersonalVisitPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData.CompareCitizenDataPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu.InactiveAppEpguPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsEpguInfo.IncidentsEpguInfoPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.PersonalInfoStat.PersonalInfoStatPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.RecordsAboutRegistratedCitizen.RecordsAboutRegistratedCitizenPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.SummonsesSign.SummonsesSignPath;
|
||||
|
|
@ -704,6 +705,19 @@ public class Recruitment extends TableImpl<RecruitmentRecord> {
|
|||
return _inactiveAppEpgu;
|
||||
}
|
||||
|
||||
private transient IncidentsEpguInfoPath _incidentsEpguInfo;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>registration_change_address.incidents_epgu_info</code> table
|
||||
*/
|
||||
public IncidentsEpguInfoPath incidentsEpguInfo() {
|
||||
if (_incidentsEpguInfo == null)
|
||||
_incidentsEpguInfo = new IncidentsEpguInfoPath(this, null, ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.Keys.INCIDENTS_EPGU_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID.getInverseKey());
|
||||
|
||||
return _incidentsEpguInfo;
|
||||
}
|
||||
|
||||
private transient PersonalInfoStatPath _personalInfoStat;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -59,6 +59,12 @@ public class ViewCitizenAppeals extends TableImpl<ViewCitizenAppealsRecord> {
|
|||
*/
|
||||
public final TableField<ViewCitizenAppealsRecord, Long> COUNT_ACCEPTED_TO_CONSIDERATION = createField(DSL.name("count_accepted_to_consideration"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_citizen_appeals.count_submitted_difference_accepted</code>.
|
||||
*/
|
||||
public final TableField<ViewCitizenAppealsRecord, Long> COUNT_SUBMITTED_DIFFERENCE_ACCEPTED = createField(DSL.name("count_submitted_difference_accepted"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_citizen_appeals.percent_accepted_to_consideration</code>.
|
||||
|
|
@ -96,6 +102,7 @@ public class ViewCitizenAppeals extends TableImpl<ViewCitizenAppealsRecord> {
|
|||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_citizen_appeals" as SELECT citizen_appeals.citizen_appeals_id,
|
||||
(((citizen_appeals.count_satisfided + citizen_appeals.count_not_satisfided) + citizen_appeals.count_accepted_expired) + citizen_appeals.count_accepted_on_time) AS count_accepted_to_consideration,
|
||||
(citizen_appeals.count_submitted - (((citizen_appeals.count_satisfided + citizen_appeals.count_not_satisfided) + citizen_appeals.count_accepted_expired) + citizen_appeals.count_accepted_on_time)) AS count_submitted_difference_accepted,
|
||||
round(((((((citizen_appeals.count_satisfided + citizen_appeals.count_not_satisfided) + citizen_appeals.count_accepted_expired) + citizen_appeals.count_accepted_on_time))::numeric * (100)::numeric) / (citizen_appeals.count_submitted)::numeric)) AS percent_accepted_to_consideration,
|
||||
round((((citizen_appeals.count_satisfided)::numeric * (100)::numeric) / ((((citizen_appeals.count_satisfided + citizen_appeals.count_not_satisfided) + citizen_appeals.count_accepted_expired) + citizen_appeals.count_accepted_on_time))::numeric)) AS percent_satisfided,
|
||||
round((((citizen_appeals.count_not_satisfided)::numeric * (100)::numeric) / ((((citizen_appeals.count_satisfided + citizen_appeals.count_not_satisfided) + citizen_appeals.count_accepted_expired) + citizen_appeals.count_accepted_on_time))::numeric)) AS percent_not_satisfided,
|
||||
|
|
|
|||
|
|
@ -49,12 +49,28 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_citizen_appeals.count_submitted_difference_accepted</code>.
|
||||
*/
|
||||
public void setCountSubmittedDifferenceAccepted(Long value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_citizen_appeals.count_submitted_difference_accepted</code>.
|
||||
*/
|
||||
public Long getCountSubmittedDifferenceAccepted() {
|
||||
return (Long) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_citizen_appeals.percent_accepted_to_consideration</code>.
|
||||
*/
|
||||
public void setPercentAcceptedToConsideration(BigDecimal value) {
|
||||
set(2, value);
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -62,21 +78,21 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_accepted_to_consideration</code>.
|
||||
*/
|
||||
public BigDecimal getPercentAcceptedToConsideration() {
|
||||
return (BigDecimal) get(2);
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>metrics.view_citizen_appeals.percent_satisfided</code>.
|
||||
*/
|
||||
public void setPercentSatisfided(BigDecimal value) {
|
||||
set(3, value);
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>metrics.view_citizen_appeals.percent_satisfided</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSatisfided() {
|
||||
return (BigDecimal) get(3);
|
||||
return (BigDecimal) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -84,7 +100,7 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_not_satisfided</code>.
|
||||
*/
|
||||
public void setPercentNotSatisfided(BigDecimal value) {
|
||||
set(4, value);
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -92,7 +108,7 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_not_satisfided</code>.
|
||||
*/
|
||||
public BigDecimal getPercentNotSatisfided() {
|
||||
return (BigDecimal) get(4);
|
||||
return (BigDecimal) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -100,7 +116,7 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_accepted_expired</code>.
|
||||
*/
|
||||
public void setPercentAcceptedExpired(BigDecimal value) {
|
||||
set(5, value);
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -108,7 +124,7 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_accepted_expired</code>.
|
||||
*/
|
||||
public BigDecimal getPercentAcceptedExpired() {
|
||||
return (BigDecimal) get(5);
|
||||
return (BigDecimal) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -116,7 +132,7 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_accepted_on_time</code>.
|
||||
*/
|
||||
public void setPercentAcceptedOnTime(BigDecimal value) {
|
||||
set(6, value);
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -124,7 +140,7 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
* <code>metrics.view_citizen_appeals.percent_accepted_on_time</code>.
|
||||
*/
|
||||
public BigDecimal getPercentAcceptedOnTime() {
|
||||
return (BigDecimal) get(6);
|
||||
return (BigDecimal) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -141,11 +157,12 @@ public class ViewCitizenAppealsRecord extends TableRecordImpl<ViewCitizenAppeals
|
|||
/**
|
||||
* Create a detached, initialised ViewCitizenAppealsRecord
|
||||
*/
|
||||
public ViewCitizenAppealsRecord(Long citizenAppealsId, Long countAcceptedToConsideration, BigDecimal percentAcceptedToConsideration, BigDecimal percentSatisfided, BigDecimal percentNotSatisfided, BigDecimal percentAcceptedExpired, BigDecimal percentAcceptedOnTime) {
|
||||
public ViewCitizenAppealsRecord(Long citizenAppealsId, Long countAcceptedToConsideration, Long countSubmittedDifferenceAccepted, BigDecimal percentAcceptedToConsideration, BigDecimal percentSatisfided, BigDecimal percentNotSatisfided, BigDecimal percentAcceptedExpired, BigDecimal percentAcceptedOnTime) {
|
||||
super(ViewCitizenAppeals.VIEW_CITIZEN_APPEALS);
|
||||
|
||||
setCitizenAppealsId(citizenAppealsId);
|
||||
setCountAcceptedToConsideration(countAcceptedToConsideration);
|
||||
setCountSubmittedDifferenceAccepted(countSubmittedDifferenceAccepted);
|
||||
setPercentAcceptedToConsideration(percentAcceptedToConsideration);
|
||||
setPercentSatisfided(percentSatisfided);
|
||||
setPercentNotSatisfided(percentNotSatisfided);
|
||||
|
|
|
|||
|
|
@ -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.ChangeDataPersonalVisit;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsEpguInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
|
||||
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;
|
||||
|
|
@ -24,6 +26,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.ChangeDataPersonalVisitRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.CompareCitizenDataRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InactiveAppEpguRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.IncidentsEpguInfoRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.IncidentsInfoRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.InfoSentToLkEpguRecord;
|
||||
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;
|
||||
|
|
@ -45,6 +49,8 @@ public class Keys {
|
|||
public static final UniqueKey<ChangeDataPersonalVisitRecord> CHANGE_DATA_PERSONAL_VISIT_PKEY = Internal.createUniqueKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("change_data_personal_visit_pkey"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT.CHANGE_DATA_PERSONAL_VISIT_ID }, true);
|
||||
public static final UniqueKey<CompareCitizenDataRecord> COMPARE_CITIZEN_DATA_PKEY = Internal.createUniqueKey(CompareCitizenData.COMPARE_CITIZEN_DATA, DSL.name("compare_citizen_data_pkey"), new TableField[] { CompareCitizenData.COMPARE_CITIZEN_DATA.COMPARE_CITIZEN_DATA_ID }, true);
|
||||
public static final UniqueKey<InactiveAppEpguRecord> INACTIVE_APP_EPGU_PKEY = Internal.createUniqueKey(InactiveAppEpgu.INACTIVE_APP_EPGU, DSL.name("inactive_app_epgu_pkey"), new TableField[] { InactiveAppEpgu.INACTIVE_APP_EPGU.INACTIVE_APP_EPGU_ID }, true);
|
||||
public static final UniqueKey<IncidentsEpguInfoRecord> INCIDENTS_EPGU_INFO_PKEY = Internal.createUniqueKey(IncidentsEpguInfo.INCIDENTS_EPGU_INFO, DSL.name("incidents_epgu_info_pkey"), new TableField[] { IncidentsEpguInfo.INCIDENTS_EPGU_INFO.INCIDENTS_EPGU_INFO_ID }, true);
|
||||
public static final UniqueKey<IncidentsInfoRecord> INCIDENTS_INFO_PKEY = Internal.createUniqueKey(IncidentsInfo.INCIDENTS_INFO, DSL.name("incidents_info_pkey"), new TableField[] { IncidentsInfo.INCIDENTS_INFO.INCIDENTS_INFO_ID }, true);
|
||||
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<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);
|
||||
|
|
@ -58,6 +64,8 @@ public class Keys {
|
|||
public static final ForeignKey<ChangeDataPersonalVisitRecord, RecruitmentRecord> CHANGE_DATA_PERSONAL_VISIT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<CompareCitizenDataRecord, RecruitmentRecord> COMPARE_CITIZEN_DATA__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(CompareCitizenData.COMPARE_CITIZEN_DATA, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { CompareCitizenData.COMPARE_CITIZEN_DATA.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<InactiveAppEpguRecord, RecruitmentRecord> INACTIVE_APP_EPGU__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(InactiveAppEpgu.INACTIVE_APP_EPGU, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { InactiveAppEpgu.INACTIVE_APP_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<IncidentsEpguInfoRecord, RecruitmentRecord> INCIDENTS_EPGU_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID = Internal.createForeignKey(IncidentsEpguInfo.INCIDENTS_EPGU_INFO, DSL.name("fk_conv_info_records_from_easu_recruitment_id"), new TableField[] { IncidentsEpguInfo.INCIDENTS_EPGU_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<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<PersonalInfoStatRecord, RecruitmentRecord> PERSONAL_INFO_STAT__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(PersonalInfoStat.PERSONAL_INFO_STAT, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { PersonalInfoStat.PERSONAL_INFO_STAT.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
public static final ForeignKey<RecordsAboutRegistratedCitizenRecord, RecruitmentRecord> RECORDS_ABOUT_REGISTRATED_CITIZEN__FK_CRIMINAL_ADMINISTRATIVE_LIABILITY_RECRUITMENT_ID = Internal.createForeignKey(RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN, DSL.name("fk_criminal_administrative_liability_recruitment_id"), new TableField[] { RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN.RECRUITMENT_ID }, ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Keys.RECRUITMENT_PKEY, new TableField[] { Recruitment.RECRUITMENT.ID }, true);
|
||||
|
|
|
|||
|
|
@ -17,12 +17,16 @@ 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.ChangeDataPersonalVisit;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsEpguInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
|
||||
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.ViewChangeDataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewIncidentsEpguInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewIncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewInfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewPersonalInfoStat;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewRecordsAboutRegistratedCitizen;
|
||||
|
|
@ -66,6 +70,16 @@ public class RegistrationChangeAddress extends SchemaImpl {
|
|||
*/
|
||||
public final InactiveAppEpgu INACTIVE_APP_EPGU = InactiveAppEpgu.INACTIVE_APP_EPGU;
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты ЕПГУ
|
||||
*/
|
||||
public final IncidentsEpguInfo INCIDENTS_EPGU_INFO = IncidentsEpguInfo.INCIDENTS_EPGU_INFO;
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты
|
||||
*/
|
||||
public final IncidentsInfo INCIDENTS_INFO = IncidentsInfo.INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Отправка уведомлений в ЛК
|
||||
* на ЕПГУ
|
||||
|
|
@ -102,6 +116,17 @@ public class RegistrationChangeAddress extends SchemaImpl {
|
|||
*/
|
||||
public final ViewChangeDataPersonalVisit VIEW_CHANGE_DATA_PERSONAL_VISIT = ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>registration_change_address.view_incidents_epgu_info</code>.
|
||||
*/
|
||||
public final ViewIncidentsEpguInfo VIEW_INCIDENTS_EPGU_INFO = ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>registration_change_address.view_incidents_info</code>.
|
||||
*/
|
||||
public final ViewIncidentsInfo VIEW_INCIDENTS_INFO = ViewIncidentsInfo.VIEW_INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>registration_change_address.view_info_sent_to_lk_epgu</code>.
|
||||
|
|
@ -152,12 +177,16 @@ public class RegistrationChangeAddress extends SchemaImpl {
|
|||
ChangeDataPersonalVisit.CHANGE_DATA_PERSONAL_VISIT,
|
||||
CompareCitizenData.COMPARE_CITIZEN_DATA,
|
||||
InactiveAppEpgu.INACTIVE_APP_EPGU,
|
||||
IncidentsEpguInfo.INCIDENTS_EPGU_INFO,
|
||||
IncidentsInfo.INCIDENTS_INFO,
|
||||
InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU,
|
||||
PersonalInfoStat.PERSONAL_INFO_STAT,
|
||||
RecordsAboutRegistratedCitizen.RECORDS_ABOUT_REGISTRATED_CITIZEN,
|
||||
SummonsesSign.SUMMONSES_SIGN,
|
||||
ViewChangeDataFromGirVu.VIEW_CHANGE_DATA_FROM_GIR_VU,
|
||||
ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT,
|
||||
ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO,
|
||||
ViewIncidentsInfo.VIEW_INCIDENTS_INFO,
|
||||
ViewInfoSentToLkEpgu.VIEW_INFO_SENT_TO_LK_EPGU,
|
||||
ViewPersonalInfoStat.VIEW_PERSONAL_INFO_STAT,
|
||||
ViewRecordsAboutRegistratedCitizen.VIEW_RECORDS_ABOUT_REGISTRATED_CITIZEN,
|
||||
|
|
|
|||
|
|
@ -8,12 +8,16 @@ 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.ChangeDataPersonalVisit;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.CompareCitizenData;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InactiveAppEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsEpguInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.IncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.InfoSentToLkEpgu;
|
||||
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.ViewChangeDataFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewChangeDataPersonalVisit;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewIncidentsEpguInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewIncidentsInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewInfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewPersonalInfoStat;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewRecordsAboutRegistratedCitizen;
|
||||
|
|
@ -50,6 +54,16 @@ public class Tables {
|
|||
*/
|
||||
public static final InactiveAppEpgu INACTIVE_APP_EPGU = InactiveAppEpgu.INACTIVE_APP_EPGU;
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты ЕПГУ
|
||||
*/
|
||||
public static final IncidentsEpguInfo INCIDENTS_EPGU_INFO = IncidentsEpguInfo.INCIDENTS_EPGU_INFO;
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты
|
||||
*/
|
||||
public static final IncidentsInfo INCIDENTS_INFO = IncidentsInfo.INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Отправка уведомлений в ЛК
|
||||
* на ЕПГУ
|
||||
|
|
@ -86,6 +100,17 @@ public class Tables {
|
|||
*/
|
||||
public static final ViewChangeDataPersonalVisit VIEW_CHANGE_DATA_PERSONAL_VISIT = ViewChangeDataPersonalVisit.VIEW_CHANGE_DATA_PERSONAL_VISIT;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>registration_change_address.view_incidents_epgu_info</code>.
|
||||
*/
|
||||
public static final ViewIncidentsEpguInfo VIEW_INCIDENTS_EPGU_INFO = ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO;
|
||||
|
||||
/**
|
||||
* The table <code>registration_change_address.view_incidents_info</code>.
|
||||
*/
|
||||
public static final ViewIncidentsInfo VIEW_INCIDENTS_INFO = ViewIncidentsInfo.VIEW_INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>registration_change_address.view_info_sent_to_lk_epgu</code>.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,318 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.metrics.tables.Recruitment.RecruitmentPath;
|
||||
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.IncidentsEpguInfoRecord;
|
||||
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IncidentsEpguInfo extends TableImpl<IncidentsEpguInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>registration_change_address.incidents_epgu_info</code>
|
||||
*/
|
||||
public static final IncidentsEpguInfo INCIDENTS_EPGU_INFO = new IncidentsEpguInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<IncidentsEpguInfoRecord> getRecordType() {
|
||||
return IncidentsEpguInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_epgu_info.incidents_epgu_info_id</code>.
|
||||
*/
|
||||
public final TableField<IncidentsEpguInfoRecord, Long> INCIDENTS_EPGU_INFO_ID = createField(DSL.name("incidents_epgu_info_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_epgu_info.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<IncidentsEpguInfoRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_epgu_info.update_date</code>.
|
||||
*/
|
||||
public final TableField<IncidentsEpguInfoRecord, 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>registration_change_address.incidents_epgu_info.info_date</code>.
|
||||
*/
|
||||
public final TableField<IncidentsEpguInfoRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_epgu_info.count_identify</code>.
|
||||
*/
|
||||
public final TableField<IncidentsEpguInfoRecord, Long> COUNT_IDENTIFY = createField(DSL.name("count_identify"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_epgu_info.count_registered</code>.
|
||||
*/
|
||||
public final TableField<IncidentsEpguInfoRecord, Long> COUNT_REGISTERED = createField(DSL.name("count_registered"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
private IncidentsEpguInfo(Name alias, Table<IncidentsEpguInfoRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private IncidentsEpguInfo(Name alias, Table<IncidentsEpguInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Инциденты ЕПГУ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.incidents_epgu_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public IncidentsEpguInfo(String alias) {
|
||||
this(DSL.name(alias), INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.incidents_epgu_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public IncidentsEpguInfo(Name alias) {
|
||||
this(alias, INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>registration_change_address.incidents_epgu_info</code>
|
||||
* table reference
|
||||
*/
|
||||
public IncidentsEpguInfo() {
|
||||
this(DSL.name("incidents_epgu_info"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> IncidentsEpguInfo(Table<O> path, ForeignKey<O, IncidentsEpguInfoRecord> childPath, InverseForeignKey<O, IncidentsEpguInfoRecord> parentPath) {
|
||||
super(path, childPath, parentPath, INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class IncidentsEpguInfoPath extends IncidentsEpguInfo implements Path<IncidentsEpguInfoRecord> {
|
||||
public <O extends Record> IncidentsEpguInfoPath(Table<O> path, ForeignKey<O, IncidentsEpguInfoRecord> childPath, InverseForeignKey<O, IncidentsEpguInfoRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private IncidentsEpguInfoPath(Name alias, Table<IncidentsEpguInfoRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsEpguInfoPath as(String alias) {
|
||||
return new IncidentsEpguInfoPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsEpguInfoPath as(Name alias) {
|
||||
return new IncidentsEpguInfoPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsEpguInfoPath as(Table<?> alias) {
|
||||
return new IncidentsEpguInfoPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<IncidentsEpguInfoRecord, Long> getIdentity() {
|
||||
return (Identity<IncidentsEpguInfoRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<IncidentsEpguInfoRecord> getPrimaryKey() {
|
||||
return Keys.INCIDENTS_EPGU_INFO_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<IncidentsEpguInfoRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.INCIDENTS_EPGU_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_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.INCIDENTS_EPGU_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, null);
|
||||
|
||||
return _recruitment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsEpguInfo as(String alias) {
|
||||
return new IncidentsEpguInfo(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsEpguInfo as(Name alias) {
|
||||
return new IncidentsEpguInfo(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsEpguInfo as(Table<?> alias) {
|
||||
return new IncidentsEpguInfo(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo rename(String name) {
|
||||
return new IncidentsEpguInfo(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo rename(Name name) {
|
||||
return new IncidentsEpguInfo(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo rename(Table<?> name) {
|
||||
return new IncidentsEpguInfo(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo where(Condition condition) {
|
||||
return new IncidentsEpguInfo(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsEpguInfo where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsEpguInfo where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsEpguInfo where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsEpguInfo where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsEpguInfo whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,316 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.metrics.tables.Recruitment.RecruitmentPath;
|
||||
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.IncidentsInfoRecord;
|
||||
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IncidentsInfo extends TableImpl<IncidentsInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>registration_change_address.incidents_info</code>
|
||||
*/
|
||||
public static final IncidentsInfo INCIDENTS_INFO = new IncidentsInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<IncidentsInfoRecord> getRecordType() {
|
||||
return IncidentsInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, Long> INCIDENTS_INFO_ID = createField(DSL.name("incidents_info_id"), SQLDataType.BIGINT.nullable(false).identity(true), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_info.recruitment_id</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_info.update_date</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, 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>registration_change_address.incidents_info.info_date</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_info.count_without_id_ern</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, Long> COUNT_WITHOUT_ID_ERN = createField(DSL.name("count_without_id_ern"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.incidents_info.count_discrepancy_epgu_info</code>.
|
||||
*/
|
||||
public final TableField<IncidentsInfoRecord, Long> COUNT_DISCREPANCY_EPGU_INFO = createField(DSL.name("count_discrepancy_epgu_info"), 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);
|
||||
}
|
||||
|
||||
private IncidentsInfo(Name alias, Table<IncidentsInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Постановка на воинский учет при смене адреса. Инциденты"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>registration_change_address.incidents_info</code>
|
||||
* table reference
|
||||
*/
|
||||
public IncidentsInfo(String alias) {
|
||||
this(DSL.name(alias), INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>registration_change_address.incidents_info</code>
|
||||
* table reference
|
||||
*/
|
||||
public IncidentsInfo(Name alias) {
|
||||
this(alias, INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>registration_change_address.incidents_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public IncidentsInfo() {
|
||||
this(DSL.name("incidents_info"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> IncidentsInfo(Table<O> path, ForeignKey<O, IncidentsInfoRecord> childPath, InverseForeignKey<O, IncidentsInfoRecord> parentPath) {
|
||||
super(path, childPath, parentPath, INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class IncidentsInfoPath extends IncidentsInfo implements Path<IncidentsInfoRecord> {
|
||||
public <O extends Record> IncidentsInfoPath(Table<O> path, ForeignKey<O, IncidentsInfoRecord> childPath, InverseForeignKey<O, IncidentsInfoRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private IncidentsInfoPath(Name alias, Table<IncidentsInfoRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsInfoPath as(String alias) {
|
||||
return new IncidentsInfoPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsInfoPath as(Name alias) {
|
||||
return new IncidentsInfoPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsInfoPath as(Table<?> alias) {
|
||||
return new IncidentsInfoPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identity<IncidentsInfoRecord, Long> getIdentity() {
|
||||
return (Identity<IncidentsInfoRecord, Long>) super.getIdentity();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<IncidentsInfoRecord> getPrimaryKey() {
|
||||
return Keys.INCIDENTS_INFO_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<IncidentsInfoRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.INCIDENTS_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_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.INCIDENTS_INFO__FK_CONV_INFO_RECORDS_FROM_EASU_RECRUITMENT_ID, null);
|
||||
|
||||
return _recruitment;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsInfo as(String alias) {
|
||||
return new IncidentsInfo(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsInfo as(Name alias) {
|
||||
return new IncidentsInfo(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IncidentsInfo as(Table<?> alias) {
|
||||
return new IncidentsInfo(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo rename(String name) {
|
||||
return new IncidentsInfo(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo rename(Name name) {
|
||||
return new IncidentsInfo(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo rename(Table<?> name) {
|
||||
return new IncidentsInfo(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo where(Condition condition) {
|
||||
return new IncidentsInfo(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsInfo where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsInfo where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsInfo where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public IncidentsInfo where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public IncidentsInfo whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,237 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records.ViewIncidentsEpguInfoRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewIncidentsEpguInfo extends TableImpl<ViewIncidentsEpguInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>registration_change_address.view_incidents_epgu_info</code>
|
||||
*/
|
||||
public static final ViewIncidentsEpguInfo VIEW_INCIDENTS_EPGU_INFO = new ViewIncidentsEpguInfo();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewIncidentsEpguInfoRecord> getRecordType() {
|
||||
return ViewIncidentsEpguInfoRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.view_incidents_epgu_info.incidents_epgu_info_id</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsEpguInfoRecord, Long> INCIDENTS_EPGU_INFO_ID = createField(DSL.name("incidents_epgu_info_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.view_incidents_epgu_info.percent_registered</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsEpguInfoRecord, BigDecimal> PERCENT_REGISTERED = createField(DSL.name("percent_registered"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.view_incidents_epgu_info.count_not_identify</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsEpguInfoRecord, Long> COUNT_NOT_IDENTIFY = createField(DSL.name("count_not_identify"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
private ViewIncidentsEpguInfo(Name alias, Table<ViewIncidentsEpguInfoRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewIncidentsEpguInfo(Name alias, Table<ViewIncidentsEpguInfoRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_incidents_epgu_info" as SELECT incidents_epgu_info.incidents_epgu_info_id,
|
||||
round((((incidents_epgu_info.count_registered)::numeric * (100)::numeric) / (incidents_epgu_info.count_identify)::numeric)) AS percent_registered,
|
||||
(incidents_epgu_info.count_identify - incidents_epgu_info.count_registered) AS count_not_identify
|
||||
FROM registration_change_address.incidents_epgu_info;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.view_incidents_epgu_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsEpguInfo(String alias) {
|
||||
this(DSL.name(alias), VIEW_INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.view_incidents_epgu_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsEpguInfo(Name alias) {
|
||||
this(alias, VIEW_INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a
|
||||
* <code>registration_change_address.view_incidents_epgu_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsEpguInfo() {
|
||||
this(DSL.name("view_incidents_epgu_info"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo as(String alias) {
|
||||
return new ViewIncidentsEpguInfo(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo as(Name alias) {
|
||||
return new ViewIncidentsEpguInfo(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo as(Table<?> alias) {
|
||||
return new ViewIncidentsEpguInfo(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo rename(String name) {
|
||||
return new ViewIncidentsEpguInfo(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo rename(Name name) {
|
||||
return new ViewIncidentsEpguInfo(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo rename(Table<?> name) {
|
||||
return new ViewIncidentsEpguInfo(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo where(Condition condition) {
|
||||
return new ViewIncidentsEpguInfo(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsEpguInfo where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsEpguInfo where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsEpguInfo where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewIncidentsEpguInfo where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewIncidentsEpguInfo whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,243 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.RegistrationChangeAddress;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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>registration_change_address.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>registration_change_address.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>registration_change_address.view_incidents_info.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.view_incidents_info.percent_without_id_ern</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, BigDecimal> PERCENT_WITHOUT_ID_ERN = createField(DSL.name("percent_without_id_ern"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>registration_change_address.view_incidents_info.percent_discrepancy_epgu_info</code>.
|
||||
*/
|
||||
public final TableField<ViewIncidentsInfoRecord, BigDecimal> PERCENT_DISCREPANCY_EPGU_INFO = createField(DSL.name("percent_discrepancy_epgu_info"), 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_without_id_ern + incidents_info.count_discrepancy_epgu_info) AS count_all,
|
||||
round((((incidents_info.count_without_id_ern)::numeric * (100)::numeric) / ((incidents_info.count_without_id_ern + incidents_info.count_discrepancy_epgu_info))::numeric)) AS percent_without_id_ern,
|
||||
round((((incidents_info.count_discrepancy_epgu_info)::numeric * (100)::numeric) / ((incidents_info.count_without_id_ern + incidents_info.count_discrepancy_epgu_info))::numeric)) AS percent_discrepancy_epgu_info
|
||||
FROM registration_change_address.incidents_info;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.view_incidents_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsInfo(String alias) {
|
||||
this(DSL.name(alias), VIEW_INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>registration_change_address.view_incidents_info</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewIncidentsInfo(Name alias) {
|
||||
this(alias, VIEW_INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>registration_change_address.view_incidents_info</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewIncidentsInfo() {
|
||||
this(DSL.name("view_incidents_info"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : RegistrationChangeAddress.REGISTRATION_CHANGE_ADDRESS;
|
||||
}
|
||||
|
||||
@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,154 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.IncidentsEpguInfo;
|
||||
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IncidentsEpguInfoRecord extends UpdatableRecordImpl<IncidentsEpguInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_epgu_info.incidents_epgu_info_id</code>.
|
||||
*/
|
||||
public void setIncidentsEpguInfoId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_epgu_info.incidents_epgu_info_id</code>.
|
||||
*/
|
||||
public Long getIncidentsEpguInfoId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_epgu_info.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_epgu_info.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_epgu_info.update_date</code>.
|
||||
*/
|
||||
public void setUpdateDate(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_epgu_info.update_date</code>.
|
||||
*/
|
||||
public Timestamp getUpdateDate() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_epgu_info.info_date</code>.
|
||||
*/
|
||||
public void setInfoDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_epgu_info.info_date</code>.
|
||||
*/
|
||||
public Date getInfoDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_epgu_info.count_identify</code>.
|
||||
*/
|
||||
public void setCountIdentify(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_epgu_info.count_identify</code>.
|
||||
*/
|
||||
public Long getCountIdentify() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_epgu_info.count_registered</code>.
|
||||
*/
|
||||
public void setCountRegistered(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_epgu_info.count_registered</code>.
|
||||
*/
|
||||
public Long getCountRegistered() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached IncidentsEpguInfoRecord
|
||||
*/
|
||||
public IncidentsEpguInfoRecord() {
|
||||
super(IncidentsEpguInfo.INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised IncidentsEpguInfoRecord
|
||||
*/
|
||||
public IncidentsEpguInfoRecord(Long incidentsEpguInfoId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countIdentify, Long countRegistered) {
|
||||
super(IncidentsEpguInfo.INCIDENTS_EPGU_INFO);
|
||||
|
||||
setIncidentsEpguInfoId(incidentsEpguInfoId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountIdentify(countIdentify);
|
||||
setCountRegistered(countRegistered);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,154 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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.registration_change_address.tables.IncidentsInfo;
|
||||
|
||||
|
||||
/**
|
||||
* Постановка на воинский учет при смене адреса. Инциденты
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IncidentsInfoRecord extends UpdatableRecordImpl<IncidentsInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public void setIncidentsInfoId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public Long getIncidentsInfoId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_info.recruitment_id</code>.
|
||||
*/
|
||||
public void setRecruitmentId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_info.recruitment_id</code>.
|
||||
*/
|
||||
public String getRecruitmentId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_info.update_date</code>.
|
||||
*/
|
||||
public void setUpdateDate(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_info.update_date</code>.
|
||||
*/
|
||||
public Timestamp getUpdateDate() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_info.info_date</code>.
|
||||
*/
|
||||
public void setInfoDate(Date value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_info.info_date</code>.
|
||||
*/
|
||||
public Date getInfoDate() {
|
||||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_info.count_without_id_ern</code>.
|
||||
*/
|
||||
public void setCountWithoutIdErn(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_info.count_without_id_ern</code>.
|
||||
*/
|
||||
public Long getCountWithoutIdErn() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.incidents_info.count_discrepancy_epgu_info</code>.
|
||||
*/
|
||||
public void setCountDiscrepancyEpguInfo(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.incidents_info.count_discrepancy_epgu_info</code>.
|
||||
*/
|
||||
public Long getCountDiscrepancyEpguInfo() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<Long> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached IncidentsInfoRecord
|
||||
*/
|
||||
public IncidentsInfoRecord() {
|
||||
super(IncidentsInfo.INCIDENTS_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised IncidentsInfoRecord
|
||||
*/
|
||||
public IncidentsInfoRecord(Long incidentsInfoId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countWithoutIdErn, Long countDiscrepancyEpguInfo) {
|
||||
super(IncidentsInfo.INCIDENTS_INFO);
|
||||
|
||||
setIncidentsInfoId(incidentsInfoId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountWithoutIdErn(countWithoutIdErn);
|
||||
setCountDiscrepancyEpguInfo(countDiscrepancyEpguInfo);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.ViewIncidentsEpguInfo;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewIncidentsEpguInfoRecord extends TableRecordImpl<ViewIncidentsEpguInfoRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.view_incidents_epgu_info.incidents_epgu_info_id</code>.
|
||||
*/
|
||||
public void setIncidentsEpguInfoId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_epgu_info.incidents_epgu_info_id</code>.
|
||||
*/
|
||||
public Long getIncidentsEpguInfoId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.view_incidents_epgu_info.percent_registered</code>.
|
||||
*/
|
||||
public void setPercentRegistered(BigDecimal value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_epgu_info.percent_registered</code>.
|
||||
*/
|
||||
public BigDecimal getPercentRegistered() {
|
||||
return (BigDecimal) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.view_incidents_epgu_info.count_not_identify</code>.
|
||||
*/
|
||||
public void setCountNotIdentify(Long value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_epgu_info.count_not_identify</code>.
|
||||
*/
|
||||
public Long getCountNotIdentify() {
|
||||
return (Long) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewIncidentsEpguInfoRecord
|
||||
*/
|
||||
public ViewIncidentsEpguInfoRecord() {
|
||||
super(ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewIncidentsEpguInfoRecord
|
||||
*/
|
||||
public ViewIncidentsEpguInfoRecord(Long incidentsEpguInfoId, BigDecimal percentRegistered, Long countNotIdentify) {
|
||||
super(ViewIncidentsEpguInfo.VIEW_INCIDENTS_EPGU_INFO);
|
||||
|
||||
setIncidentsEpguInfoId(incidentsEpguInfoId);
|
||||
setPercentRegistered(percentRegistered);
|
||||
setCountNotIdentify(countNotIdentify);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.registration_change_address.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>registration_change_address.view_incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public void setIncidentsInfoId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_info.incidents_info_id</code>.
|
||||
*/
|
||||
public Long getIncidentsInfoId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.view_incidents_info.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_info.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.view_incidents_info.percent_without_id_ern</code>.
|
||||
*/
|
||||
public void setPercentWithoutIdErn(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_info.percent_without_id_ern</code>.
|
||||
*/
|
||||
public BigDecimal getPercentWithoutIdErn() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>registration_change_address.view_incidents_info.percent_discrepancy_epgu_info</code>.
|
||||
*/
|
||||
public void setPercentDiscrepancyEpguInfo(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>registration_change_address.view_incidents_info.percent_discrepancy_epgu_info</code>.
|
||||
*/
|
||||
public BigDecimal getPercentDiscrepancyEpguInfo() {
|
||||
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 percentWithoutIdErn, BigDecimal percentDiscrepancyEpguInfo) {
|
||||
super(ViewIncidentsInfo.VIEW_INCIDENTS_INFO);
|
||||
|
||||
setIncidentsInfoId(incidentsInfoId);
|
||||
setCountAll(countAll);
|
||||
setPercentWithoutIdErn(percentWithoutIdErn);
|
||||
setPercentDiscrepancyEpguInfo(percentDiscrepancyEpguInfo);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -1479,7 +1479,6 @@
|
|||
<componentRootId>57de79f5-65f2-41fe-8ed9-8b3bc4d93f77</componentRootId>
|
||||
<name>ВК Обращения граждан</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -1783,7 +1782,7 @@
|
|||
<entry>
|
||||
<key>aggregationColumn</key>
|
||||
<value>
|
||||
<simple>{"schema":"metrics","table":"citizen_appeals","entity":"citizen_appeals","name":"count_not_satisfided"}</simple>
|
||||
<simple>{"schema":"metrics","table":"view_citizen_appeals","entity":"view_citizen_appeals","name":"count_submitted_difference_accepted"}</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue