This commit is contained in:
ilyin 2024-11-09 19:29:33 +03:00
parent 6bfe0f77f3
commit 90e380972d
9 changed files with 1683 additions and 57 deletions

View file

@ -106,14 +106,44 @@ public class ApplicationsReceivedFromEpgu extends TableImpl<ApplicationsReceived
/**
* The column
* <code>init_registration_info.applications_received_from_epgu.count_registration_refusal</code>.
* Получен отказ в регистрации
*/
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_REGISTRATION_REFUSAL = createField(DSL.name("count_registration_refusal"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_REGISTRATION_REFUSAL = createField(DSL.name("count_registration_refusal"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Получен отказ в регистрации");
/**
* The column
* <code>init_registration_info.applications_received_from_epgu.count_refusal_provide_service</code>.
* Получен отказ в предоставлении услуги по заявлению
*/
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_REFUSAL_PROVIDE_SERVICE = createField(DSL.name("count_refusal_provide_service"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_REFUSAL_PROVIDE_SERVICE = createField(DSL.name("count_refusal_provide_service"), 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_not_appointed_expired</code>.
* Не назначен исполнитель свыше допустимых сроков (просрочено)
*/
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_EXECUTOR_NOT_APPOINTED_EXPIRED = createField(DSL.name("count_executor_not_appointed_expired"), 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_not_appointed_on_time</code>.
* Не назначен исполнитель в пределах допустимых сроков
*/
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_EXECUTOR_NOT_APPOINTED_ON_TIME = createField(DSL.name("count_executor_not_appointed_on_time"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Не назначен исполнитель в пределах допустимых сроков");
/**
* The column
* <code>init_registration_info.applications_received_from_epgu.count_received</code>.
* Заявление получено ведомством
*/
public final TableField<ApplicationsReceivedFromEpguRecord, Long> COUNT_RECEIVED = createField(DSL.name("count_received"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Заявление получено ведомством");
/**
* The column
* <code>init_registration_info.applications_received_from_epgu.count_provided</code>.
* Услуга по заявлению оказана
*/
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, "Услуга по заявлению оказана");
private ApplicationsReceivedFromEpgu(Name alias, Table<ApplicationsReceivedFromEpguRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);

View file

@ -117,6 +117,12 @@ public class DecisionFormationStatus extends TableImpl<DecisionFormationStatusRe
*/
public final TableField<DecisionFormationStatusRecord, Long> COUNT_WAITING_SIGN = createField(DSL.name("count_waiting_sign"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
/**
* The column
* <code>init_registration_info.decision_formation_status.count_refused</code>.
*/
public final TableField<DecisionFormationStatusRecord, Long> COUNT_REFUSED = createField(DSL.name("count_refused"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "");
private DecisionFormationStatus(Name alias, Table<DecisionFormationStatusRecord> aliased) {
this(alias, aliased, (Field<?>[]) null, null);
}

View file

@ -137,6 +137,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
/**
* Setter for
* <code>init_registration_info.applications_received_from_epgu.count_registration_refusal</code>.
* Получен отказ в регистрации
*/
public void setCountRegistrationRefusal(Long value) {
set(7, value);
@ -145,6 +146,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
/**
* Getter for
* <code>init_registration_info.applications_received_from_epgu.count_registration_refusal</code>.
* Получен отказ в регистрации
*/
public Long getCountRegistrationRefusal() {
return (Long) get(7);
@ -153,6 +155,7 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
/**
* Setter for
* <code>init_registration_info.applications_received_from_epgu.count_refusal_provide_service</code>.
* Получен отказ в предоставлении услуги по заявлению
*/
public void setCountRefusalProvideService(Long value) {
set(8, value);
@ -161,11 +164,84 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
/**
* Getter for
* <code>init_registration_info.applications_received_from_epgu.count_refusal_provide_service</code>.
* Получен отказ в предоставлении услуги по заявлению
*/
public Long getCountRefusalProvideService() {
return (Long) get(8);
}
/**
* Setter for
* <code>init_registration_info.applications_received_from_epgu.count_executor_not_appointed_expired</code>.
* Не назначен исполнитель свыше допустимых сроков (просрочено)
*/
public void setCountExecutorNotAppointedExpired(Long value) {
set(9, value);
}
/**
* Getter for
* <code>init_registration_info.applications_received_from_epgu.count_executor_not_appointed_expired</code>.
* Не назначен исполнитель свыше допустимых сроков (просрочено)
*/
public Long getCountExecutorNotAppointedExpired() {
return (Long) get(9);
}
/**
* Setter for
* <code>init_registration_info.applications_received_from_epgu.count_executor_not_appointed_on_time</code>.
* Не назначен исполнитель в пределах допустимых сроков
*/
public void setCountExecutorNotAppointedOnTime(Long value) {
set(10, value);
}
/**
* Getter for
* <code>init_registration_info.applications_received_from_epgu.count_executor_not_appointed_on_time</code>.
* Не назначен исполнитель в пределах допустимых сроков
*/
public Long getCountExecutorNotAppointedOnTime() {
return (Long) get(10);
}
/**
* Setter for
* <code>init_registration_info.applications_received_from_epgu.count_received</code>.
* Заявление получено ведомством
*/
public void setCountReceived(Long value) {
set(11, value);
}
/**
* Getter for
* <code>init_registration_info.applications_received_from_epgu.count_received</code>.
* Заявление получено ведомством
*/
public Long getCountReceived() {
return (Long) get(11);
}
/**
* Setter for
* <code>init_registration_info.applications_received_from_epgu.count_provided</code>.
* Услуга по заявлению оказана
*/
public void setCountProvided(Long value) {
set(12, value);
}
/**
* Getter for
* <code>init_registration_info.applications_received_from_epgu.count_provided</code>.
* Услуга по заявлению оказана
*/
public Long getCountProvided() {
return (Long) get(12);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@ -189,7 +265,7 @@ 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) {
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) {
super(ApplicationsReceivedFromEpgu.APPLICATIONS_RECEIVED_FROM_EPGU);
setApplicationsReceivedFromEpguId(applicationsReceivedFromEpguId);
@ -201,6 +277,10 @@ public class ApplicationsReceivedFromEpguRecord extends UpdatableRecordImpl<Appl
setCountRegistered(countRegistered);
setCountRegistrationRefusal(countRegistrationRefusal);
setCountRefusalProvideService(countRefusalProvideService);
setCountExecutorNotAppointedExpired(countExecutorNotAppointedExpired);
setCountExecutorNotAppointedOnTime(countExecutorNotAppointedOnTime);
setCountReceived(countReceived);
setCountProvided(countProvided);
resetChangedOnNotNull();
}
}

View file

@ -171,6 +171,22 @@ public class DecisionFormationStatusRecord extends UpdatableRecordImpl<DecisionF
return (Long) get(8);
}
/**
* Setter for
* <code>init_registration_info.decision_formation_status.count_refused</code>.
*/
public void setCountRefused(Long value) {
set(9, value);
}
/**
* Getter for
* <code>init_registration_info.decision_formation_status.count_refused</code>.
*/
public Long getCountRefused() {
return (Long) get(9);
}
// -------------------------------------------------------------------------
// Primary key information
// -------------------------------------------------------------------------
@ -194,7 +210,7 @@ public class DecisionFormationStatusRecord extends UpdatableRecordImpl<DecisionF
/**
* Create a detached, initialised DecisionFormationStatusRecord
*/
public DecisionFormationStatusRecord(Long decisionFormationStatusId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, String infoAge, Long countSigned, Long countSuggested, Long countWaitingSign) {
public DecisionFormationStatusRecord(Long decisionFormationStatusId, String recruitmentId, Timestamp updateDate, Date infoDate, String infoSource, String infoAge, Long countSigned, Long countSuggested, Long countWaitingSign, Long countRefused) {
super(DecisionFormationStatus.DECISION_FORMATION_STATUS);
setDecisionFormationStatusId(decisionFormationStatusId);
@ -206,6 +222,7 @@ public class DecisionFormationStatusRecord extends UpdatableRecordImpl<DecisionF
setCountSigned(countSigned);
setCountSuggested(countSuggested);
setCountWaitingSign(countWaitingSign);
setCountRefused(countRefused);
resetChangedOnNotNull();
}
}

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
<changeSet id="0001" author="ilyin">
<comment>add columns</comment>
<sql>
ALTER TABLE init_registration_info.decision_formation_status ADD COLUMN IF NOT EXISTS count_refused bigint NOT NULL DEFAULT 0;
ALTER TABLE init_registration_info.applications_received_from_epgu ADD COLUMN IF NOT EXISTS count_executor_not_appointed_expired bigint NOT NULL DEFAULT 0;
ALTER TABLE init_registration_info.applications_received_from_epgu ADD COLUMN IF NOT EXISTS count_executor_not_appointed_on_time bigint NOT NULL DEFAULT 0;
ALTER TABLE init_registration_info.applications_received_from_epgu ADD COLUMN IF NOT EXISTS count_received bigint NOT NULL DEFAULT 0;
ALTER TABLE init_registration_info.applications_received_from_epgu ADD COLUMN IF NOT EXISTS count_provided bigint NOT NULL DEFAULT 0;
COMMENT ON COLUMN init_registration_info.applications_received_from_epgu.count_executor_not_appointed_expired IS 'Не назначен исполнитель свыше допустимых сроков (просрочено)';
COMMENT ON COLUMN init_registration_info.applications_received_from_epgu.count_executor_not_appointed_on_time IS 'Не назначен исполнитель в пределах допустимых сроков';
COMMENT ON COLUMN init_registration_info.applications_received_from_epgu.count_received IS 'Заявление получено ведомством';
COMMENT ON COLUMN init_registration_info.applications_received_from_epgu.count_registration_refusal IS 'Получен отказ в регистрации';
COMMENT ON COLUMN init_registration_info.applications_received_from_epgu.count_refusal_provide_service IS 'Получен отказ в предоставлении услуги по заявлению';
COMMENT ON COLUMN init_registration_info.applications_received_from_epgu.count_provided IS 'Услуга по заявлению оказана';
</sql>
</changeSet>
</databaseChangeLog>

View file

@ -6,5 +6,6 @@
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
<include file="src/main/resources/changelog/v_0.1/20241031-ERVU-168_create_db.xml"/>
<include file="src/main/resources/changelog/v_0.1/20241109-ERVU-168_update_db.xml"/>
</databaseChangeLog>

View file

@ -5,7 +5,7 @@
"filter_cleanup_check_period_minutes": 30,
"auth_method": "form",
"enable.version.in.url": "false",
"backend.context": "dashboard",
"backend.context": "business-metrics",
"guard.confirm_exit": false,
"message_service_error_timeout": "",
"message_service_warning_timeout": "",

View file

@ -8,8 +8,8 @@
<packaging>pom</packaging>
<modules>
<module>backend</module>
<module>db</module>
<module>resources</module>
<module>db</module>
</modules>
<scm>
<connection>scm:git:git://gitserver/webbpm/webbpm-components.git</connection>