промежуточный результат по странице
This commit is contained in:
parent
1352e6f8d9
commit
6b97c53d82
36 changed files with 4551 additions and 273 deletions
|
|
@ -21,6 +21,10 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.ta
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.InitRegistrationFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.RecordsInfoIdUkIdErn;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.StatusesDecisionsOnEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewApplicationsReceivedFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewDecisionFormationStatus;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewRecordsInfoIdUkIdErn;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewStatusesDecisionsOnEpgu;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -37,8 +41,7 @@ public class InitRegistrationInfo extends SchemaImpl {
|
|||
public static final InitRegistrationInfo INIT_REGISTRATION_INFO = new InitRegistrationInfo();
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. Первоначальная постановка на учет по
|
||||
* данным из ГИР ВУ
|
||||
* Первоначальная постановка на учет. Заявления, поступившие через ЕПГУ
|
||||
*/
|
||||
public final ApplicationsReceivedFromEpgu APPLICATIONS_RECEIVED_FROM_EPGU = ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU;
|
||||
|
||||
|
|
@ -59,7 +62,7 @@ public class InitRegistrationInfo extends SchemaImpl {
|
|||
public final IncidentsInfo INCIDENTS_INFO = IncidentsInfo.INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Первоначальная постановка на учет. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
public final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
|
|
@ -80,6 +83,30 @@ public class InitRegistrationInfo extends SchemaImpl {
|
|||
*/
|
||||
public final StatusesDecisionsOnEpgu STATUSES_DECISIONS_ON_EPGU = StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_applications_received_from_epgu</code>.
|
||||
*/
|
||||
public final ViewApplicationsReceivedFromEpgu VIEW_APPLICATIONS_RECEIVED_FROM_EPGU = ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_decision_formation_status</code>.
|
||||
*/
|
||||
public final ViewDecisionFormationStatus VIEW_DECISION_FORMATION_STATUS = ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern</code>.
|
||||
*/
|
||||
public final ViewRecordsInfoIdUkIdErn VIEW_RECORDS_INFO_ID_UK_ID_ERN = ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu</code>.
|
||||
*/
|
||||
public final ViewStatusesDecisionsOnEpgu VIEW_STATUSES_DECISIONS_ON_EPGU = ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
|
|
@ -111,7 +138,11 @@ public class InitRegistrationInfo extends SchemaImpl {
|
|||
InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU,
|
||||
InitRegistrationFromGirVu.INIT_REGISTRATION_FROM_GIR_VU,
|
||||
RecordsInfoIdUkIdErn.RECORDS_INFO_ID_UK_ID_ERN,
|
||||
StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU
|
||||
StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU,
|
||||
ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU,
|
||||
ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS,
|
||||
ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN,
|
||||
ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,6 +12,10 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.ta
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.InitRegistrationFromGirVu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.RecordsInfoIdUkIdErn;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.StatusesDecisionsOnEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewApplicationsReceivedFromEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewDecisionFormationStatus;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewRecordsInfoIdUkIdErn;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewStatusesDecisionsOnEpgu;
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -21,8 +25,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.ta
|
|||
public class Tables {
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. Первоначальная постановка на учет по
|
||||
* данным из ГИР ВУ
|
||||
* Первоначальная постановка на учет. Заявления, поступившие через ЕПГУ
|
||||
*/
|
||||
public static final ApplicationsReceivedFromEpgu APPLICATIONS_RECEIVED_FROM_EPGU = ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU;
|
||||
|
||||
|
|
@ -43,7 +46,7 @@ public class Tables {
|
|||
public static final IncidentsInfo INCIDENTS_INFO = IncidentsInfo.INCIDENTS_INFO;
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Первоначальная постановка на учет. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
public static final InfoSentToLkEpgu INFO_SENT_TO_LK_EPGU = InfoSentToLkEpgu.INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
|
|
@ -63,4 +66,28 @@ public class Tables {
|
|||
* постановке на учет(ЕПГУ)
|
||||
*/
|
||||
public static final StatusesDecisionsOnEpgu STATUSES_DECISIONS_ON_EPGU = StatusesDecisionsOnEpgu.STATUSES_DECISIONS_ON_EPGU;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_applications_received_from_epgu</code>.
|
||||
*/
|
||||
public static final ViewApplicationsReceivedFromEpgu VIEW_APPLICATIONS_RECEIVED_FROM_EPGU = ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_decision_formation_status</code>.
|
||||
*/
|
||||
public static final ViewDecisionFormationStatus VIEW_DECISION_FORMATION_STATUS = ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern</code>.
|
||||
*/
|
||||
public static final ViewRecordsInfoIdUkIdErn VIEW_RECORDS_INFO_ID_UK_ID_ERN = ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN;
|
||||
|
||||
/**
|
||||
* The table
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu</code>.
|
||||
*/
|
||||
public static final ViewStatusesDecisionsOnEpgu VIEW_STATUSES_DECISIONS_ON_EPGU = ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -39,8 +39,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitmen
|
|||
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. Первоначальная постановка на учет по
|
||||
* данным из ГИР ВУ
|
||||
* Первоначальная постановка на учет. Заявления, поступившие через ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ApplicationsReceivedFromEpgu extends TableImpl<ApplicationsReceivedFromEpguRecord> {
|
||||
|
|
@ -85,12 +84,6 @@ public class ApplicationsReceivedFromEpgu extends TableImpl<ApplicationsReceived
|
|||
*/
|
||||
public final TableField<ApplicationsReceivedFromEpguRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_all</code>.
|
||||
*/
|
||||
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_executor_appointed</code>.
|
||||
|
|
@ -145,12 +138,18 @@ public class ApplicationsReceivedFromEpgu extends TableImpl<ApplicationsReceived
|
|||
*/
|
||||
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_PROVIDED = createField(DSL.name("count_provided"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Услуга по заявлению оказана");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_all</code>.
|
||||
*/
|
||||
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
private ApplicationsReceivedFromEpgu(Name alias, Table<ApplicationsReceivedFromEpguRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ApplicationsReceivedFromEpgu(Name alias, Table<ApplicationsReceivedFromEpguRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Первоначальная постановка на учет. Первоначальная постановка на учет по данным из ГИР ВУ"), TableOptions.table(), where);
|
||||
super(alias, null, aliased, parameters, DSL.comment("Первоначальная постановка на учет. Заявления, поступившие через ЕПГУ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitmen
|
|||
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Первоначальная постановка на учет. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class InfoSentToLkEpgu extends TableImpl<InfoSentToLkEpguRecord> {
|
||||
|
|
@ -145,7 +145,7 @@ public class InfoSentToLkEpgu extends TableImpl<InfoSentToLkEpguRecord> {
|
|||
}
|
||||
|
||||
private InfoSentToLkEpgu(Name alias, Table<InfoSentToLkEpguRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Первоначальная постановка на учет. ДОставка уведомлений в ЛК на ЕПГУ"), TableOptions.table(), where);
|
||||
super(alias, null, aliased, parameters, DSL.comment("Первоначальная постановка на учет. Доставка уведомлений в ЛК на ЕПГУ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -0,0 +1,279 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.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.init_registration_info.InitRegistrationInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.ViewApplicationsReceivedFromEpguRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewApplicationsReceivedFromEpgu extends TableImpl<ViewApplicationsReceivedFromEpguRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>init_registration_info.view_applications_received_from_epgu</code>
|
||||
*/
|
||||
public static final ViewApplicationsReceivedFromEpgu VIEW_APPLICATIONS_RECEIVED_FROM_EPGU = new ViewApplicationsReceivedFromEpgu();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewApplicationsReceivedFromEpguRecord> getRecordType() {
|
||||
return ViewApplicationsReceivedFromEpguRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.applications_received_from_epgu_id</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, Long> APPLICATIONS_RECEIVED_FROM_EPGU_ID = createField(DSL.name("applications_received_from_epgu_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_appointed</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_EXECUTOR_APPOINTED = createField(DSL.name("percent_executor_appointed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_registered</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_REGISTERED = createField(DSL.name("percent_registered"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_registration_refusal</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_REGISTRATION_REFUSAL = createField(DSL.name("percent_registration_refusal"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_refusal_provide_service</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_REFUSAL_PROVIDE_SERVICE = createField(DSL.name("percent_refusal_provide_service"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_not_appointed_expired</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_EXECUTOR_NOT_APPOINTED_EXPIRED = createField(DSL.name("percent_executor_not_appointed_expired"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_not_appointed_on_time</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_EXECUTOR_NOT_APPOINTED_ON_TIME = createField(DSL.name("percent_executor_not_appointed_on_time"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_received</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_RECEIVED = createField(DSL.name("percent_received"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_provided</code>.
|
||||
*/
|
||||
public final TableField<ViewApplicationsReceivedFromEpguRecord, BigDecimal> PERCENT_PROVIDED = createField(DSL.name("percent_provided"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewApplicationsReceivedFromEpgu(Name alias, Table<ViewApplicationsReceivedFromEpguRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewApplicationsReceivedFromEpgu(Name alias, Table<ViewApplicationsReceivedFromEpguRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_applications_received_from_epgu" as SELECT applications_received_from_epgu.applications_received_from_epgu_id,
|
||||
round((((applications_received_from_epgu.count_executor_appointed)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_executor_appointed,
|
||||
round((((applications_received_from_epgu.count_registered)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_registered,
|
||||
round((((applications_received_from_epgu.count_registration_refusal)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_registration_refusal,
|
||||
round((((applications_received_from_epgu.count_refusal_provide_service)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_refusal_provide_service,
|
||||
round((((applications_received_from_epgu.count_executor_not_appointed_expired)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_executor_not_appointed_expired,
|
||||
round((((applications_received_from_epgu.count_executor_not_appointed_on_time)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_executor_not_appointed_on_time,
|
||||
round((((applications_received_from_epgu.count_received)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_received,
|
||||
round((((applications_received_from_epgu.count_provided)::numeric * (100)::numeric) / (applications_received_from_epgu.count_all)::numeric)) AS percent_provided
|
||||
FROM init_registration_info.applications_received_from_epgu;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_applications_received_from_epgu</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewApplicationsReceivedFromEpgu(String alias) {
|
||||
this(DSL.name(alias), VIEW_APPLICATIONS_RECEIVED_FROM_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_applications_received_from_epgu</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewApplicationsReceivedFromEpgu(Name alias) {
|
||||
this(alias, VIEW_APPLICATIONS_RECEIVED_FROM_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a
|
||||
* <code>init_registration_info.view_applications_received_from_epgu</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewApplicationsReceivedFromEpgu() {
|
||||
this(DSL.name("view_applications_received_from_epgu"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : InitRegistrationInfo.INIT_REGISTRATION_INFO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu as(String alias) {
|
||||
return new ViewApplicationsReceivedFromEpgu(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu as(Name alias) {
|
||||
return new ViewApplicationsReceivedFromEpgu(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu as(Table<?> alias) {
|
||||
return new ViewApplicationsReceivedFromEpgu(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu rename(String name) {
|
||||
return new ViewApplicationsReceivedFromEpgu(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu rename(Name name) {
|
||||
return new ViewApplicationsReceivedFromEpgu(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu rename(Table<?> name) {
|
||||
return new ViewApplicationsReceivedFromEpgu(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu where(Condition condition) {
|
||||
return new ViewApplicationsReceivedFromEpgu(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewApplicationsReceivedFromEpgu where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewApplicationsReceivedFromEpgu where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewApplicationsReceivedFromEpgu where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewApplicationsReceivedFromEpgu where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewApplicationsReceivedFromEpgu whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,258 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.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.init_registration_info.InitRegistrationInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.ViewDecisionFormationStatusRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewDecisionFormationStatus extends TableImpl<ViewDecisionFormationStatusRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>init_registration_info.view_decision_formation_status</code>
|
||||
*/
|
||||
public static final ViewDecisionFormationStatus VIEW_DECISION_FORMATION_STATUS = new ViewDecisionFormationStatus();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewDecisionFormationStatusRecord> getRecordType() {
|
||||
return ViewDecisionFormationStatusRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_decision_formation_status.decision_formation_status_id</code>.
|
||||
*/
|
||||
public final TableField<ViewDecisionFormationStatusRecord, Long> DECISION_FORMATION_STATUS_ID = createField(DSL.name("decision_formation_status_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_decision_formation_status.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewDecisionFormationStatusRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_signed</code>.
|
||||
*/
|
||||
public final TableField<ViewDecisionFormationStatusRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_suggested</code>.
|
||||
*/
|
||||
public final TableField<ViewDecisionFormationStatusRecord, BigDecimal> PERCENT_SUGGESTED = createField(DSL.name("percent_suggested"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_waiting_sign</code>.
|
||||
*/
|
||||
public final TableField<ViewDecisionFormationStatusRecord, BigDecimal> PERCENT_WAITING_SIGN = createField(DSL.name("percent_waiting_sign"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_refused</code>.
|
||||
*/
|
||||
public final TableField<ViewDecisionFormationStatusRecord, BigDecimal> PERCENT_REFUSED = createField(DSL.name("percent_refused"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewDecisionFormationStatus(Name alias, Table<ViewDecisionFormationStatusRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewDecisionFormationStatus(Name alias, Table<ViewDecisionFormationStatusRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_decision_formation_status" as SELECT decision_formation_status.decision_formation_status_id,
|
||||
(((decision_formation_status.count_signed + decision_formation_status.count_suggested) + decision_formation_status.count_waiting_sign) + decision_formation_status.count_refused) AS count_all,
|
||||
round((((decision_formation_status.count_signed)::numeric * (100)::numeric) / ((((decision_formation_status.count_signed + decision_formation_status.count_suggested) + decision_formation_status.count_waiting_sign) + decision_formation_status.count_refused))::numeric)) AS percent_signed,
|
||||
round((((decision_formation_status.count_suggested)::numeric * (100)::numeric) / ((((decision_formation_status.count_signed + decision_formation_status.count_suggested) + decision_formation_status.count_waiting_sign) + decision_formation_status.count_refused))::numeric)) AS percent_suggested,
|
||||
round((((decision_formation_status.count_waiting_sign)::numeric * (100)::numeric) / ((((decision_formation_status.count_signed + decision_formation_status.count_suggested) + decision_formation_status.count_waiting_sign) + decision_formation_status.count_refused))::numeric)) AS percent_waiting_sign,
|
||||
round((((decision_formation_status.count_refused)::numeric * (100)::numeric) / ((((decision_formation_status.count_signed + decision_formation_status.count_suggested) + decision_formation_status.count_waiting_sign) + decision_formation_status.count_refused))::numeric)) AS percent_refused
|
||||
FROM init_registration_info.decision_formation_status;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_decision_formation_status</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewDecisionFormationStatus(String alias) {
|
||||
this(DSL.name(alias), VIEW_DECISION_FORMATION_STATUS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_decision_formation_status</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewDecisionFormationStatus(Name alias) {
|
||||
this(alias, VIEW_DECISION_FORMATION_STATUS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a
|
||||
* <code>init_registration_info.view_decision_formation_status</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewDecisionFormationStatus() {
|
||||
this(DSL.name("view_decision_formation_status"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : InitRegistrationInfo.INIT_REGISTRATION_INFO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewDecisionFormationStatus as(String alias) {
|
||||
return new ViewDecisionFormationStatus(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewDecisionFormationStatus as(Name alias) {
|
||||
return new ViewDecisionFormationStatus(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewDecisionFormationStatus as(Table<?> alias) {
|
||||
return new ViewDecisionFormationStatus(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus rename(String name) {
|
||||
return new ViewDecisionFormationStatus(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus rename(Name name) {
|
||||
return new ViewDecisionFormationStatus(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus rename(Table<?> name) {
|
||||
return new ViewDecisionFormationStatus(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus where(Condition condition) {
|
||||
return new ViewDecisionFormationStatus(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewDecisionFormationStatus where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewDecisionFormationStatus where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewDecisionFormationStatus where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewDecisionFormationStatus where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewDecisionFormationStatus whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,244 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.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.init_registration_info.InitRegistrationInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.ViewRecordsInfoIdUkIdErnRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewRecordsInfoIdUkIdErn extends TableImpl<ViewRecordsInfoIdUkIdErnRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern</code>
|
||||
*/
|
||||
public static final ViewRecordsInfoIdUkIdErn VIEW_RECORDS_INFO_ID_UK_ID_ERN = new ViewRecordsInfoIdUkIdErn();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewRecordsInfoIdUkIdErnRecord> getRecordType() {
|
||||
return ViewRecordsInfoIdUkIdErnRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
|
||||
*/
|
||||
public final TableField<ViewRecordsInfoIdUkIdErnRecord, Long> RECORDS_INFO_ID_UK_ID_ERN_ID = createField(DSL.name("records_info_id_uk_id_ern_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_uk</code>.
|
||||
*/
|
||||
public final TableField<ViewRecordsInfoIdUkIdErnRecord, BigDecimal> PERCENT_WITH_ID_UK = createField(DSL.name("percent_with_id_uk"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_without_id_uk</code>.
|
||||
*/
|
||||
public final TableField<ViewRecordsInfoIdUkIdErnRecord, BigDecimal> PERCENT_WITHOUT_ID_UK = createField(DSL.name("percent_without_id_uk"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_ern</code>.
|
||||
*/
|
||||
public final TableField<ViewRecordsInfoIdUkIdErnRecord, BigDecimal> PERCENT_WITH_ID_ERN = createField(DSL.name("percent_with_id_ern"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewRecordsInfoIdUkIdErn(Name alias, Table<ViewRecordsInfoIdUkIdErnRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewRecordsInfoIdUkIdErn(Name alias, Table<ViewRecordsInfoIdUkIdErnRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_records_info_id_uk_id_ern" as SELECT records_info_id_uk_id_ern.records_info_id_uk_id_ern_id,
|
||||
round((((records_info_id_uk_id_ern.records_with_id_uk)::numeric * (100)::numeric) / (records_info_id_uk_id_ern.count_all)::numeric)) AS percent_with_id_uk,
|
||||
round((((records_info_id_uk_id_ern.records_without_id_uk)::numeric * (100)::numeric) / (records_info_id_uk_id_ern.count_all)::numeric)) AS percent_without_id_uk,
|
||||
round((((records_info_id_uk_id_ern.records_with_id_ern)::numeric * (100)::numeric) / (records_info_id_uk_id_ern.count_all)::numeric)) AS percent_with_id_ern
|
||||
FROM init_registration_info.records_info_id_uk_id_ern;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewRecordsInfoIdUkIdErn(String alias) {
|
||||
this(DSL.name(alias), VIEW_RECORDS_INFO_ID_UK_ID_ERN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewRecordsInfoIdUkIdErn(Name alias) {
|
||||
this(alias, VIEW_RECORDS_INFO_ID_UK_ID_ERN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewRecordsInfoIdUkIdErn() {
|
||||
this(DSL.name("view_records_info_id_uk_id_ern"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : InitRegistrationInfo.INIT_REGISTRATION_INFO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn as(String alias) {
|
||||
return new ViewRecordsInfoIdUkIdErn(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn as(Name alias) {
|
||||
return new ViewRecordsInfoIdUkIdErn(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn as(Table<?> alias) {
|
||||
return new ViewRecordsInfoIdUkIdErn(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn rename(String name) {
|
||||
return new ViewRecordsInfoIdUkIdErn(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn rename(Name name) {
|
||||
return new ViewRecordsInfoIdUkIdErn(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn rename(Table<?> name) {
|
||||
return new ViewRecordsInfoIdUkIdErn(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn where(Condition condition) {
|
||||
return new ViewRecordsInfoIdUkIdErn(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRecordsInfoIdUkIdErn where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRecordsInfoIdUkIdErn where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRecordsInfoIdUkIdErn where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewRecordsInfoIdUkIdErn where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewRecordsInfoIdUkIdErn 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.init_registration_info.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.init_registration_info.InitRegistrationInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records.ViewStatusesDecisionsOnEpguRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewStatusesDecisionsOnEpgu extends TableImpl<ViewStatusesDecisionsOnEpguRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu</code>
|
||||
*/
|
||||
public static final ViewStatusesDecisionsOnEpgu VIEW_STATUSES_DECISIONS_ON_EPGU = new ViewStatusesDecisionsOnEpgu();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewStatusesDecisionsOnEpguRecord> getRecordType() {
|
||||
return ViewStatusesDecisionsOnEpguRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
|
||||
*/
|
||||
public final TableField<ViewStatusesDecisionsOnEpguRecord, Long> STATUSES_DECISIONS_ON_EPGU_ID = createField(DSL.name("statuses_decisions_on_epgu_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.percent_signed</code>.
|
||||
*/
|
||||
public final TableField<ViewStatusesDecisionsOnEpguRecord, BigDecimal> PERCENT_SIGNED = createField(DSL.name("percent_signed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.percent_formed_for_signing</code>.
|
||||
*/
|
||||
public final TableField<ViewStatusesDecisionsOnEpguRecord, BigDecimal> PERCENT_FORMED_FOR_SIGNING = createField(DSL.name("percent_formed_for_signing"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewStatusesDecisionsOnEpgu(Name alias, Table<ViewStatusesDecisionsOnEpguRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewStatusesDecisionsOnEpgu(Name alias, Table<ViewStatusesDecisionsOnEpguRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_statuses_decisions_on_epgu" as SELECT statuses_decisions_on_epgu.statuses_decisions_on_epgu_id,
|
||||
round((((statuses_decisions_on_epgu.count_signed)::numeric * (100)::numeric) / (statuses_decisions_on_epgu.count_loaded)::numeric)) AS percent_signed,
|
||||
round((((statuses_decisions_on_epgu.count_formed_for_signing)::numeric * (100)::numeric) / (statuses_decisions_on_epgu.count_loaded)::numeric)) AS percent_formed_for_signing
|
||||
FROM init_registration_info.statuses_decisions_on_epgu;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewStatusesDecisionsOnEpgu(String alias) {
|
||||
this(DSL.name(alias), VIEW_STATUSES_DECISIONS_ON_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewStatusesDecisionsOnEpgu(Name alias) {
|
||||
this(alias, VIEW_STATUSES_DECISIONS_ON_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewStatusesDecisionsOnEpgu() {
|
||||
this(DSL.name("view_statuses_decisions_on_epgu"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : InitRegistrationInfo.INIT_REGISTRATION_INFO;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu as(String alias) {
|
||||
return new ViewStatusesDecisionsOnEpgu(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu as(Name alias) {
|
||||
return new ViewStatusesDecisionsOnEpgu(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu as(Table<?> alias) {
|
||||
return new ViewStatusesDecisionsOnEpgu(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu rename(String name) {
|
||||
return new ViewStatusesDecisionsOnEpgu(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu rename(Name name) {
|
||||
return new ViewStatusesDecisionsOnEpgu(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu rename(Table<?> name) {
|
||||
return new ViewStatusesDecisionsOnEpgu(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu where(Condition condition) {
|
||||
return new ViewStatusesDecisionsOnEpgu(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewStatusesDecisionsOnEpgu where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewStatusesDecisionsOnEpgu where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewStatusesDecisionsOnEpgu where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewStatusesDecisionsOnEpgu where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewStatusesDecisionsOnEpgu whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -14,8 +14,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.ta
|
|||
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. Первоначальная постановка на учет по
|
||||
* данным из ГИР ВУ
|
||||
* Первоначальная постановка на учет. Заявления, поступившие через ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<ApplicationsReceivedFromEpguRecord> {
|
||||
|
|
@ -86,28 +85,12 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_executor_appointed</code>.
|
||||
*/
|
||||
public void setCountExecutorAppointed(Long value) {
|
||||
set(5, value);
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -115,7 +98,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* <code>init_registration_info.applications_received_from_epgu.count_executor_appointed</code>.
|
||||
*/
|
||||
public Long getCountExecutorAppointed() {
|
||||
return (Long) get(5);
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -123,7 +106,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* <code>init_registration_info.applications_received_from_epgu.count_registered</code>.
|
||||
*/
|
||||
public void setCountRegistered(Long value) {
|
||||
set(6, value);
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -131,7 +114,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* <code>init_registration_info.applications_received_from_epgu.count_registered</code>.
|
||||
*/
|
||||
public Long getCountRegistered() {
|
||||
return (Long) get(6);
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -140,7 +123,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Получен отказ в регистрации
|
||||
*/
|
||||
public void setCountRegistrationRefusal(Long value) {
|
||||
set(7, value);
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -149,7 +132,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Получен отказ в регистрации
|
||||
*/
|
||||
public Long getCountRegistrationRefusal() {
|
||||
return (Long) get(7);
|
||||
return (Long) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -158,7 +141,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Получен отказ в предоставлении услуги по заявлению
|
||||
*/
|
||||
public void setCountRefusalProvideService(Long value) {
|
||||
set(8, value);
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -167,7 +150,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Получен отказ в предоставлении услуги по заявлению
|
||||
*/
|
||||
public Long getCountRefusalProvideService() {
|
||||
return (Long) get(8);
|
||||
return (Long) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -176,7 +159,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Не назначен исполнитель свыше допустимых сроков (просрочено)
|
||||
*/
|
||||
public void setCountExecutorNotAppointedExpired(Long value) {
|
||||
set(9, value);
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -185,7 +168,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Не назначен исполнитель свыше допустимых сроков (просрочено)
|
||||
*/
|
||||
public Long getCountExecutorNotAppointedExpired() {
|
||||
return (Long) get(9);
|
||||
return (Long) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -194,7 +177,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Не назначен исполнитель в пределах допустимых сроков
|
||||
*/
|
||||
public void setCountExecutorNotAppointedOnTime(Long value) {
|
||||
set(10, value);
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -203,7 +186,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Не назначен исполнитель в пределах допустимых сроков
|
||||
*/
|
||||
public Long getCountExecutorNotAppointedOnTime() {
|
||||
return (Long) get(10);
|
||||
return (Long) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -212,7 +195,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Заявление получено ведомством
|
||||
*/
|
||||
public void setCountReceived(Long value) {
|
||||
set(11, value);
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -221,7 +204,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Заявление получено ведомством
|
||||
*/
|
||||
public Long getCountReceived() {
|
||||
return (Long) get(11);
|
||||
return (Long) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -230,7 +213,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Услуга по заявлению оказана
|
||||
*/
|
||||
public void setCountProvided(Long value) {
|
||||
set(12, value);
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -239,6 +222,22 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
* Услуга по заявлению оказана
|
||||
*/
|
||||
public Long getCountProvided() {
|
||||
return (Long) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.applications_received_from_epgu.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(12);
|
||||
}
|
||||
|
||||
|
|
@ -265,14 +264,13 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
/**
|
||||
* Create a detached, initialised ApplicationsReceivedFromEpguRecord
|
||||
*/
|
||||
public ApplicationsReceivedFromEpguRecord(Long applicationsReceivedFromEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countAll, Long countExecutorAppointed, Long countRegistered, Long countRegistrationRefusal, Long countRefusalProvideService, Long countExecutorNotAppointedExpired, Long countExecutorNotAppointedOnTime, Long countReceived, Long countProvided) {
|
||||
public ApplicationsReceivedFromEpguRecord(Long applicationsReceivedFromEpguId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countExecutorAppointed, Long countRegistered, Long countRegistrationRefusal, Long countRefusalProvideService, Long countExecutorNotAppointedExpired, Long countExecutorNotAppointedOnTime, Long countReceived, Long countProvided, Long countAll) {
|
||||
super(ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU);
|
||||
|
||||
setApplicationsReceivedFromEpguId(applicationsReceivedFromEpguId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountAll(countAll);
|
||||
setCountExecutorAppointed(countExecutorAppointed);
|
||||
setCountRegistered(countRegistered);
|
||||
setCountRegistrationRefusal(countRegistrationRefusal);
|
||||
|
|
@ -281,6 +279,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
|
|||
setCountExecutorNotAppointedOnTime(countExecutorNotAppointedOnTime);
|
||||
setCountReceived(countReceived);
|
||||
setCountProvided(countProvided);
|
||||
setCountAll(countAll);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.ta
|
|||
|
||||
|
||||
/**
|
||||
* Первоначальная постановка на учет. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Первоначальная постановка на учет. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class InfoSentToLkEpguRecord extends UpdatableRecordImpl<InfoSentToLkEpguRecord> {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,194 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewApplicationsReceivedFromEpgu;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewApplicationsReceivedFromEpguRecord extends TableRecordImpl<ViewApplicationsReceivedFromEpguRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.applications_received_from_epgu_id</code>.
|
||||
*/
|
||||
public void setApplicationsReceivedFromEpguId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.applications_received_from_epgu_id</code>.
|
||||
*/
|
||||
public Long getApplicationsReceivedFromEpguId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_appointed</code>.
|
||||
*/
|
||||
public void setPercentExecutorAppointed(BigDecimal value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_appointed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentExecutorAppointed() {
|
||||
return (BigDecimal) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_registered</code>.
|
||||
*/
|
||||
public void setPercentRegistered(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_registered</code>.
|
||||
*/
|
||||
public BigDecimal getPercentRegistered() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_registration_refusal</code>.
|
||||
*/
|
||||
public void setPercentRegistrationRefusal(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_registration_refusal</code>.
|
||||
*/
|
||||
public BigDecimal getPercentRegistrationRefusal() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_refusal_provide_service</code>.
|
||||
*/
|
||||
public void setPercentRefusalProvideService(BigDecimal value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_refusal_provide_service</code>.
|
||||
*/
|
||||
public BigDecimal getPercentRefusalProvideService() {
|
||||
return (BigDecimal) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_not_appointed_expired</code>.
|
||||
*/
|
||||
public void setPercentExecutorNotAppointedExpired(BigDecimal value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_not_appointed_expired</code>.
|
||||
*/
|
||||
public BigDecimal getPercentExecutorNotAppointedExpired() {
|
||||
return (BigDecimal) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_not_appointed_on_time</code>.
|
||||
*/
|
||||
public void setPercentExecutorNotAppointedOnTime(BigDecimal value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_executor_not_appointed_on_time</code>.
|
||||
*/
|
||||
public BigDecimal getPercentExecutorNotAppointedOnTime() {
|
||||
return (BigDecimal) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_received</code>.
|
||||
*/
|
||||
public void setPercentReceived(BigDecimal value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_received</code>.
|
||||
*/
|
||||
public BigDecimal getPercentReceived() {
|
||||
return (BigDecimal) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_provided</code>.
|
||||
*/
|
||||
public void setPercentProvided(BigDecimal value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_applications_received_from_epgu.percent_provided</code>.
|
||||
*/
|
||||
public BigDecimal getPercentProvided() {
|
||||
return (BigDecimal) get(8);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewApplicationsReceivedFromEpguRecord
|
||||
*/
|
||||
public ViewApplicationsReceivedFromEpguRecord() {
|
||||
super(ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewApplicationsReceivedFromEpguRecord
|
||||
*/
|
||||
public ViewApplicationsReceivedFromEpguRecord(Long applicationsReceivedFromEpguId, BigDecimal percentExecutorAppointed, BigDecimal percentRegistered, BigDecimal percentRegistrationRefusal, BigDecimal percentRefusalProvideService, BigDecimal percentExecutorNotAppointedExpired, BigDecimal percentExecutorNotAppointedOnTime, BigDecimal percentReceived, BigDecimal percentProvided) {
|
||||
super(ViewApplicationsReceivedFromEpgu.VIEW_APPLICATIONS_RECEIVED_FROM_EPGU);
|
||||
|
||||
setApplicationsReceivedFromEpguId(applicationsReceivedFromEpguId);
|
||||
setPercentExecutorAppointed(percentExecutorAppointed);
|
||||
setPercentRegistered(percentRegistered);
|
||||
setPercentRegistrationRefusal(percentRegistrationRefusal);
|
||||
setPercentRefusalProvideService(percentRefusalProvideService);
|
||||
setPercentExecutorNotAppointedExpired(percentExecutorNotAppointedExpired);
|
||||
setPercentExecutorNotAppointedOnTime(percentExecutorNotAppointedOnTime);
|
||||
setPercentReceived(percentReceived);
|
||||
setPercentProvided(percentProvided);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,143 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewDecisionFormationStatus;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewDecisionFormationStatusRecord extends TableRecordImpl<ViewDecisionFormationStatusRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_decision_formation_status.decision_formation_status_id</code>.
|
||||
*/
|
||||
public void setDecisionFormationStatusId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_decision_formation_status.decision_formation_status_id</code>.
|
||||
*/
|
||||
public Long getDecisionFormationStatusId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_decision_formation_status.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_decision_formation_status.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_signed</code>.
|
||||
*/
|
||||
public void setPercentSigned(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_signed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSigned() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_suggested</code>.
|
||||
*/
|
||||
public void setPercentSuggested(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_suggested</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSuggested() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_waiting_sign</code>.
|
||||
*/
|
||||
public void setPercentWaitingSign(BigDecimal value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_waiting_sign</code>.
|
||||
*/
|
||||
public BigDecimal getPercentWaitingSign() {
|
||||
return (BigDecimal) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_refused</code>.
|
||||
*/
|
||||
public void setPercentRefused(BigDecimal value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_decision_formation_status.percent_refused</code>.
|
||||
*/
|
||||
public BigDecimal getPercentRefused() {
|
||||
return (BigDecimal) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewDecisionFormationStatusRecord
|
||||
*/
|
||||
public ViewDecisionFormationStatusRecord() {
|
||||
super(ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewDecisionFormationStatusRecord
|
||||
*/
|
||||
public ViewDecisionFormationStatusRecord(Long decisionFormationStatusId, Long countAll, BigDecimal percentSigned, BigDecimal percentSuggested, BigDecimal percentWaitingSign, BigDecimal percentRefused) {
|
||||
super(ViewDecisionFormationStatus.VIEW_DECISION_FORMATION_STATUS);
|
||||
|
||||
setDecisionFormationStatusId(decisionFormationStatusId);
|
||||
setCountAll(countAll);
|
||||
setPercentSigned(percentSigned);
|
||||
setPercentSuggested(percentSuggested);
|
||||
setPercentWaitingSign(percentWaitingSign);
|
||||
setPercentRefused(percentRefused);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewRecordsInfoIdUkIdErn;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewRecordsInfoIdUkIdErnRecord extends TableRecordImpl<ViewRecordsInfoIdUkIdErnRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
|
||||
*/
|
||||
public void setRecordsInfoIdUkIdErnId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.records_info_id_uk_id_ern_id</code>.
|
||||
*/
|
||||
public Long getRecordsInfoIdUkIdErnId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_uk</code>.
|
||||
*/
|
||||
public void setPercentWithIdUk(BigDecimal value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_uk</code>.
|
||||
*/
|
||||
public BigDecimal getPercentWithIdUk() {
|
||||
return (BigDecimal) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_without_id_uk</code>.
|
||||
*/
|
||||
public void setPercentWithoutIdUk(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_without_id_uk</code>.
|
||||
*/
|
||||
public BigDecimal getPercentWithoutIdUk() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_ern</code>.
|
||||
*/
|
||||
public void setPercentWithIdErn(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_records_info_id_uk_id_ern.percent_with_id_ern</code>.
|
||||
*/
|
||||
public BigDecimal getPercentWithIdErn() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewRecordsInfoIdUkIdErnRecord
|
||||
*/
|
||||
public ViewRecordsInfoIdUkIdErnRecord() {
|
||||
super(ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewRecordsInfoIdUkIdErnRecord
|
||||
*/
|
||||
public ViewRecordsInfoIdUkIdErnRecord(Long recordsInfoIdUkIdErnId, BigDecimal percentWithIdUk, BigDecimal percentWithoutIdUk, BigDecimal percentWithIdErn) {
|
||||
super(ViewRecordsInfoIdUkIdErn.VIEW_RECORDS_INFO_ID_UK_ID_ERN);
|
||||
|
||||
setRecordsInfoIdUkIdErnId(recordsInfoIdUkIdErnId);
|
||||
setPercentWithIdUk(percentWithIdUk);
|
||||
setPercentWithoutIdUk(percentWithoutIdUk);
|
||||
setPercentWithIdErn(percentWithIdErn);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,92 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.tables.ViewStatusesDecisionsOnEpgu;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewStatusesDecisionsOnEpguRecord extends TableRecordImpl<ViewStatusesDecisionsOnEpguRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
|
||||
*/
|
||||
public void setStatusesDecisionsOnEpguId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.statuses_decisions_on_epgu_id</code>.
|
||||
*/
|
||||
public Long getStatusesDecisionsOnEpguId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.percent_signed</code>.
|
||||
*/
|
||||
public void setPercentSigned(BigDecimal value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.percent_signed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSigned() {
|
||||
return (BigDecimal) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.percent_formed_for_signing</code>.
|
||||
*/
|
||||
public void setPercentFormedForSigning(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>init_registration_info.view_statuses_decisions_on_epgu.percent_formed_for_signing</code>.
|
||||
*/
|
||||
public BigDecimal getPercentFormedForSigning() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewStatusesDecisionsOnEpguRecord
|
||||
*/
|
||||
public ViewStatusesDecisionsOnEpguRecord() {
|
||||
super(ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewStatusesDecisionsOnEpguRecord
|
||||
*/
|
||||
public ViewStatusesDecisionsOnEpguRecord(Long statusesDecisionsOnEpguId, BigDecimal percentSigned, BigDecimal percentFormedForSigning) {
|
||||
super(ViewStatusesDecisionsOnEpgu.VIEW_STATUSES_DECISIONS_ON_EPGU);
|
||||
|
||||
setStatusesDecisionsOnEpguId(statusesDecisionsOnEpguId);
|
||||
setPercentSigned(percentSigned);
|
||||
setPercentFormedForSigning(percentFormedForSigning);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -22,6 +22,11 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ConvertInf
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.CriminalAdministrativeLiability;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Region;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoComparisonCsvXml;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoLoadedRecords;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoNotIdentifitedRecords;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoRecordsFromEasu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewCriminalAdministrativeLiability;
|
||||
|
||||
|
||||
|
|
@ -59,12 +64,12 @@ public class Metrics extends SchemaImpl {
|
|||
public final ConvertInfoNotIdentifitedRecords CONVERT_INFO_NOT_IDENTIFITED_RECORDS = ConvertInfoNotIdentifitedRecords.CONVERT_INFO_NOT_IDENTIFITED_RECORDS;
|
||||
|
||||
/**
|
||||
* Загрузка Данных из ЕАСУ "ГОризонт-М"
|
||||
* Загрузка Данных из ЕАСУ "Горизонт-М"
|
||||
*/
|
||||
public final ConvertInfoRecordsFromEasu CONVERT_INFO_RECORDS_FROM_EASU = ConvertInfoRecordsFromEasu.CONVERT_INFO_RECORDS_FROM_EASU;
|
||||
|
||||
/**
|
||||
* Конвертация. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Конвертация. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
public final ConvertInfoSentToLkEpgu CONVERT_INFO_SENT_TO_LK_EPGU = ConvertInfoSentToLkEpgu.CONVERT_INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
|
|
@ -83,6 +88,31 @@ public class Metrics extends SchemaImpl {
|
|||
*/
|
||||
public final Region REGION = Region.REGION;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_comparison_csv_xml</code>.
|
||||
*/
|
||||
public final ViewConvertInfoComparisonCsvXml VIEW_CONVERT_INFO_COMPARISON_CSV_XML = ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_loaded_records</code>.
|
||||
*/
|
||||
public final ViewConvertInfoLoadedRecords VIEW_CONVERT_INFO_LOADED_RECORDS = ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_not_identifited_records</code>.
|
||||
*/
|
||||
public final ViewConvertInfoNotIdentifitedRecords VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS = ViewConvertInfoNotIdentifitedRecords.VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_records_from_easu</code>.
|
||||
*/
|
||||
public final ViewConvertInfoRecordsFromEasu VIEW_CONVERT_INFO_RECORDS_FROM_EASU = ViewConvertInfoRecordsFromEasu.VIEW_CONVERT_INFO_RECORDS_FROM_EASU;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_sent_to_lk_epgu</code>.
|
||||
*/
|
||||
public final ViewConvertInfoSentToLkEpgu VIEW_CONVERT_INFO_SENT_TO_LK_EPGU = ViewConvertInfoSentToLkEpgu.VIEW_CONVERT_INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_criminal_administrative_liability</code>.
|
||||
*/
|
||||
|
|
@ -124,6 +154,11 @@ public class Metrics extends SchemaImpl {
|
|||
CriminalAdministrativeLiability.CRIMINAL_ADMINISTRATIVE_LIABILITY,
|
||||
Recruitment.RECRUITMENT,
|
||||
Region.REGION,
|
||||
ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML,
|
||||
ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS,
|
||||
ViewConvertInfoNotIdentifitedRecords.VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS,
|
||||
ViewConvertInfoRecordsFromEasu.VIEW_CONVERT_INFO_RECORDS_FROM_EASU,
|
||||
ViewConvertInfoSentToLkEpgu.VIEW_CONVERT_INFO_SENT_TO_LK_EPGU,
|
||||
ViewCriminalAdministrativeLiability.VIEW_CRIMINAL_ADMINISTRATIVE_LIABILITY
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,11 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ConvertInf
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.CriminalAdministrativeLiability;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Recruitment;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.Region;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoComparisonCsvXml;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoLoadedRecords;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoNotIdentifitedRecords;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoRecordsFromEasu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoSentToLkEpgu;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewCriminalAdministrativeLiability;
|
||||
|
||||
|
||||
|
|
@ -43,12 +48,12 @@ public class Tables {
|
|||
public static final ConvertInfoNotIdentifitedRecords CONVERT_INFO_NOT_IDENTIFITED_RECORDS = ConvertInfoNotIdentifitedRecords.CONVERT_INFO_NOT_IDENTIFITED_RECORDS;
|
||||
|
||||
/**
|
||||
* Загрузка Данных из ЕАСУ "ГОризонт-М"
|
||||
* Загрузка Данных из ЕАСУ "Горизонт-М"
|
||||
*/
|
||||
public static final ConvertInfoRecordsFromEasu CONVERT_INFO_RECORDS_FROM_EASU = ConvertInfoRecordsFromEasu.CONVERT_INFO_RECORDS_FROM_EASU;
|
||||
|
||||
/**
|
||||
* Конвертация. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Конвертация. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
public static final ConvertInfoSentToLkEpgu CONVERT_INFO_SENT_TO_LK_EPGU = ConvertInfoSentToLkEpgu.CONVERT_INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
|
|
@ -67,6 +72,31 @@ public class Tables {
|
|||
*/
|
||||
public static final Region REGION = Region.REGION;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_comparison_csv_xml</code>.
|
||||
*/
|
||||
public static final ViewConvertInfoComparisonCsvXml VIEW_CONVERT_INFO_COMPARISON_CSV_XML = ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_loaded_records</code>.
|
||||
*/
|
||||
public static final ViewConvertInfoLoadedRecords VIEW_CONVERT_INFO_LOADED_RECORDS = ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_not_identifited_records</code>.
|
||||
*/
|
||||
public static final ViewConvertInfoNotIdentifitedRecords VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS = ViewConvertInfoNotIdentifitedRecords.VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_records_from_easu</code>.
|
||||
*/
|
||||
public static final ViewConvertInfoRecordsFromEasu VIEW_CONVERT_INFO_RECORDS_FROM_EASU = ViewConvertInfoRecordsFromEasu.VIEW_CONVERT_INFO_RECORDS_FROM_EASU;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_convert_info_sent_to_lk_epgu</code>.
|
||||
*/
|
||||
public static final ViewConvertInfoSentToLkEpgu VIEW_CONVERT_INFO_SENT_TO_LK_EPGU = ViewConvertInfoSentToLkEpgu.VIEW_CONVERT_INFO_SENT_TO_LK_EPGU;
|
||||
|
||||
/**
|
||||
* The table <code>metrics.view_criminal_administrative_liability</code>.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -92,9 +92,9 @@ public class ConvertInfoComparisonCsvXml extends TableImpl<ConvertInfoComparison
|
|||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.convert_info_comparison_csv_xml.count_csv</code>.
|
||||
* <code>metrics.convert_info_comparison_csv_xml.count_csv_formed</code>.
|
||||
*/
|
||||
public final TableField<ConvertInfoComparisonCsvXmlRecord, Long> COUNT_CSV = createField(DSL.name("count_csv"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
public final TableField<ConvertInfoComparisonCsvXmlRecord, Long> COUNT_CSV_FORMED = createField(DSL.name("count_csv_formed"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
private ConvertInfoComparisonCsvXml(Name alias, Table<ConvertInfoComparisonCsvXmlRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.Co
|
|||
|
||||
|
||||
/**
|
||||
* Загрузка Данных из ЕАСУ "ГОризонт-М"
|
||||
* Загрузка Данных из ЕАСУ "Горизонт-М"
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ConvertInfoRecordsFromEasu extends TableImpl<ConvertInfoRecordsFromEasuRecord> {
|
||||
|
|
@ -83,11 +83,6 @@ public class ConvertInfoRecordsFromEasu extends TableImpl<ConvertInfoRecordsFrom
|
|||
*/
|
||||
public final TableField<ConvertInfoRecordsFromEasuRecord, Date> INFO_DATE = createField(DSL.name("info_date"), SQLDataType.DATE.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>metrics.convert_info_records_from_easu.count_all</code>.
|
||||
*/
|
||||
public final TableField<ConvertInfoRecordsFromEasuRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.convert_info_records_from_easu.count_unique</code>.
|
||||
|
|
@ -96,16 +91,16 @@ public class ConvertInfoRecordsFromEasu extends TableImpl<ConvertInfoRecordsFrom
|
|||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.convert_info_records_from_easu.count_identified</code>.
|
||||
* <code>metrics.convert_info_records_from_easu.count_flk_and_duplicate</code>.
|
||||
*/
|
||||
public final TableField<ConvertInfoRecordsFromEasuRecord, Long> COUNT_IDENTIFIED = createField(DSL.name("count_identified"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
public final TableField<ConvertInfoRecordsFromEasuRecord, Long> COUNT_FLK_AND_DUPLICATE = createField(DSL.name("count_flk_and_duplicate"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
|
||||
|
||||
private ConvertInfoRecordsFromEasu(Name alias, Table<ConvertInfoRecordsFromEasuRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ConvertInfoRecordsFromEasu(Name alias, Table<ConvertInfoRecordsFromEasuRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Загрузка Данных из ЕАСУ \"ГОризонт-М\""), TableOptions.table(), where);
|
||||
super(alias, null, aliased, parameters, DSL.comment("Загрузка Данных из ЕАСУ \"Горизонт-М\""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.Co
|
|||
|
||||
|
||||
/**
|
||||
* Конвертация. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Конвертация. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ConvertInfoSentToLkEpgu extends TableImpl<ConvertInfoSentToLkEpguRecord> {
|
||||
|
|
@ -128,7 +128,7 @@ public class ConvertInfoSentToLkEpgu extends TableImpl<ConvertInfoSentToLkEpguRe
|
|||
}
|
||||
|
||||
private ConvertInfoSentToLkEpgu(Name alias, Table<ConvertInfoSentToLkEpguRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment("Конвертация. ДОставка уведомлений в ЛК на ЕПГУ"), TableOptions.table(), where);
|
||||
super(alias, null, aliased, parameters, DSL.comment("Конвертация. Доставка уведомлений в ЛК на ЕПГУ"), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -0,0 +1,227 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.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.metrics.Metrics;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.ViewConvertInfoComparisonCsvXmlRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoComparisonCsvXml extends TableImpl<ViewConvertInfoComparisonCsvXmlRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml</code>
|
||||
*/
|
||||
public static final ViewConvertInfoComparisonCsvXml VIEW_CONVERT_INFO_COMPARISON_CSV_XML = new ViewConvertInfoComparisonCsvXml();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewConvertInfoComparisonCsvXmlRecord> getRecordType() {
|
||||
return ViewConvertInfoComparisonCsvXmlRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml.convert_info_comparison_csv_xml_id</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoComparisonCsvXmlRecord, Long> CONVERT_INFO_COMPARISON_CSV_XML_ID = createField(DSL.name("convert_info_comparison_csv_xml_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml.percent_csv_formed</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoComparisonCsvXmlRecord, BigDecimal> PERCENT_CSV_FORMED = createField(DSL.name("percent_csv_formed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewConvertInfoComparisonCsvXml(Name alias, Table<ViewConvertInfoComparisonCsvXmlRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewConvertInfoComparisonCsvXml(Name alias, Table<ViewConvertInfoComparisonCsvXmlRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_convert_info_comparison_csv_xml" as SELECT convert_info_comparison_csv_xml.convert_info_comparison_csv_xml_id,
|
||||
round((((convert_info_comparison_csv_xml.count_csv_formed)::numeric * (100)::numeric) / (convert_info_comparison_csv_xml.count_xml_formed)::numeric)) AS percent_csv_formed
|
||||
FROM metrics.convert_info_comparison_csv_xml;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml</code> table reference
|
||||
*/
|
||||
public ViewConvertInfoComparisonCsvXml(String alias) {
|
||||
this(DSL.name(alias), VIEW_CONVERT_INFO_COMPARISON_CSV_XML);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml</code> table reference
|
||||
*/
|
||||
public ViewConvertInfoComparisonCsvXml(Name alias) {
|
||||
this(alias, VIEW_CONVERT_INFO_COMPARISON_CSV_XML);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>metrics.view_convert_info_comparison_csv_xml</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewConvertInfoComparisonCsvXml() {
|
||||
this(DSL.name("view_convert_info_comparison_csv_xml"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Metrics.METRICS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml as(String alias) {
|
||||
return new ViewConvertInfoComparisonCsvXml(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml as(Name alias) {
|
||||
return new ViewConvertInfoComparisonCsvXml(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml as(Table<?> alias) {
|
||||
return new ViewConvertInfoComparisonCsvXml(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml rename(String name) {
|
||||
return new ViewConvertInfoComparisonCsvXml(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml rename(Name name) {
|
||||
return new ViewConvertInfoComparisonCsvXml(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml rename(Table<?> name) {
|
||||
return new ViewConvertInfoComparisonCsvXml(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml where(Condition condition) {
|
||||
return new ViewConvertInfoComparisonCsvXml(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoComparisonCsvXml where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoComparisonCsvXml where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoComparisonCsvXml where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoComparisonCsvXml where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoComparisonCsvXml 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.metrics.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.metrics.Metrics;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.ViewConvertInfoLoadedRecordsRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoLoadedRecords extends TableImpl<ViewConvertInfoLoadedRecordsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>metrics.view_convert_info_loaded_records</code>
|
||||
*/
|
||||
public static final ViewConvertInfoLoadedRecords VIEW_CONVERT_INFO_LOADED_RECORDS = new ViewConvertInfoLoadedRecords();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewConvertInfoLoadedRecordsRecord> getRecordType() {
|
||||
return ViewConvertInfoLoadedRecordsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_loaded_records.convert_info_loaded_records_id</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoLoadedRecordsRecord, Long> CONVERT_INFO_LOADED_RECORDS_ID = createField(DSL.name("convert_info_loaded_records_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_loaded_records.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoLoadedRecordsRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_loaded_records.percent_error</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoLoadedRecordsRecord, BigDecimal> PERCENT_ERROR = createField(DSL.name("percent_error"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_loaded_records.percent_success</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoLoadedRecordsRecord, BigDecimal> PERCENT_SUCCESS = createField(DSL.name("percent_success"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewConvertInfoLoadedRecords(Name alias, Table<ViewConvertInfoLoadedRecordsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewConvertInfoLoadedRecords(Name alias, Table<ViewConvertInfoLoadedRecordsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_convert_info_loaded_records" as SELECT convert_info_loaded_records.convert_info_loaded_records_id,
|
||||
(convert_info_loaded_records.count_success + convert_info_loaded_records.count_error) AS count_all,
|
||||
round((((convert_info_loaded_records.count_error)::numeric * (100)::numeric) / ((convert_info_loaded_records.count_success + convert_info_loaded_records.count_error))::numeric)) AS percent_error,
|
||||
round((((convert_info_loaded_records.count_success)::numeric * (100)::numeric) / ((convert_info_loaded_records.count_success + convert_info_loaded_records.count_error))::numeric)) AS percent_success
|
||||
FROM metrics.convert_info_loaded_records;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>metrics.view_convert_info_loaded_records</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewConvertInfoLoadedRecords(String alias) {
|
||||
this(DSL.name(alias), VIEW_CONVERT_INFO_LOADED_RECORDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>metrics.view_convert_info_loaded_records</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewConvertInfoLoadedRecords(Name alias) {
|
||||
this(alias, VIEW_CONVERT_INFO_LOADED_RECORDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>metrics.view_convert_info_loaded_records</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewConvertInfoLoadedRecords() {
|
||||
this(DSL.name("view_convert_info_loaded_records"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Metrics.METRICS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords as(String alias) {
|
||||
return new ViewConvertInfoLoadedRecords(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords as(Name alias) {
|
||||
return new ViewConvertInfoLoadedRecords(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords as(Table<?> alias) {
|
||||
return new ViewConvertInfoLoadedRecords(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords rename(String name) {
|
||||
return new ViewConvertInfoLoadedRecords(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords rename(Name name) {
|
||||
return new ViewConvertInfoLoadedRecords(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords rename(Table<?> name) {
|
||||
return new ViewConvertInfoLoadedRecords(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords where(Condition condition) {
|
||||
return new ViewConvertInfoLoadedRecords(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoLoadedRecords where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoLoadedRecords where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoLoadedRecords where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoLoadedRecords where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoLoadedRecords 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.metrics.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.metrics.Metrics;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.ViewConvertInfoNotIdentifitedRecordsRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoNotIdentifitedRecords extends TableImpl<ViewConvertInfoNotIdentifitedRecordsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>metrics.view_convert_info_not_identifited_records</code>
|
||||
*/
|
||||
public static final ViewConvertInfoNotIdentifitedRecords VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS = new ViewConvertInfoNotIdentifitedRecords();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewConvertInfoNotIdentifitedRecordsRecord> getRecordType() {
|
||||
return ViewConvertInfoNotIdentifitedRecordsRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_not_identifited_records.convert_info_not_identifited_records_id</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoNotIdentifitedRecordsRecord, Long> CONVERT_INFO_NOT_IDENTIFITED_RECORDS_ID = createField(DSL.name("convert_info_not_identifited_records_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_not_identifited_records.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoNotIdentifitedRecordsRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_not_identifited_records.percent_not_in_xml</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoNotIdentifitedRecordsRecord, BigDecimal> PERCENT_NOT_IN_XML = createField(DSL.name("percent_not_in_xml"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_not_identifited_records.percent_not_in_csv</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoNotIdentifitedRecordsRecord, BigDecimal> PERCENT_NOT_IN_CSV = createField(DSL.name("percent_not_in_csv"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewConvertInfoNotIdentifitedRecords(Name alias, Table<ViewConvertInfoNotIdentifitedRecordsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewConvertInfoNotIdentifitedRecords(Name alias, Table<ViewConvertInfoNotIdentifitedRecordsRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_convert_info_not_identifited_records" as SELECT convert_info_not_identifited_records.convert_info_not_identifited_records_id,
|
||||
(convert_info_not_identifited_records.count_not_in_csv + convert_info_not_identifited_records.count_not_in_xml) AS count_all,
|
||||
round((((convert_info_not_identifited_records.count_not_in_xml)::numeric * (100)::numeric) / ((convert_info_not_identifited_records.count_not_in_csv + convert_info_not_identifited_records.count_not_in_xml))::numeric)) AS percent_not_in_xml,
|
||||
round((((convert_info_not_identifited_records.count_not_in_csv)::numeric * (100)::numeric) / ((convert_info_not_identifited_records.count_not_in_csv + convert_info_not_identifited_records.count_not_in_xml))::numeric)) AS percent_not_in_csv
|
||||
FROM metrics.convert_info_not_identifited_records;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>metrics.view_convert_info_not_identifited_records</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewConvertInfoNotIdentifitedRecords(String alias) {
|
||||
this(DSL.name(alias), VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>metrics.view_convert_info_not_identifited_records</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewConvertInfoNotIdentifitedRecords(Name alias) {
|
||||
this(alias, VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>metrics.view_convert_info_not_identifited_records</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewConvertInfoNotIdentifitedRecords() {
|
||||
this(DSL.name("view_convert_info_not_identifited_records"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Metrics.METRICS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords as(String alias) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords as(Name alias) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords as(Table<?> alias) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords rename(String name) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords rename(Name name) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords rename(Table<?> name) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords where(Condition condition) {
|
||||
return new ViewConvertInfoNotIdentifitedRecords(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoNotIdentifitedRecords where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoNotIdentifitedRecords where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoNotIdentifitedRecords where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoNotIdentifitedRecords where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoNotIdentifitedRecords 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.metrics.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.metrics.Metrics;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.ViewConvertInfoRecordsFromEasuRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoRecordsFromEasu extends TableImpl<ViewConvertInfoRecordsFromEasuRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>metrics.view_convert_info_records_from_easu</code>
|
||||
*/
|
||||
public static final ViewConvertInfoRecordsFromEasu VIEW_CONVERT_INFO_RECORDS_FROM_EASU = new ViewConvertInfoRecordsFromEasu();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewConvertInfoRecordsFromEasuRecord> getRecordType() {
|
||||
return ViewConvertInfoRecordsFromEasuRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_records_from_easu.convert_info_records_from_easu_id</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoRecordsFromEasuRecord, Long> CONVERT_INFO_RECORDS_FROM_EASU_ID = createField(DSL.name("convert_info_records_from_easu_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_records_from_easu.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoRecordsFromEasuRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_records_from_easu.percent_unique</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoRecordsFromEasuRecord, BigDecimal> PERCENT_UNIQUE = createField(DSL.name("percent_unique"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_records_from_easu.percent_flk_and_duplicate</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoRecordsFromEasuRecord, BigDecimal> PERCENT_FLK_AND_DUPLICATE = createField(DSL.name("percent_flk_and_duplicate"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewConvertInfoRecordsFromEasu(Name alias, Table<ViewConvertInfoRecordsFromEasuRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewConvertInfoRecordsFromEasu(Name alias, Table<ViewConvertInfoRecordsFromEasuRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_convert_info_records_from_easu" as SELECT convert_info_records_from_easu.convert_info_records_from_easu_id,
|
||||
(convert_info_records_from_easu.count_unique + convert_info_records_from_easu.count_flk_and_duplicate) AS count_all,
|
||||
round((((convert_info_records_from_easu.count_unique)::numeric * (100)::numeric) / ((convert_info_records_from_easu.count_unique + convert_info_records_from_easu.count_flk_and_duplicate))::numeric)) AS percent_unique,
|
||||
round((((convert_info_records_from_easu.count_flk_and_duplicate)::numeric * (100)::numeric) / ((convert_info_records_from_easu.count_unique + convert_info_records_from_easu.count_flk_and_duplicate))::numeric)) AS percent_flk_and_duplicate
|
||||
FROM metrics.convert_info_records_from_easu;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>metrics.view_convert_info_records_from_easu</code> table reference
|
||||
*/
|
||||
public ViewConvertInfoRecordsFromEasu(String alias) {
|
||||
this(DSL.name(alias), VIEW_CONVERT_INFO_RECORDS_FROM_EASU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased
|
||||
* <code>metrics.view_convert_info_records_from_easu</code> table reference
|
||||
*/
|
||||
public ViewConvertInfoRecordsFromEasu(Name alias) {
|
||||
this(alias, VIEW_CONVERT_INFO_RECORDS_FROM_EASU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>metrics.view_convert_info_records_from_easu</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewConvertInfoRecordsFromEasu() {
|
||||
this(DSL.name("view_convert_info_records_from_easu"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Metrics.METRICS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu as(String alias) {
|
||||
return new ViewConvertInfoRecordsFromEasu(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu as(Name alias) {
|
||||
return new ViewConvertInfoRecordsFromEasu(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu as(Table<?> alias) {
|
||||
return new ViewConvertInfoRecordsFromEasu(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu rename(String name) {
|
||||
return new ViewConvertInfoRecordsFromEasu(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu rename(Name name) {
|
||||
return new ViewConvertInfoRecordsFromEasu(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu rename(Table<?> name) {
|
||||
return new ViewConvertInfoRecordsFromEasu(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu where(Condition condition) {
|
||||
return new ViewConvertInfoRecordsFromEasu(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoRecordsFromEasu where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoRecordsFromEasu where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoRecordsFromEasu where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoRecordsFromEasu where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoRecordsFromEasu whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,269 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.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.metrics.Metrics;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records.ViewConvertInfoSentToLkEpguRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoSentToLkEpgu extends TableImpl<ViewConvertInfoSentToLkEpguRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu</code>
|
||||
*/
|
||||
public static final ViewConvertInfoSentToLkEpgu VIEW_CONVERT_INFO_SENT_TO_LK_EPGU = new ViewConvertInfoSentToLkEpgu();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<ViewConvertInfoSentToLkEpguRecord> getRecordType() {
|
||||
return ViewConvertInfoSentToLkEpguRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.convert_info_sent_to_lk_epgu_id</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, Long> CONVERT_INFO_SENT_TO_LK_EPGU_ID = createField(DSL.name("convert_info_sent_to_lk_epgu_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_status_formed</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_STATUS_FORMED = createField(DSL.name("percent_status_formed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_status_not_formed</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_STATUS_NOT_FORMED = createField(DSL.name("percent_status_not_formed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_sended</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_SENDED = createField(DSL.name("percent_sended"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_delivered</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_DELIVERED = createField(DSL.name("percent_delivered"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_error</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_ERROR = createField(DSL.name("percent_error"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_viewed</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_VIEWED = createField(DSL.name("percent_viewed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_not_viewed</code>.
|
||||
*/
|
||||
public final TableField<ViewConvertInfoSentToLkEpguRecord, BigDecimal> PERCENT_NOT_VIEWED = createField(DSL.name("percent_not_viewed"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewConvertInfoSentToLkEpgu(Name alias, Table<ViewConvertInfoSentToLkEpguRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private ViewConvertInfoSentToLkEpgu(Name alias, Table<ViewConvertInfoSentToLkEpguRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_convert_info_sent_to_lk_epgu" as SELECT convert_info_sent_to_lk_epgu.convert_info_sent_to_lk_epgu_id,
|
||||
round((((convert_info_sent_to_lk_epgu.count_status_formed)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_status_formed,
|
||||
round((((convert_info_sent_to_lk_epgu.count_status_not_formed)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_status_not_formed,
|
||||
round((((convert_info_sent_to_lk_epgu.count_sended)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_sended,
|
||||
round((((convert_info_sent_to_lk_epgu.count_delivered)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_delivered,
|
||||
round((((convert_info_sent_to_lk_epgu.count_error)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_error,
|
||||
round((((convert_info_sent_to_lk_epgu.count_viewed)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_viewed,
|
||||
round((((convert_info_sent_to_lk_epgu.count_not_viewed)::numeric * (100)::numeric) / ((convert_info_sent_to_lk_epgu.count_status_formed + convert_info_sent_to_lk_epgu.count_status_not_formed))::numeric)) AS percent_not_viewed
|
||||
FROM metrics.convert_info_sent_to_lk_epgu;
|
||||
"""), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>metrics.view_convert_info_sent_to_lk_epgu</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewConvertInfoSentToLkEpgu(String alias) {
|
||||
this(DSL.name(alias), VIEW_CONVERT_INFO_SENT_TO_LK_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>metrics.view_convert_info_sent_to_lk_epgu</code>
|
||||
* table reference
|
||||
*/
|
||||
public ViewConvertInfoSentToLkEpgu(Name alias) {
|
||||
this(alias, VIEW_CONVERT_INFO_SENT_TO_LK_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>metrics.view_convert_info_sent_to_lk_epgu</code> table
|
||||
* reference
|
||||
*/
|
||||
public ViewConvertInfoSentToLkEpgu() {
|
||||
this(DSL.name("view_convert_info_sent_to_lk_epgu"), null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : Metrics.METRICS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu as(String alias) {
|
||||
return new ViewConvertInfoSentToLkEpgu(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu as(Name alias) {
|
||||
return new ViewConvertInfoSentToLkEpgu(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu as(Table<?> alias) {
|
||||
return new ViewConvertInfoSentToLkEpgu(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu rename(String name) {
|
||||
return new ViewConvertInfoSentToLkEpgu(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu rename(Name name) {
|
||||
return new ViewConvertInfoSentToLkEpgu(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu rename(Table<?> name) {
|
||||
return new ViewConvertInfoSentToLkEpgu(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu where(Condition condition) {
|
||||
return new ViewConvertInfoSentToLkEpgu(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoSentToLkEpgu where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoSentToLkEpgu where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoSentToLkEpgu where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public ViewConvertInfoSentToLkEpgu where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public ViewConvertInfoSentToLkEpgu whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
|
|
@ -50,9 +51,27 @@ public class ViewCriminalAdministrativeLiability extends TableImpl<ViewCriminalA
|
|||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_criminal_administrative_liability.?column?</code>.
|
||||
* <code>metrics.view_criminal_administrative_liability.criminal_administrative_liability_id</code>.
|
||||
*/
|
||||
public final TableField<ViewCriminalAdministrativeLiabilityRecord, Long> _3fCOLUMN_3f = createField(DSL.name("?column?"), SQLDataType.BIGINT, this, "");
|
||||
public final TableField<ViewCriminalAdministrativeLiabilityRecord, Long> CRIMINAL_ADMINISTRATIVE_LIABILITY_ID = createField(DSL.name("criminal_administrative_liability_id"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_criminal_administrative_liability.count_all</code>.
|
||||
*/
|
||||
public final TableField<ViewCriminalAdministrativeLiabilityRecord, Long> COUNT_ALL = createField(DSL.name("count_all"), SQLDataType.BIGINT, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_criminal_administrative_liability.percent_criminal</code>.
|
||||
*/
|
||||
public final TableField<ViewCriminalAdministrativeLiabilityRecord, BigDecimal> PERCENT_CRIMINAL = createField(DSL.name("percent_criminal"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>metrics.view_criminal_administrative_liability.percent_administrative</code>.
|
||||
*/
|
||||
public final TableField<ViewCriminalAdministrativeLiabilityRecord, BigDecimal> PERCENT_ADMINISTRATIVE = createField(DSL.name("percent_administrative"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewCriminalAdministrativeLiability(Name alias, Table<ViewCriminalAdministrativeLiabilityRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
|
|
@ -60,7 +79,10 @@ public class ViewCriminalAdministrativeLiability extends TableImpl<ViewCriminalA
|
|||
|
||||
private ViewCriminalAdministrativeLiability(Name alias, Table<ViewCriminalAdministrativeLiabilityRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_criminal_administrative_liability" as SELECT (criminal_administrative_liability.count_administrative + criminal_administrative_liability.count_criminal) AS "?column?"
|
||||
create view "view_criminal_administrative_liability" as SELECT criminal_administrative_liability.criminal_administrative_liability_id,
|
||||
(criminal_administrative_liability.count_administrative + criminal_administrative_liability.count_criminal) AS count_all,
|
||||
round((((criminal_administrative_liability.count_criminal)::numeric * (100)::numeric) / ((criminal_administrative_liability.count_administrative + criminal_administrative_liability.count_criminal))::numeric)) AS percent_criminal,
|
||||
round((((criminal_administrative_liability.count_administrative)::numeric * (100)::numeric) / ((criminal_administrative_liability.count_administrative + criminal_administrative_liability.count_criminal))::numeric)) AS percent_administrative
|
||||
FROM metrics.criminal_administrative_liability;
|
||||
"""), where);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,17 +103,17 @@ public class ConvertInfoComparisonCsvXmlRecord extends UpdatableRecordImpl<Conve
|
|||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.convert_info_comparison_csv_xml.count_csv</code>.
|
||||
* <code>metrics.convert_info_comparison_csv_xml.count_csv_formed</code>.
|
||||
*/
|
||||
public void setCountCsv(Long value) {
|
||||
public void setCountCsvFormed(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.convert_info_comparison_csv_xml.count_csv</code>.
|
||||
* <code>metrics.convert_info_comparison_csv_xml.count_csv_formed</code>.
|
||||
*/
|
||||
public Long getCountCsv() {
|
||||
public Long getCountCsvFormed() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ public class ConvertInfoComparisonCsvXmlRecord extends UpdatableRecordImpl<Conve
|
|||
/**
|
||||
* Create a detached, initialised ConvertInfoComparisonCsvXmlRecord
|
||||
*/
|
||||
public ConvertInfoComparisonCsvXmlRecord(Long convertInfoComparisonCsvXmlId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countXmlFormed, Long countCsv) {
|
||||
public ConvertInfoComparisonCsvXmlRecord(Long convertInfoComparisonCsvXmlId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countXmlFormed, Long countCsvFormed) {
|
||||
super(ConvertInfoComparisonCsvXml.CONVERT_INFO_COMPARISON_CSV_XML);
|
||||
|
||||
setConvertInfoComparisonCsvXmlId(convertInfoComparisonCsvXmlId);
|
||||
|
|
@ -148,7 +148,7 @@ public class ConvertInfoComparisonCsvXmlRecord extends UpdatableRecordImpl<Conve
|
|||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountXmlFormed(countXmlFormed);
|
||||
setCountCsv(countCsv);
|
||||
setCountCsvFormed(countCsvFormed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ConvertInf
|
|||
|
||||
|
||||
/**
|
||||
* Загрузка Данных из ЕАСУ "ГОризонт-М"
|
||||
* Загрузка Данных из ЕАСУ "Горизонт-М"
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ConvertInfoRecordsFromEasuRecord extends UpdatableRecordImpl<ConvertInfoRecordsFromEasuRecord> {
|
||||
|
|
@ -83,26 +83,12 @@ public class ConvertInfoRecordsFromEasuRecord extends UpdatableRecordImpl<Conver
|
|||
return (Date) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>metrics.convert_info_records_from_easu.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>metrics.convert_info_records_from_easu.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.convert_info_records_from_easu.count_unique</code>.
|
||||
*/
|
||||
public void setCountUnique(Long value) {
|
||||
set(5, value);
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -110,23 +96,23 @@ public class ConvertInfoRecordsFromEasuRecord extends UpdatableRecordImpl<Conver
|
|||
* <code>metrics.convert_info_records_from_easu.count_unique</code>.
|
||||
*/
|
||||
public Long getCountUnique() {
|
||||
return (Long) get(5);
|
||||
return (Long) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.convert_info_records_from_easu.count_identified</code>.
|
||||
* <code>metrics.convert_info_records_from_easu.count_flk_and_duplicate</code>.
|
||||
*/
|
||||
public void setCountIdentified(Long value) {
|
||||
set(6, value);
|
||||
public void setCountFlkAndDuplicate(Long value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.convert_info_records_from_easu.count_identified</code>.
|
||||
* <code>metrics.convert_info_records_from_easu.count_flk_and_duplicate</code>.
|
||||
*/
|
||||
public Long getCountIdentified() {
|
||||
return (Long) get(6);
|
||||
public Long getCountFlkAndDuplicate() {
|
||||
return (Long) get(5);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -152,16 +138,15 @@ public class ConvertInfoRecordsFromEasuRecord extends UpdatableRecordImpl<Conver
|
|||
/**
|
||||
* Create a detached, initialised ConvertInfoRecordsFromEasuRecord
|
||||
*/
|
||||
public ConvertInfoRecordsFromEasuRecord(Long convertInfoRecordsFromEasuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countAll, Long countUnique, Long countIdentified) {
|
||||
public ConvertInfoRecordsFromEasuRecord(Long convertInfoRecordsFromEasuId, String recruitmentId, Timestamp updateDate, Date infoDate, Long countUnique, Long countFlkAndDuplicate) {
|
||||
super(ConvertInfoRecordsFromEasu.CONVERT_INFO_RECORDS_FROM_EASU);
|
||||
|
||||
setConvertInfoRecordsFromEasuId(convertInfoRecordsFromEasuId);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setUpdateDate(updateDate);
|
||||
setInfoDate(infoDate);
|
||||
setCountAll(countAll);
|
||||
setCountUnique(countUnique);
|
||||
setCountIdentified(countIdentified);
|
||||
setCountFlkAndDuplicate(countFlkAndDuplicate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ConvertInf
|
|||
|
||||
|
||||
/**
|
||||
* Конвертация. ДОставка уведомлений в ЛК на ЕПГУ
|
||||
* Конвертация. Доставка уведомлений в ЛК на ЕПГУ
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ConvertInfoSentToLkEpguRecord extends UpdatableRecordImpl<ConvertInfoSentToLkEpguRecord> {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,75 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoComparisonCsvXml;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoComparisonCsvXmlRecord extends TableRecordImpl<ViewConvertInfoComparisonCsvXmlRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml.convert_info_comparison_csv_xml_id</code>.
|
||||
*/
|
||||
public void setConvertInfoComparisonCsvXmlId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml.convert_info_comparison_csv_xml_id</code>.
|
||||
*/
|
||||
public Long getConvertInfoComparisonCsvXmlId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml.percent_csv_formed</code>.
|
||||
*/
|
||||
public void setPercentCsvFormed(BigDecimal value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_comparison_csv_xml.percent_csv_formed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentCsvFormed() {
|
||||
return (BigDecimal) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewConvertInfoComparisonCsvXmlRecord
|
||||
*/
|
||||
public ViewConvertInfoComparisonCsvXmlRecord() {
|
||||
super(ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewConvertInfoComparisonCsvXmlRecord
|
||||
*/
|
||||
public ViewConvertInfoComparisonCsvXmlRecord(Long convertInfoComparisonCsvXmlId, BigDecimal percentCsvFormed) {
|
||||
super(ViewConvertInfoComparisonCsvXml.VIEW_CONVERT_INFO_COMPARISON_CSV_XML);
|
||||
|
||||
setConvertInfoComparisonCsvXmlId(convertInfoComparisonCsvXmlId);
|
||||
setPercentCsvFormed(percentCsvFormed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoLoadedRecords;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoLoadedRecordsRecord extends TableRecordImpl<ViewConvertInfoLoadedRecordsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_loaded_records.convert_info_loaded_records_id</code>.
|
||||
*/
|
||||
public void setConvertInfoLoadedRecordsId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_loaded_records.convert_info_loaded_records_id</code>.
|
||||
*/
|
||||
public Long getConvertInfoLoadedRecordsId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_loaded_records.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_loaded_records.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_loaded_records.percent_error</code>.
|
||||
*/
|
||||
public void setPercentError(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_loaded_records.percent_error</code>.
|
||||
*/
|
||||
public BigDecimal getPercentError() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_loaded_records.percent_success</code>.
|
||||
*/
|
||||
public void setPercentSuccess(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_loaded_records.percent_success</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSuccess() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewConvertInfoLoadedRecordsRecord
|
||||
*/
|
||||
public ViewConvertInfoLoadedRecordsRecord() {
|
||||
super(ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewConvertInfoLoadedRecordsRecord
|
||||
*/
|
||||
public ViewConvertInfoLoadedRecordsRecord(Long convertInfoLoadedRecordsId, Long countAll, BigDecimal percentError, BigDecimal percentSuccess) {
|
||||
super(ViewConvertInfoLoadedRecords.VIEW_CONVERT_INFO_LOADED_RECORDS);
|
||||
|
||||
setConvertInfoLoadedRecordsId(convertInfoLoadedRecordsId);
|
||||
setCountAll(countAll);
|
||||
setPercentError(percentError);
|
||||
setPercentSuccess(percentSuccess);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoNotIdentifitedRecords;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoNotIdentifitedRecordsRecord extends TableRecordImpl<ViewConvertInfoNotIdentifitedRecordsRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.convert_info_not_identifited_records_id</code>.
|
||||
*/
|
||||
public void setConvertInfoNotIdentifitedRecordsId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.convert_info_not_identifited_records_id</code>.
|
||||
*/
|
||||
public Long getConvertInfoNotIdentifitedRecordsId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.percent_not_in_xml</code>.
|
||||
*/
|
||||
public void setPercentNotInXml(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.percent_not_in_xml</code>.
|
||||
*/
|
||||
public BigDecimal getPercentNotInXml() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.percent_not_in_csv</code>.
|
||||
*/
|
||||
public void setPercentNotInCsv(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_not_identifited_records.percent_not_in_csv</code>.
|
||||
*/
|
||||
public BigDecimal getPercentNotInCsv() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewConvertInfoNotIdentifitedRecordsRecord
|
||||
*/
|
||||
public ViewConvertInfoNotIdentifitedRecordsRecord() {
|
||||
super(ViewConvertInfoNotIdentifitedRecords.VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewConvertInfoNotIdentifitedRecordsRecord
|
||||
*/
|
||||
public ViewConvertInfoNotIdentifitedRecordsRecord(Long convertInfoNotIdentifitedRecordsId, Long countAll, BigDecimal percentNotInXml, BigDecimal percentNotInCsv) {
|
||||
super(ViewConvertInfoNotIdentifitedRecords.VIEW_CONVERT_INFO_NOT_IDENTIFITED_RECORDS);
|
||||
|
||||
setConvertInfoNotIdentifitedRecordsId(convertInfoNotIdentifitedRecordsId);
|
||||
setCountAll(countAll);
|
||||
setPercentNotInXml(percentNotInXml);
|
||||
setPercentNotInCsv(percentNotInCsv);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,109 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoRecordsFromEasu;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoRecordsFromEasuRecord extends TableRecordImpl<ViewConvertInfoRecordsFromEasuRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.convert_info_records_from_easu_id</code>.
|
||||
*/
|
||||
public void setConvertInfoRecordsFromEasuId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.convert_info_records_from_easu_id</code>.
|
||||
*/
|
||||
public Long getConvertInfoRecordsFromEasuId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.percent_unique</code>.
|
||||
*/
|
||||
public void setPercentUnique(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.percent_unique</code>.
|
||||
*/
|
||||
public BigDecimal getPercentUnique() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.percent_flk_and_duplicate</code>.
|
||||
*/
|
||||
public void setPercentFlkAndDuplicate(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_records_from_easu.percent_flk_and_duplicate</code>.
|
||||
*/
|
||||
public BigDecimal getPercentFlkAndDuplicate() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewConvertInfoRecordsFromEasuRecord
|
||||
*/
|
||||
public ViewConvertInfoRecordsFromEasuRecord() {
|
||||
super(ViewConvertInfoRecordsFromEasu.VIEW_CONVERT_INFO_RECORDS_FROM_EASU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewConvertInfoRecordsFromEasuRecord
|
||||
*/
|
||||
public ViewConvertInfoRecordsFromEasuRecord(Long convertInfoRecordsFromEasuId, Long countAll, BigDecimal percentUnique, BigDecimal percentFlkAndDuplicate) {
|
||||
super(ViewConvertInfoRecordsFromEasu.VIEW_CONVERT_INFO_RECORDS_FROM_EASU);
|
||||
|
||||
setConvertInfoRecordsFromEasuId(convertInfoRecordsFromEasuId);
|
||||
setCountAll(countAll);
|
||||
setPercentUnique(percentUnique);
|
||||
setPercentFlkAndDuplicate(percentFlkAndDuplicate);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,177 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewConvertInfoSentToLkEpgu;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class ViewConvertInfoSentToLkEpguRecord extends TableRecordImpl<ViewConvertInfoSentToLkEpguRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.convert_info_sent_to_lk_epgu_id</code>.
|
||||
*/
|
||||
public void setConvertInfoSentToLkEpguId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.convert_info_sent_to_lk_epgu_id</code>.
|
||||
*/
|
||||
public Long getConvertInfoSentToLkEpguId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_status_formed</code>.
|
||||
*/
|
||||
public void setPercentStatusFormed(BigDecimal value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_status_formed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentStatusFormed() {
|
||||
return (BigDecimal) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_status_not_formed</code>.
|
||||
*/
|
||||
public void setPercentStatusNotFormed(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_status_not_formed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentStatusNotFormed() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_sended</code>.
|
||||
*/
|
||||
public void setPercentSended(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_sended</code>.
|
||||
*/
|
||||
public BigDecimal getPercentSended() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_delivered</code>.
|
||||
*/
|
||||
public void setPercentDelivered(BigDecimal value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_delivered</code>.
|
||||
*/
|
||||
public BigDecimal getPercentDelivered() {
|
||||
return (BigDecimal) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_error</code>.
|
||||
*/
|
||||
public void setPercentError(BigDecimal value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_error</code>.
|
||||
*/
|
||||
public BigDecimal getPercentError() {
|
||||
return (BigDecimal) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_viewed</code>.
|
||||
*/
|
||||
public void setPercentViewed(BigDecimal value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_viewed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentViewed() {
|
||||
return (BigDecimal) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_not_viewed</code>.
|
||||
*/
|
||||
public void setPercentNotViewed(BigDecimal value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_convert_info_sent_to_lk_epgu.percent_not_viewed</code>.
|
||||
*/
|
||||
public BigDecimal getPercentNotViewed() {
|
||||
return (BigDecimal) get(7);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached ViewConvertInfoSentToLkEpguRecord
|
||||
*/
|
||||
public ViewConvertInfoSentToLkEpguRecord() {
|
||||
super(ViewConvertInfoSentToLkEpgu.VIEW_CONVERT_INFO_SENT_TO_LK_EPGU);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised ViewConvertInfoSentToLkEpguRecord
|
||||
*/
|
||||
public ViewConvertInfoSentToLkEpguRecord(Long convertInfoSentToLkEpguId, BigDecimal percentStatusFormed, BigDecimal percentStatusNotFormed, BigDecimal percentSended, BigDecimal percentDelivered, BigDecimal percentError, BigDecimal percentViewed, BigDecimal percentNotViewed) {
|
||||
super(ViewConvertInfoSentToLkEpgu.VIEW_CONVERT_INFO_SENT_TO_LK_EPGU);
|
||||
|
||||
setConvertInfoSentToLkEpguId(convertInfoSentToLkEpguId);
|
||||
setPercentStatusFormed(percentStatusFormed);
|
||||
setPercentStatusNotFormed(percentStatusNotFormed);
|
||||
setPercentSended(percentSended);
|
||||
setPercentDelivered(percentDelivered);
|
||||
setPercentError(percentError);
|
||||
setPercentViewed(percentViewed);
|
||||
setPercentNotViewed(percentNotViewed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -4,6 +4,8 @@
|
|||
package ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.records;
|
||||
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import org.jooq.impl.TableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.tables.ViewCriminalAdministrativeLiability;
|
||||
|
|
@ -19,20 +21,68 @@ public class ViewCriminalAdministrativeLiabilityRecord extends TableRecordImpl<V
|
|||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_criminal_administrative_liability.?column?</code>.
|
||||
* <code>metrics.view_criminal_administrative_liability.criminal_administrative_liability_id</code>.
|
||||
*/
|
||||
public void set_3fcolumn_3f(Long value) {
|
||||
public void setCriminalAdministrativeLiabilityId(Long value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_criminal_administrative_liability.?column?</code>.
|
||||
* <code>metrics.view_criminal_administrative_liability.criminal_administrative_liability_id</code>.
|
||||
*/
|
||||
public Long get_3fcolumn_3f() {
|
||||
public Long getCriminalAdministrativeLiabilityId() {
|
||||
return (Long) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_criminal_administrative_liability.count_all</code>.
|
||||
*/
|
||||
public void setCountAll(Long value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_criminal_administrative_liability.count_all</code>.
|
||||
*/
|
||||
public Long getCountAll() {
|
||||
return (Long) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_criminal_administrative_liability.percent_criminal</code>.
|
||||
*/
|
||||
public void setPercentCriminal(BigDecimal value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_criminal_administrative_liability.percent_criminal</code>.
|
||||
*/
|
||||
public BigDecimal getPercentCriminal() {
|
||||
return (BigDecimal) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>metrics.view_criminal_administrative_liability.percent_administrative</code>.
|
||||
*/
|
||||
public void setPercentAdministrative(BigDecimal value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>metrics.view_criminal_administrative_liability.percent_administrative</code>.
|
||||
*/
|
||||
public BigDecimal getPercentAdministrative() {
|
||||
return (BigDecimal) get(3);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -47,10 +97,13 @@ public class ViewCriminalAdministrativeLiabilityRecord extends TableRecordImpl<V
|
|||
/**
|
||||
* Create a detached, initialised ViewCriminalAdministrativeLiabilityRecord
|
||||
*/
|
||||
public ViewCriminalAdministrativeLiabilityRecord(Long _3fcolumn_3f) {
|
||||
public ViewCriminalAdministrativeLiabilityRecord(Long criminalAdministrativeLiabilityId, Long countAll, BigDecimal percentCriminal, BigDecimal percentAdministrative) {
|
||||
super(ViewCriminalAdministrativeLiability.VIEW_CRIMINAL_ADMINISTRATIVE_LIABILITY);
|
||||
|
||||
set_3fcolumn_3f(_3fcolumn_3f);
|
||||
setCriminalAdministrativeLiabilityId(criminalAdministrativeLiabilityId);
|
||||
setCountAll(countAll);
|
||||
setPercentCriminal(percentCriminal);
|
||||
setPercentAdministrative(percentAdministrative);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -12594,7 +12594,7 @@
|
|||
<entry>
|
||||
<key>valueByEventColumn</key>
|
||||
<value>
|
||||
<simple>{"schema":"metrics","table":"convert_info_records_from_easu","entity":"convert_info_records_from_easu","name":"count_all"}</simple>
|
||||
<simple>{"schema":"metrics","table":"convert_info_records_from_easu","entity":"convert_info_records_from_easu","name":"count_identified"}</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue