Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
28f7506b45
63 changed files with 11149 additions and 22958 deletions
|
|
@ -167,6 +167,14 @@
|
|||
<groupId>org.postgresql</groupId>
|
||||
<artifactId>postgresql</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.kafka</groupId>
|
||||
<artifactId>kafka-clients</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>${project.parent.artifactId}</finalName>
|
||||
|
|
|
|||
|
|
@ -22,8 +22,10 @@ import org.springframework.context.annotation.Configuration;
|
|||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||
import org.springframework.context.annotation.FilterType;
|
||||
import org.springframework.context.support.PropertySourcesPlaceholderConfigurer;
|
||||
import org.springframework.http.client.HttpComponentsClientHttpRequestFactory;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
|
||||
|
||||
/**
|
||||
|
|
@ -117,4 +119,10 @@ public class AppConfig {
|
|||
throw new AppInitializeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Bean
|
||||
public RestTemplate restTemplate() {
|
||||
return new RestTemplate();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
package ervu_business_metrics.config;
|
||||
|
||||
import org.springframework.context.annotation.Condition;
|
||||
import org.springframework.context.annotation.ConditionContext;
|
||||
import org.springframework.core.env.Environment;
|
||||
import org.springframework.core.type.AnnotatedTypeMetadata;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
public class IdmReconcileEnabledCondition implements Condition {
|
||||
private static final String ERVU_RECONCILE_ENABLED = "ervu.idm.reconcile.enabled";
|
||||
|
||||
@Override
|
||||
public boolean matches(ConditionContext context, AnnotatedTypeMetadata metadata) {
|
||||
Environment env = context.getEnvironment();
|
||||
return Boolean.parseBoolean(env.getProperty(ERVU_RECONCILE_ENABLED, "true"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,112 @@
|
|||
package ervu_business_metrics.dao;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import org.jooq.DSLContext;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
|
||||
|
||||
import static ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Tables.ACCOUNT;
|
||||
import static ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Tables.ACCOUNT_ROLE;
|
||||
import static ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Tables.DOMAIN;
|
||||
import static ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Tables.ROLE;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Repository
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class IdmDirectoriesDao {
|
||||
private final DSLContext dsl;
|
||||
|
||||
public IdmDirectoriesDao(DSLContext dsl) {
|
||||
this.dsl = dsl;
|
||||
}
|
||||
|
||||
public RoleRecord getRoleRecord() {
|
||||
return dsl.newRecord(ROLE);
|
||||
}
|
||||
|
||||
public DomainRecord getDomainRecord() {
|
||||
return dsl.newRecord(DOMAIN);
|
||||
}
|
||||
|
||||
public AccountRecord getAccountRecord() {
|
||||
return dsl.newRecord(ACCOUNT);
|
||||
}
|
||||
|
||||
public AccountRoleRecord getAccountRoleRecord() {
|
||||
return dsl.newRecord(ACCOUNT_ROLE);
|
||||
}
|
||||
|
||||
public Set<String> getAccountIds() {
|
||||
return dsl.select(ACCOUNT.ID)
|
||||
.from(ACCOUNT)
|
||||
.fetchSet(ACCOUNT.ID);
|
||||
}
|
||||
|
||||
public Set<String> getRoleIds() {
|
||||
return dsl.select(ROLE.ID)
|
||||
.from(ROLE)
|
||||
.fetchSet(ROLE.ID);
|
||||
}
|
||||
|
||||
public Set<String> getDomainIds() {
|
||||
return dsl.select(DOMAIN.ID)
|
||||
.from(DOMAIN)
|
||||
.fetchSet(DOMAIN.ID);
|
||||
}
|
||||
|
||||
public void insertDomainRecords(List<DomainRecord> domainRecords) {
|
||||
dsl.batchInsert(domainRecords).execute();
|
||||
}
|
||||
|
||||
public void updateDomainRecords(List<DomainRecord> domainRecords) {
|
||||
dsl.batchUpdate(domainRecords).execute();
|
||||
}
|
||||
|
||||
public void insertRoleRecords(List<RoleRecord> newRoleRecords) {
|
||||
dsl.batchInsert(newRoleRecords).execute();
|
||||
}
|
||||
|
||||
public void updateRoleRecords(List<RoleRecord> roleRecords) {
|
||||
dsl.batchUpdate(roleRecords).execute();
|
||||
}
|
||||
|
||||
public void insertAccountRecords(List<AccountRecord> newAccountRecords) {
|
||||
dsl.batchInsert(newAccountRecords).execute();
|
||||
}
|
||||
|
||||
public void updateAccountRecords(List<AccountRecord> accountRecords) {
|
||||
dsl.batchUpdate(accountRecords).execute();
|
||||
}
|
||||
|
||||
public void insertAccountRoleRecords(List<AccountRoleRecord> newAccountRoleRecords) {
|
||||
dsl.batchInsert(newAccountRoleRecords).execute();
|
||||
}
|
||||
|
||||
public void deleteAccountRolesByAccountIds(List<String> accountIds) {
|
||||
dsl.deleteFrom(ACCOUNT_ROLE)
|
||||
.where(ACCOUNT_ROLE.ACCOUNT_ID.in(accountIds))
|
||||
.execute();
|
||||
}
|
||||
|
||||
public void deleteAccountByIds(List<String> accountIds) {
|
||||
dsl.deleteFrom(ACCOUNT)
|
||||
.where(ACCOUNT.ID.in(accountIds))
|
||||
.execute();
|
||||
}
|
||||
|
||||
public void deleteDomainsByIds(List<String> domainIds) {
|
||||
dsl.deleteFrom(DOMAIN)
|
||||
.where(DOMAIN.ID.in(domainIds))
|
||||
.execute();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
package ervu_business_metrics.kafka;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import org.apache.kafka.clients.CommonClientConfigs;
|
||||
import org.apache.kafka.clients.consumer.ConsumerConfig;
|
||||
import org.apache.kafka.common.config.SaslConfigs;
|
||||
import org.apache.kafka.common.serialization.StringDeserializer;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.kafka.annotation.EnableKafka;
|
||||
import org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory;
|
||||
import org.springframework.kafka.config.KafkaListenerEndpointRegistry;
|
||||
import org.springframework.kafka.core.ConsumerFactory;
|
||||
import org.springframework.kafka.core.DefaultKafkaConsumerFactory;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Configuration
|
||||
@EnableKafka
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class KafkaConfig {
|
||||
@Value("${kafka.hosts}")
|
||||
private String bootstrapServers;
|
||||
@Value("${kafka.auth_sec_proto}")
|
||||
private String securityProtocol;
|
||||
@Value("${kafka.auth_sasl_module}")
|
||||
private String loginModule;
|
||||
@Value("${kafka.user}")
|
||||
private String username;
|
||||
@Value("${kafka.pass}")
|
||||
private String password;
|
||||
@Value("${kafka.auth_sasl_mech}")
|
||||
private String saslMechanism;
|
||||
|
||||
@Bean
|
||||
public KafkaListenerEndpointRegistry kafkaListenerEndpointRegistry() {
|
||||
return new KafkaListenerEndpointRegistry();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ConsumerFactory<String, String> consumerFactory() {
|
||||
return new DefaultKafkaConsumerFactory<>(consumerConfigs());
|
||||
}
|
||||
|
||||
@Bean
|
||||
public Map<String, Object> consumerConfigs() {
|
||||
Map<String, Object> props = new HashMap<>();
|
||||
props.put(ConsumerConfig.BOOTSTRAP_SERVERS_CONFIG, bootstrapServers);
|
||||
props.put(ConsumerConfig.KEY_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class);
|
||||
props.put(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, StringDeserializer.class);
|
||||
props.put(CommonClientConfigs.SECURITY_PROTOCOL_CONFIG, securityProtocol);
|
||||
props.put(SaslConfigs.SASL_JAAS_CONFIG, loginModule + " required username=\""
|
||||
+ username + "\" password=\"" + password + "\";");
|
||||
props.put(SaslConfigs.SASL_MECHANISM, saslMechanism);
|
||||
props.put(ConsumerConfig.AUTO_OFFSET_RESET_CONFIG, "latest");
|
||||
return props;
|
||||
}
|
||||
|
||||
@Bean
|
||||
public ConcurrentKafkaListenerContainerFactory<String, String> kafkaListenerContainerFactory() {
|
||||
ConcurrentKafkaListenerContainerFactory<String, String> factory = new ConcurrentKafkaListenerContainerFactory<>();
|
||||
factory.setConsumerFactory(consumerFactory());
|
||||
return factory;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
package ervu_business_metrics.kafka;
|
||||
|
||||
import javax.annotation.PostConstruct;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import ervu_business_metrics.service.IdmDirectoriesService;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.context.annotation.DependsOn;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Component
|
||||
@DependsOn("idmDirectoriesListener")
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class KafkaConsumerInitializer {
|
||||
private final IdmDirectoriesService idmDirectoriesService;
|
||||
|
||||
public KafkaConsumerInitializer(IdmDirectoriesService idmDirectoriesService) {
|
||||
this.idmDirectoriesService = idmDirectoriesService;
|
||||
}
|
||||
|
||||
@PostConstruct
|
||||
public void initialize() {
|
||||
new Thread(this::runWithSleep).start();
|
||||
}
|
||||
|
||||
private void runWithSleep() {
|
||||
try {
|
||||
Thread.sleep(10000);
|
||||
}
|
||||
catch (InterruptedException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
idmDirectoriesService.updateDirectories();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
package ervu_business_metrics.kafka.listener;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import ervu_business_metrics.model.AccountData;
|
||||
import ervu_business_metrics.model.DomainData;
|
||||
import ervu_business_metrics.model.RoleData;
|
||||
import ervu_business_metrics.service.IdmDirectoriesService;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.kafka.annotation.KafkaListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Component
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class IdmDirectoriesListener {
|
||||
private final IdmDirectoriesService idmDirectoriesService;
|
||||
|
||||
public IdmDirectoriesListener(IdmDirectoriesService idmDirectoriesService) {
|
||||
this.idmDirectoriesService = idmDirectoriesService;
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.domain.group.id}", topics = "${kafka.domain.reconciliation}")
|
||||
public void listenKafkaDomain(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, DomainData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.role.group.id}", topics = "${kafka.role.reconciliation}")
|
||||
public void listenKafkaRole(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, RoleData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.account.group.id}", topics = "${kafka.account.reconciliation}")
|
||||
public void listenKafkaAccount(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, AccountData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.domain.updated.group.id}", topics = "${kafka.domain.updated}")
|
||||
public void listenKafkaDomainUpdated(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, DomainData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.domain.created.group.id}", topics = "${kafka.domain.created}")
|
||||
public void listenKafkaDomainCreated(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, DomainData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.account.updated.group.id}", topics = "${kafka.account.updated}")
|
||||
public void listenKafkaAccountUpdated(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, AccountData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.account.created.group.id}", topics = "${kafka.account.created}")
|
||||
public void listenKafkaAccountCreated(String kafkaMessage) {
|
||||
idmDirectoriesService.processUpsertMessage(kafkaMessage, AccountData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.domain.deleted.group.id}", topics = "${kafka.domain.deleted}")
|
||||
public void listenKafkaDomainDeleted(String kafkaMessage) {
|
||||
idmDirectoriesService.processDeleteMessage(kafkaMessage, DomainData.class);
|
||||
}
|
||||
|
||||
@KafkaListener(id = "${kafka.account.deleted.group.id}", topics = "${kafka.account.deleted}")
|
||||
public void listenKafkaAccountDeleted(String kafkaMessage) {
|
||||
idmDirectoriesService.processDeleteMessage(kafkaMessage, AccountData.class);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
package ervu_business_metrics.kafka.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DeleteKafkaMessage {
|
||||
private boolean success;
|
||||
private String message;
|
||||
private List<String> data;
|
||||
private String origin;
|
||||
public List<String> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<String> data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public boolean isSuccess() {
|
||||
return success;
|
||||
}
|
||||
|
||||
public void setSuccess(boolean success) {
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
||||
public void setMessage(String message) {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public String getOrigin() {
|
||||
return origin;
|
||||
}
|
||||
|
||||
public void setOrigin(String origin) {
|
||||
this.origin = origin;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
package ervu_business_metrics.kafka.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class UpsertMessage<T>{
|
||||
private List<T> data;
|
||||
|
||||
public List<T> getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(List<T> data) {
|
||||
this.data = data;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,135 @@
|
|||
package ervu_business_metrics.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
||||
import ervu_business_metrics.model.deserializer.ReferenceEntityDeserializer;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class AccountData {
|
||||
private String id;
|
||||
private int version;
|
||||
private long modified;
|
||||
private String schema;
|
||||
private String start;
|
||||
private String finish;
|
||||
private boolean enabled;
|
||||
private String position;
|
||||
private String fio;
|
||||
private String workMail;
|
||||
private boolean esiaAccount;
|
||||
@JsonProperty("user-domain")
|
||||
@JsonDeserialize(using = ReferenceEntityDeserializer.class)
|
||||
private ReferenceEntity userDomain;
|
||||
private List<String> roles;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(int version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
public long getModified() {
|
||||
return modified;
|
||||
}
|
||||
|
||||
public void setModified(long modified) {
|
||||
this.modified = modified;
|
||||
}
|
||||
|
||||
public String getSchema() {
|
||||
return schema;
|
||||
}
|
||||
|
||||
public void setSchema(String schema) {
|
||||
this.schema = schema;
|
||||
}
|
||||
|
||||
public String getStart() {
|
||||
return start;
|
||||
}
|
||||
|
||||
public void setStart(String start) {
|
||||
this.start = start;
|
||||
}
|
||||
|
||||
public String getFinish() {
|
||||
return finish;
|
||||
}
|
||||
|
||||
public void setFinish(String finish) {
|
||||
this.finish = finish;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public String getPosition() {
|
||||
return position;
|
||||
}
|
||||
|
||||
public void setPosition(String position) {
|
||||
this.position = position;
|
||||
}
|
||||
|
||||
public String getFio() {
|
||||
return fio;
|
||||
}
|
||||
|
||||
public void setFio(String fio) {
|
||||
this.fio = fio;
|
||||
}
|
||||
|
||||
public String getWorkMail() {
|
||||
return workMail;
|
||||
}
|
||||
|
||||
public void setWorkMail(String workMail) {
|
||||
this.workMail = workMail;
|
||||
}
|
||||
|
||||
public boolean isEsiaAccount() {
|
||||
return esiaAccount;
|
||||
}
|
||||
|
||||
public void setEsiaAccount(boolean esiaAccount) {
|
||||
this.esiaAccount = esiaAccount;
|
||||
}
|
||||
|
||||
public ReferenceEntity getUserDomain() {
|
||||
return userDomain;
|
||||
}
|
||||
|
||||
public void setUserDomain(ReferenceEntity userDomain) {
|
||||
this.userDomain = userDomain;
|
||||
}
|
||||
|
||||
public List<String> getRoles() {
|
||||
return roles;
|
||||
}
|
||||
|
||||
public void setRoles(List<String> roles) {
|
||||
this.roles = roles;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,460 @@
|
|||
package ervu_business_metrics.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class DomainData {
|
||||
private String id;
|
||||
private int version;
|
||||
private long modified;
|
||||
private String schema;
|
||||
private String name;
|
||||
private String shortname;
|
||||
private String fullname;
|
||||
private String dns;
|
||||
private String email;
|
||||
private String phone;
|
||||
private String address;
|
||||
private String postalAddress;
|
||||
private String addressId;
|
||||
private String postalAddressId;
|
||||
private String militaryCode;
|
||||
private String timezone;
|
||||
private boolean reportsEnabled;
|
||||
private String inn;
|
||||
private String leg;
|
||||
private String ogrn;
|
||||
private String region;
|
||||
private String epguId;
|
||||
private String type;
|
||||
private boolean esiaEmployeeAuthorization;
|
||||
private String defaultS3Bucket;
|
||||
private String opf;
|
||||
private String kpp;
|
||||
private String checkingAccount;
|
||||
private String bik;
|
||||
private String bankName;
|
||||
private String bankCorrespondentAccount;
|
||||
private String oktmo;
|
||||
private String okato;
|
||||
private String govRegistrationDate;
|
||||
private String govOrganizationType;
|
||||
private String aliasKey;
|
||||
private String passKey;
|
||||
private String certificate;
|
||||
private String accountNumberTOFK;
|
||||
private String bikTOFK;
|
||||
private String correspondentBankAccountTOFK;
|
||||
private String nameTOFK;
|
||||
private String nsiOrganizationId;
|
||||
private String docHandle;
|
||||
private String divisionType;
|
||||
private String tnsDepartmentId;
|
||||
private boolean enabled;
|
||||
private String parent;
|
||||
private String regionId;
|
||||
private String managed;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(int version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
public long getModified() {
|
||||
return modified;
|
||||
}
|
||||
|
||||
public void setModified(long modified) {
|
||||
this.modified = modified;
|
||||
}
|
||||
|
||||
public String getSchema() {
|
||||
return schema;
|
||||
}
|
||||
|
||||
public void setSchema(String schema) {
|
||||
this.schema = schema;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getShortname() {
|
||||
return shortname;
|
||||
}
|
||||
|
||||
public void setShortname(String shortname) {
|
||||
this.shortname = shortname;
|
||||
}
|
||||
|
||||
public String getFullname() {
|
||||
return fullname;
|
||||
}
|
||||
|
||||
public void setFullname(String fullname) {
|
||||
this.fullname = fullname;
|
||||
}
|
||||
|
||||
public String getDns() {
|
||||
return dns;
|
||||
}
|
||||
|
||||
public void setDns(String dns) {
|
||||
this.dns = dns;
|
||||
}
|
||||
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
|
||||
public void setEmail(String email) {
|
||||
this.email = email;
|
||||
}
|
||||
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
|
||||
public void setPhone(String phone) {
|
||||
this.phone = phone;
|
||||
}
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
||||
public void setAddress(String address) {
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
public String getPostalAddress() {
|
||||
return postalAddress;
|
||||
}
|
||||
|
||||
public void setPostalAddress(String postalAddress) {
|
||||
this.postalAddress = postalAddress;
|
||||
}
|
||||
|
||||
public String getAddressId() {
|
||||
return addressId;
|
||||
}
|
||||
|
||||
public void setAddressId(String addressId) {
|
||||
this.addressId = addressId;
|
||||
}
|
||||
|
||||
public String getPostalAddressId() {
|
||||
return postalAddressId;
|
||||
}
|
||||
|
||||
public void setPostalAddressId(String postalAddressId) {
|
||||
this.postalAddressId = postalAddressId;
|
||||
}
|
||||
|
||||
public String getMilitaryCode() {
|
||||
return militaryCode;
|
||||
}
|
||||
|
||||
public void setMilitaryCode(String militaryCode) {
|
||||
this.militaryCode = militaryCode;
|
||||
}
|
||||
|
||||
public String getTimezone() {
|
||||
return timezone;
|
||||
}
|
||||
|
||||
public void setTimezone(String timezone) {
|
||||
this.timezone = timezone;
|
||||
}
|
||||
|
||||
public boolean isReportsEnabled() {
|
||||
return reportsEnabled;
|
||||
}
|
||||
|
||||
public void setReportsEnabled(boolean reportsEnabled) {
|
||||
this.reportsEnabled = reportsEnabled;
|
||||
}
|
||||
|
||||
public String getInn() {
|
||||
return inn;
|
||||
}
|
||||
|
||||
public void setInn(String inn) {
|
||||
this.inn = inn;
|
||||
}
|
||||
|
||||
public String getLeg() {
|
||||
return leg;
|
||||
}
|
||||
|
||||
public void setLeg(String leg) {
|
||||
this.leg = leg;
|
||||
}
|
||||
|
||||
public String getOgrn() {
|
||||
return ogrn;
|
||||
}
|
||||
|
||||
public void setOgrn(String ogrn) {
|
||||
this.ogrn = ogrn;
|
||||
}
|
||||
|
||||
public String getRegion() {
|
||||
return region;
|
||||
}
|
||||
|
||||
public void setRegion(String region) {
|
||||
this.region = region;
|
||||
}
|
||||
|
||||
public String getEpguId() {
|
||||
return epguId;
|
||||
}
|
||||
|
||||
public void setEpguId(String epguId) {
|
||||
this.epguId = epguId;
|
||||
}
|
||||
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
|
||||
public void setType(String type) {
|
||||
this.type = type;
|
||||
}
|
||||
|
||||
public boolean isEsiaEmployeeAuthorization() {
|
||||
return esiaEmployeeAuthorization;
|
||||
}
|
||||
|
||||
public void setEsiaEmployeeAuthorization(boolean esiaEmployeeAuthorization) {
|
||||
this.esiaEmployeeAuthorization = esiaEmployeeAuthorization;
|
||||
}
|
||||
|
||||
public String getDefaultS3Bucket() {
|
||||
return defaultS3Bucket;
|
||||
}
|
||||
|
||||
public void setDefaultS3Bucket(String defaultS3Bucket) {
|
||||
this.defaultS3Bucket = defaultS3Bucket;
|
||||
}
|
||||
|
||||
public String getOpf() {
|
||||
return opf;
|
||||
}
|
||||
|
||||
public void setOpf(String opf) {
|
||||
this.opf = opf;
|
||||
}
|
||||
|
||||
public String getKpp() {
|
||||
return kpp;
|
||||
}
|
||||
|
||||
public void setKpp(String kpp) {
|
||||
this.kpp = kpp;
|
||||
}
|
||||
|
||||
public String getCheckingAccount() {
|
||||
return checkingAccount;
|
||||
}
|
||||
|
||||
public void setCheckingAccount(String checkingAccount) {
|
||||
this.checkingAccount = checkingAccount;
|
||||
}
|
||||
|
||||
public String getBik() {
|
||||
return bik;
|
||||
}
|
||||
|
||||
public void setBik(String bik) {
|
||||
this.bik = bik;
|
||||
}
|
||||
|
||||
public String getBankName() {
|
||||
return bankName;
|
||||
}
|
||||
|
||||
public void setBankName(String bankName) {
|
||||
this.bankName = bankName;
|
||||
}
|
||||
|
||||
public String getBankCorrespondentAccount() {
|
||||
return bankCorrespondentAccount;
|
||||
}
|
||||
|
||||
public void setBankCorrespondentAccount(String bankCorrespondentAccount) {
|
||||
this.bankCorrespondentAccount = bankCorrespondentAccount;
|
||||
}
|
||||
|
||||
public String getOktmo() {
|
||||
return oktmo;
|
||||
}
|
||||
|
||||
public void setOktmo(String oktmo) {
|
||||
this.oktmo = oktmo;
|
||||
}
|
||||
|
||||
public String getOkato() {
|
||||
return okato;
|
||||
}
|
||||
|
||||
public void setOkato(String okato) {
|
||||
this.okato = okato;
|
||||
}
|
||||
|
||||
public String getGovRegistrationDate() {
|
||||
return govRegistrationDate;
|
||||
}
|
||||
|
||||
public void setGovRegistrationDate(String govRegistrationDate) {
|
||||
this.govRegistrationDate = govRegistrationDate;
|
||||
}
|
||||
|
||||
public String getGovOrganizationType() {
|
||||
return govOrganizationType;
|
||||
}
|
||||
|
||||
public void setGovOrganizationType(String govOrganizationType) {
|
||||
this.govOrganizationType = govOrganizationType;
|
||||
}
|
||||
|
||||
public String getAliasKey() {
|
||||
return aliasKey;
|
||||
}
|
||||
|
||||
public void setAliasKey(String aliasKey) {
|
||||
this.aliasKey = aliasKey;
|
||||
}
|
||||
|
||||
public String getPassKey() {
|
||||
return passKey;
|
||||
}
|
||||
|
||||
public void setPassKey(String passKey) {
|
||||
this.passKey = passKey;
|
||||
}
|
||||
|
||||
public String getCertificate() {
|
||||
return certificate;
|
||||
}
|
||||
|
||||
public void setCertificate(String certificate) {
|
||||
this.certificate = certificate;
|
||||
}
|
||||
|
||||
public String getAccountNumberTOFK() {
|
||||
return accountNumberTOFK;
|
||||
}
|
||||
|
||||
public void setAccountNumberTOFK(String accountNumberTOFK) {
|
||||
this.accountNumberTOFK = accountNumberTOFK;
|
||||
}
|
||||
|
||||
public String getBikTOFK() {
|
||||
return bikTOFK;
|
||||
}
|
||||
|
||||
public void setBikTOFK(String bikTOFK) {
|
||||
this.bikTOFK = bikTOFK;
|
||||
}
|
||||
|
||||
public String getCorrespondentBankAccountTOFK() {
|
||||
return correspondentBankAccountTOFK;
|
||||
}
|
||||
|
||||
public void setCorrespondentBankAccountTOFK(String correspondentBankAccountTOFK) {
|
||||
this.correspondentBankAccountTOFK = correspondentBankAccountTOFK;
|
||||
}
|
||||
|
||||
public String getNameTOFK() {
|
||||
return nameTOFK;
|
||||
}
|
||||
|
||||
public void setNameTOFK(String nameTOFK) {
|
||||
this.nameTOFK = nameTOFK;
|
||||
}
|
||||
|
||||
public String getNsiOrganizationId() {
|
||||
return nsiOrganizationId;
|
||||
}
|
||||
|
||||
public void setNsiOrganizationId(String nsiOrganizationId) {
|
||||
this.nsiOrganizationId = nsiOrganizationId;
|
||||
}
|
||||
|
||||
public String getDocHandle() {
|
||||
return docHandle;
|
||||
}
|
||||
|
||||
public void setDocHandle(String docHandle) {
|
||||
this.docHandle = docHandle;
|
||||
}
|
||||
|
||||
public String getDivisionType() {
|
||||
return divisionType;
|
||||
}
|
||||
|
||||
public void setDivisionType(String divisionType) {
|
||||
this.divisionType = divisionType;
|
||||
}
|
||||
|
||||
public String getTnsDepartmentId() {
|
||||
return tnsDepartmentId;
|
||||
}
|
||||
|
||||
public void setTnsDepartmentId(String tnsDepartmentId) {
|
||||
this.tnsDepartmentId = tnsDepartmentId;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return enabled;
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
public String getParent() {
|
||||
return parent;
|
||||
}
|
||||
|
||||
public void setParent(String parent) {
|
||||
this.parent = parent;
|
||||
}
|
||||
|
||||
public String getRegionId() {
|
||||
return regionId;
|
||||
}
|
||||
|
||||
public void setRegionId(String regionId) {
|
||||
this.regionId = regionId;
|
||||
}
|
||||
|
||||
public String getManaged() {
|
||||
return managed;
|
||||
}
|
||||
|
||||
public void setManaged(String managed) {
|
||||
this.managed = managed;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
package ervu_business_metrics.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class ReferenceEntity {
|
||||
private String id;
|
||||
|
||||
public ReferenceEntity(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
109
backend/src/main/java/ervu_business_metrics/model/RoleData.java
Normal file
109
backend/src/main/java/ervu_business_metrics/model/RoleData.java
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
package ervu_business_metrics.model;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public class RoleData {
|
||||
private String id;
|
||||
private int version;
|
||||
private long modified;
|
||||
private String schema;
|
||||
private String name;
|
||||
private String shortname;
|
||||
private String displayName;
|
||||
private int sessionsLimit;
|
||||
private boolean ervuRole;
|
||||
private int imported;
|
||||
private String description;
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public int getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(int version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
public long getModified() {
|
||||
return modified;
|
||||
}
|
||||
|
||||
public void setModified(long modified) {
|
||||
this.modified = modified;
|
||||
}
|
||||
|
||||
public String getSchema() {
|
||||
return schema;
|
||||
}
|
||||
|
||||
public void setSchema(String schema) {
|
||||
this.schema = schema;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setName(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getShortname() {
|
||||
return shortname;
|
||||
}
|
||||
|
||||
public void setShortname(String shortname) {
|
||||
this.shortname = shortname;
|
||||
}
|
||||
|
||||
public String getDisplayName() {
|
||||
return displayName;
|
||||
}
|
||||
|
||||
public void setDisplayName(String displayName) {
|
||||
this.displayName = displayName;
|
||||
}
|
||||
|
||||
public int getSessionsLimit() {
|
||||
return sessionsLimit;
|
||||
}
|
||||
|
||||
public void setSessionsLimit(int sessionsLimit) {
|
||||
this.sessionsLimit = sessionsLimit;
|
||||
}
|
||||
|
||||
public boolean isErvuRole() {
|
||||
return ervuRole;
|
||||
}
|
||||
|
||||
public void setErvuRole(boolean ervuRole) {
|
||||
this.ervuRole = ervuRole;
|
||||
}
|
||||
|
||||
public int getImported() {
|
||||
return imported;
|
||||
}
|
||||
|
||||
public void setImported(int imported) {
|
||||
this.imported = imported;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public void setDescription(String description) {
|
||||
this.description = description;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
package ervu_business_metrics.model.deserializer;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
import com.fasterxml.jackson.core.JacksonException;
|
||||
import com.fasterxml.jackson.core.JsonParser;
|
||||
import com.fasterxml.jackson.databind.DeserializationContext;
|
||||
import com.fasterxml.jackson.databind.JsonDeserializer;
|
||||
import com.fasterxml.jackson.databind.JsonNode;
|
||||
import ervu_business_metrics.model.ReferenceEntity;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
public class ReferenceEntityDeserializer extends JsonDeserializer<ReferenceEntity> {
|
||||
|
||||
@Override
|
||||
public ReferenceEntity deserialize(JsonParser jsonParser,
|
||||
DeserializationContext deserializationContext) throws IOException, JacksonException {
|
||||
JsonNode node = jsonParser.readValueAsTree();
|
||||
|
||||
if (node.isTextual()) {
|
||||
return new ReferenceEntity(node.asText());
|
||||
}
|
||||
else if (node.isObject()) {
|
||||
JsonNode idNode = node.get("id");
|
||||
if (idNode != null && idNode.isTextual()) {
|
||||
return new ReferenceEntity(idNode.asText());
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,103 @@
|
|||
package ervu_business_metrics.service;
|
||||
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import ervu_business_metrics.dao.IdmDirectoriesDao;
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import org.springframework.cache.annotation.CacheEvict;
|
||||
import org.springframework.cache.annotation.Cacheable;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.stereotype.Repository;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.*;
|
||||
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Repository
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class IdmDirectoriesDaoService {
|
||||
private final IdmDirectoriesDao idmDirectoriesDao;
|
||||
|
||||
public IdmDirectoriesDaoService(IdmDirectoriesDao idmDirectoriesDao) {
|
||||
this.idmDirectoriesDao = idmDirectoriesDao;
|
||||
}
|
||||
|
||||
public RoleRecord getRoleRecord() {
|
||||
return idmDirectoriesDao.getRoleRecord();
|
||||
}
|
||||
|
||||
public DomainRecord getDomainRecord() {
|
||||
return idmDirectoriesDao.getDomainRecord();
|
||||
}
|
||||
|
||||
public AccountRecord getAccountRecord() {
|
||||
return idmDirectoriesDao.getAccountRecord();
|
||||
}
|
||||
|
||||
public AccountRoleRecord getAccountRoleRecord() {
|
||||
return idmDirectoriesDao.getAccountRoleRecord();
|
||||
}
|
||||
|
||||
@Cacheable(value = "account-ids", unless = "#result == null")
|
||||
public Set<String> getAccountIds() {
|
||||
return idmDirectoriesDao.getAccountIds();
|
||||
}
|
||||
|
||||
@Cacheable(value = "role-ids", unless = "#result == null")
|
||||
public Set<String> getRoleIds() {
|
||||
return idmDirectoriesDao.getRoleIds();
|
||||
}
|
||||
|
||||
@Cacheable(value = "domain-ids", unless = "#result == null")
|
||||
public Set<String> getDomainIds() {
|
||||
return idmDirectoriesDao.getDomainIds();
|
||||
}
|
||||
|
||||
@CacheEvict(value = "domain-ids", allEntries = true)
|
||||
public void insertDomainRecords(List<DomainRecord> newDomainRecords) {
|
||||
idmDirectoriesDao.insertDomainRecords(newDomainRecords);
|
||||
}
|
||||
|
||||
public void updateDomainRecords(List<DomainRecord> domainRecords) {
|
||||
idmDirectoriesDao.updateDomainRecords(domainRecords);
|
||||
}
|
||||
|
||||
@CacheEvict(value = "role-ids", allEntries = true)
|
||||
public void insertRoleRecords(List<RoleRecord> newRoleRecords) {
|
||||
idmDirectoriesDao.insertRoleRecords(newRoleRecords);
|
||||
}
|
||||
|
||||
public void updateRoleRecords(List<RoleRecord> roleRecords) {
|
||||
idmDirectoriesDao.updateRoleRecords(roleRecords);
|
||||
}
|
||||
|
||||
@CacheEvict(value = "account-ids", allEntries = true)
|
||||
public void insertAccountRecords(List<AccountRecord> accountRecords) {
|
||||
idmDirectoriesDao.insertAccountRecords(accountRecords);
|
||||
}
|
||||
|
||||
public void updateAccountRecords(List<AccountRecord> accountRecords) {
|
||||
idmDirectoriesDao.updateAccountRecords(accountRecords);
|
||||
}
|
||||
|
||||
public void insertAccountRoleRecords(List<AccountRoleRecord> newAccountRoleRecords) {
|
||||
idmDirectoriesDao.insertAccountRoleRecords(newAccountRoleRecords);
|
||||
}
|
||||
|
||||
public void deleteAccountRolesByAccountIds(List<String> accountIds) {
|
||||
idmDirectoriesDao.deleteAccountRolesByAccountIds(accountIds);
|
||||
}
|
||||
|
||||
@CacheEvict(value = "domain-ids", allEntries = true)
|
||||
public void deleteDomainsByIds(List<String> domainIds) {
|
||||
idmDirectoriesDao.deleteDomainsByIds(domainIds);
|
||||
}
|
||||
|
||||
@CacheEvict(value = "account-ids", allEntries = true)
|
||||
public void deleteAccountsByIds(List<String> accountIds) {
|
||||
idmDirectoriesDao.deleteAccountByIds(accountIds);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,142 @@
|
|||
package ervu_business_metrics.service;
|
||||
|
||||
import java.lang.invoke.MethodHandles;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.fasterxml.jackson.databind.JavaType;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import ervu_business_metrics.kafka.model.DeleteKafkaMessage;
|
||||
import ervu_business_metrics.kafka.model.UpsertMessage;
|
||||
import ervu_business_metrics.model.AccountData;
|
||||
import ervu_business_metrics.model.DomainData;
|
||||
import ervu_business_metrics.model.RoleData;
|
||||
import ervu_business_metrics.service.processor.impl.AccountDataProcessor;
|
||||
import ervu_business_metrics.service.processor.DataProcessor;
|
||||
import ervu_business_metrics.service.processor.impl.DomainDataProcessor;
|
||||
import ervu_business_metrics.service.processor.impl.RoleDataProcessor;
|
||||
import exception.IdmDirectoriesException;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.cache.annotation.CacheEvict;
|
||||
import org.springframework.cache.annotation.Caching;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.context.annotation.DependsOn;
|
||||
import org.springframework.http.HttpEntity;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.http.MediaType;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.client.RestTemplate;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Component
|
||||
@DependsOn("liquibase")
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class IdmDirectoriesService {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(
|
||||
MethodHandles.lookup().lookupClass());
|
||||
private final RestTemplate restTemplate;
|
||||
private final ObjectMapper objectMapper;
|
||||
private final Map<Class<?>, DataProcessor<?>> dataProcessors = new HashMap<>();
|
||||
@Value("${ervu.idm.url}")
|
||||
private String idmUrl;
|
||||
@Value("${ervu.directories:domain, role , account }")
|
||||
private String ervuDirectories;
|
||||
|
||||
public IdmDirectoriesService(
|
||||
RestTemplate restTemplate,
|
||||
AccountDataProcessor accountDataProcessor,
|
||||
DomainDataProcessor domainDataProcessor,
|
||||
RoleDataProcessor roleDataProcessor, ObjectMapper objectMapper) {
|
||||
this.restTemplate = restTemplate;
|
||||
this.objectMapper = objectMapper;
|
||||
dataProcessors.put(AccountData.class, accountDataProcessor);
|
||||
dataProcessors.put(DomainData.class, domainDataProcessor);
|
||||
dataProcessors.put(RoleData.class, roleDataProcessor);
|
||||
}
|
||||
|
||||
@Caching(evict = {
|
||||
@CacheEvict(value = "domain-ids", allEntries = true),
|
||||
@CacheEvict(value = "role-ids", allEntries = true),
|
||||
@CacheEvict(value = "account-ids", allEntries = true)
|
||||
})
|
||||
public void updateDirectories() {
|
||||
try {
|
||||
String[] ervuDirectoriesArray = ervuDirectories.split(",");
|
||||
Arrays.stream(ervuDirectoriesArray).forEach(ervuDirectory -> {
|
||||
String targetUrl = idmUrl + "/reconcile/" + ervuDirectory.trim() + "/to/kafka/v1";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.setContentType(MediaType.APPLICATION_JSON);
|
||||
String emptyJson = "{}";
|
||||
HttpEntity<String> requestEntity = new HttpEntity<>(emptyJson, headers);
|
||||
ResponseEntity<String> response = restTemplate.postForEntity(targetUrl, requestEntity,
|
||||
String.class
|
||||
);
|
||||
if (!response.getStatusCode().is2xxSuccessful()) {
|
||||
LOGGER.error("Error in {} request. Status code: {}; Body: {}",
|
||||
ervuDirectory, response.getStatusCode(), response.getBody()
|
||||
);
|
||||
}
|
||||
});
|
||||
}
|
||||
catch (Exception e) {
|
||||
LOGGER.error(e.getMessage());
|
||||
throw new IdmDirectoriesException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public <T> void processUpsertMessage(String kafkaMessage, Class<T> entityClass) {
|
||||
try {
|
||||
JavaType messageType = objectMapper.getTypeFactory()
|
||||
.constructParametricType(UpsertMessage.class, entityClass);
|
||||
JavaType arrayType = objectMapper.getTypeFactory()
|
||||
.constructArrayType(messageType);
|
||||
|
||||
UpsertMessage<T>[] messages = objectMapper.readValue(kafkaMessage, arrayType);
|
||||
if (messages.length > 0 && messages[0].getData() != null && !messages[0].getData()
|
||||
.isEmpty()) {
|
||||
DataProcessor<T> processor = (DataProcessor<T>) dataProcessors.get(entityClass);
|
||||
if (processor == null) {
|
||||
throw new IllegalStateException("No processor found for " + entityClass.getSimpleName());
|
||||
}
|
||||
|
||||
processor.upsertData(messages[0].getData());
|
||||
}
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new IdmDirectoriesException(e);
|
||||
}
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public <T> void processDeleteMessage(String kafkaMessage, Class<T> entityClass) {
|
||||
try {
|
||||
DeleteKafkaMessage[] deleteKafkaMessages = objectMapper.readValue(kafkaMessage,
|
||||
DeleteKafkaMessage[].class
|
||||
);
|
||||
|
||||
if (Boolean.TRUE.equals(deleteKafkaMessages[0].isSuccess())
|
||||
&& deleteKafkaMessages[0].getData() != null && !deleteKafkaMessages[0].getData()
|
||||
.isEmpty()) {
|
||||
DataProcessor<T> processor = (DataProcessor<T>) dataProcessors.get(entityClass);
|
||||
if (processor == null) {
|
||||
throw new IllegalStateException("No processor found for " + entityClass.getSimpleName());
|
||||
}
|
||||
|
||||
processor.deleteData(deleteKafkaMessages[0].getData());
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception e) {
|
||||
throw new IdmDirectoriesException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
package ervu_business_metrics.service.processor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
public interface DataProcessor<T> {
|
||||
void upsertData(List<T> dataList);
|
||||
void deleteData(List<String> ids);
|
||||
}
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
package ervu_business_metrics.service.processor.impl;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import ervu_business_metrics.model.AccountData;
|
||||
import ervu_business_metrics.service.IdmDirectoriesDaoService;
|
||||
import ervu_business_metrics.service.processor.DataProcessor;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.stereotype.Component;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Component
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class AccountDataProcessor implements DataProcessor<AccountData> {
|
||||
private final IdmDirectoriesDaoService idmDirectoriesDaoService;
|
||||
|
||||
public AccountDataProcessor(IdmDirectoriesDaoService idmDirectoriesDaoService) {
|
||||
this.idmDirectoriesDaoService = idmDirectoriesDaoService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void upsertData(List<AccountData> dataList) {
|
||||
List<AccountRecord> newAccountRecords = new ArrayList<>();
|
||||
List<AccountRecord> accountRecordsToUpdate = new ArrayList<>();
|
||||
List<AccountRoleRecord> newAccountRoleRecords = new ArrayList<>();
|
||||
List<String> accountsToDeleteRoles = new ArrayList<>();
|
||||
Set<String> existingIds = idmDirectoriesDaoService.getAccountIds();
|
||||
|
||||
for (AccountData data : dataList) {
|
||||
AccountRecord record = idmDirectoriesDaoService.getAccountRecord();
|
||||
Timestamp modifiedAt = Timestamp.from(Instant.ofEpochMilli(data.getModified()));
|
||||
|
||||
record.setId(data.getId());
|
||||
record.setVersion(data.getVersion());
|
||||
record.setSchema(data.getSchema());
|
||||
record.setModified(modifiedAt);
|
||||
record.setStart(data.getStart());
|
||||
record.setFinish(data.getFinish());
|
||||
record.setEnabled(data.isEnabled());
|
||||
record.setPosition(data.getPosition());
|
||||
record.setFio(data.getFio());
|
||||
record.setWorkMail(data.getWorkMail());
|
||||
record.setEsiaAccount(data.isEsiaAccount());
|
||||
if (data.getUserDomain() != null) {
|
||||
record.setDomainId(data.getUserDomain().getId());
|
||||
}
|
||||
|
||||
if (existingIds.contains(data.getId())) {
|
||||
accountRecordsToUpdate.add(record);
|
||||
accountsToDeleteRoles.add(data.getId());
|
||||
}
|
||||
else {
|
||||
newAccountRecords.add(record);
|
||||
}
|
||||
|
||||
if (data.getRoles() != null && !data.getRoles().isEmpty()) {
|
||||
addRolesForAccount(data, newAccountRoleRecords);
|
||||
}
|
||||
}
|
||||
|
||||
if (!newAccountRecords.isEmpty()) {
|
||||
idmDirectoriesDaoService.insertAccountRecords(newAccountRecords);
|
||||
}
|
||||
|
||||
if (!accountRecordsToUpdate.isEmpty()) {
|
||||
idmDirectoriesDaoService.updateAccountRecords(accountRecordsToUpdate);
|
||||
}
|
||||
|
||||
if (!accountsToDeleteRoles.isEmpty()) {
|
||||
idmDirectoriesDaoService.deleteAccountRolesByAccountIds(accountsToDeleteRoles);
|
||||
}
|
||||
|
||||
if (!newAccountRoleRecords.isEmpty()) {
|
||||
idmDirectoriesDaoService.insertAccountRoleRecords(newAccountRoleRecords);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteData(List<String> ids) {
|
||||
idmDirectoriesDaoService.deleteAccountsByIds(ids);
|
||||
}
|
||||
|
||||
private void addRolesForAccount(AccountData data, List<AccountRoleRecord> accountRoleRecords) {
|
||||
Set<String> existingRoleIds = idmDirectoriesDaoService.getRoleIds();
|
||||
|
||||
for (String roleId : data.getRoles()) {
|
||||
if (existingRoleIds.contains(roleId)) {
|
||||
AccountRoleRecord accountRoleRecord = idmDirectoriesDaoService.getAccountRoleRecord();
|
||||
accountRoleRecord.setAccountId(data.getId());
|
||||
accountRoleRecord.setRoleId(roleId);
|
||||
accountRoleRecords.add(accountRoleRecord);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
package ervu_business_metrics.service.processor.impl;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import ervu_business_metrics.model.DomainData;
|
||||
import ervu_business_metrics.service.IdmDirectoriesDaoService;
|
||||
import ervu_business_metrics.service.processor.DataProcessor;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.stereotype.Component;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Component
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class DomainDataProcessor implements DataProcessor<DomainData> {
|
||||
private final IdmDirectoriesDaoService idmDirectoriesDaoService;
|
||||
|
||||
public DomainDataProcessor(IdmDirectoriesDaoService idmDirectoriesDaoService) {
|
||||
this.idmDirectoriesDaoService = idmDirectoriesDaoService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void upsertData(List<DomainData> dataList) {
|
||||
List<DomainRecord> newDomainRecords = new ArrayList<>();
|
||||
List<DomainRecord> domainRecords = new ArrayList<>();
|
||||
Set<String> existingIds = idmDirectoriesDaoService.getDomainIds();
|
||||
|
||||
for (DomainData data : dataList) {
|
||||
DomainRecord domainRecord = idmDirectoriesDaoService.getDomainRecord();
|
||||
Timestamp modifiedAt = Timestamp.from(Instant.ofEpochMilli(data.getModified()));
|
||||
|
||||
domainRecord.setId(data.getId());
|
||||
domainRecord.setVersion(data.getVersion());
|
||||
domainRecord.setModified(modifiedAt);
|
||||
domainRecord.setSchema(data.getSchema());
|
||||
domainRecord.setName(data.getName());
|
||||
domainRecord.setShortname(data.getShortname());
|
||||
domainRecord.setFullname(data.getFullname());
|
||||
domainRecord.setDns(data.getDns());
|
||||
domainRecord.setEmail(data.getEmail());
|
||||
domainRecord.setPhone(data.getPhone());
|
||||
domainRecord.setAddress(data.getAddress());
|
||||
domainRecord.setPostalAddress(data.getPostalAddress());
|
||||
domainRecord.setAddressId(data.getAddressId());
|
||||
domainRecord.setPostalAddressId(data.getPostalAddressId());
|
||||
domainRecord.setMilitaryCode(data.getMilitaryCode());
|
||||
domainRecord.setTimezone(data.getTimezone());
|
||||
domainRecord.setReportsEnabled(data.isReportsEnabled());
|
||||
domainRecord.setInn(data.getInn());
|
||||
domainRecord.setLeg(data.getLeg());
|
||||
domainRecord.setOgrn(data.getOgrn());
|
||||
domainRecord.setRegion(data.getRegion());
|
||||
domainRecord.setEpguId(data.getEpguId());
|
||||
domainRecord.setType(data.getType());
|
||||
domainRecord.setEsiaEmployeeAuthorization(data.isEsiaEmployeeAuthorization());
|
||||
domainRecord.setDefaultS3Bucket(data.getDefaultS3Bucket());
|
||||
domainRecord.setOpf(data.getOpf());
|
||||
domainRecord.setKpp(data.getKpp());
|
||||
domainRecord.setCheckingAccount(data.getCheckingAccount());
|
||||
domainRecord.setBik(data.getBik());
|
||||
domainRecord.setBankName(data.getBankName());
|
||||
domainRecord.setBankCorrespondentAccount(data.getBankCorrespondentAccount());
|
||||
domainRecord.setOktmo(data.getOktmo());
|
||||
domainRecord.setOkato(data.getOkato());
|
||||
domainRecord.setGovRegistrationDate(data.getGovRegistrationDate());
|
||||
domainRecord.setGovOrganizationType(data.getGovOrganizationType());
|
||||
domainRecord.setAliasKey(data.getAliasKey());
|
||||
domainRecord.setPassKey(data.getPassKey());
|
||||
domainRecord.setCertificate(data.getCertificate());
|
||||
domainRecord.setAccountNumberTofk(data.getAccountNumberTOFK());
|
||||
domainRecord.setBikTofk(data.getBikTOFK());
|
||||
domainRecord.setCorrespondentBankAccountTofk(data.getCorrespondentBankAccountTOFK());
|
||||
domainRecord.setNameTofk(data.getNameTOFK());
|
||||
domainRecord.setNsiOrganizationId(data.getNsiOrganizationId());
|
||||
domainRecord.setDocHandle(data.getDocHandle());
|
||||
domainRecord.setDivisionType(data.getDivisionType());
|
||||
domainRecord.setTnsDepartmentId(data.getTnsDepartmentId());
|
||||
domainRecord.setEnabled(data.isEnabled());
|
||||
domainRecord.setParent(data.getParent());
|
||||
domainRecord.setRegionId(data.getRegionId());
|
||||
domainRecord.setManaged(data.getManaged());
|
||||
|
||||
if (existingIds.contains(data.getId())) {
|
||||
domainRecords.add(domainRecord);
|
||||
}
|
||||
else {
|
||||
newDomainRecords.add(domainRecord);
|
||||
}
|
||||
}
|
||||
|
||||
if (!newDomainRecords.isEmpty()) {
|
||||
idmDirectoriesDaoService.insertDomainRecords(newDomainRecords);
|
||||
}
|
||||
|
||||
if (!domainRecords.isEmpty()) {
|
||||
idmDirectoriesDaoService.updateDomainRecords(domainRecords);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteData(List<String> ids) {
|
||||
idmDirectoriesDaoService.deleteDomainsByIds(ids);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
package ervu_business_metrics.service.processor.impl;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.time.Instant;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import ervu_business_metrics.config.IdmReconcileEnabledCondition;
|
||||
import ervu_business_metrics.model.RoleData;
|
||||
import ervu_business_metrics.service.IdmDirectoriesDaoService;
|
||||
import ervu_business_metrics.service.processor.DataProcessor;
|
||||
import org.springframework.context.annotation.Conditional;
|
||||
import org.springframework.stereotype.Component;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
@Component
|
||||
@Conditional(IdmReconcileEnabledCondition.class)
|
||||
public class RoleDataProcessor implements DataProcessor<RoleData> {
|
||||
private final IdmDirectoriesDaoService idmDirectoriesDaoService;
|
||||
|
||||
public RoleDataProcessor(IdmDirectoriesDaoService idmDirectoriesDaoService) {
|
||||
this.idmDirectoriesDaoService = idmDirectoriesDaoService;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void upsertData(List<RoleData> dataList) {
|
||||
List<RoleRecord> newRoleRecords = new ArrayList<>();
|
||||
List<RoleRecord> roleRecords = new ArrayList<>();
|
||||
Set<String> existingIds = idmDirectoriesDaoService.getRoleIds();
|
||||
|
||||
for (RoleData data : dataList) {
|
||||
if (!data.isErvuRole()) {
|
||||
continue;
|
||||
}
|
||||
RoleRecord record = idmDirectoriesDaoService.getRoleRecord();
|
||||
Timestamp modifiedAt = Timestamp.from(Instant.ofEpochMilli(data.getModified()));
|
||||
|
||||
record.setId(data.getId());
|
||||
record.setName(data.getName());
|
||||
record.setDisplayName(data.getDisplayName());
|
||||
record.setShortname(data.getShortname());
|
||||
record.setSchema(data.getSchema());
|
||||
record.setVersion(data.getVersion());
|
||||
record.setSessionsLimit(data.getSessionsLimit());
|
||||
record.setImported(data.getImported());
|
||||
record.setDescription(data.getDescription());
|
||||
record.setErvuRole(data.isErvuRole());
|
||||
record.setModified(modifiedAt);
|
||||
|
||||
if (existingIds.contains(data.getId())) {
|
||||
roleRecords.add(record);
|
||||
}
|
||||
else {
|
||||
newRoleRecords.add(record);
|
||||
}
|
||||
}
|
||||
|
||||
if (!newRoleRecords.isEmpty()) {
|
||||
idmDirectoriesDaoService.insertRoleRecords(newRoleRecords);
|
||||
}
|
||||
|
||||
if (!roleRecords.isEmpty()) {
|
||||
idmDirectoriesDaoService.updateRoleRecords(roleRecords);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteData(List<String> ids) {
|
||||
// TODO удаление пока не реализовано
|
||||
}
|
||||
}
|
||||
18
backend/src/main/java/exception/IdmDirectoriesException.java
Normal file
18
backend/src/main/java/exception/IdmDirectoriesException.java
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package exception;
|
||||
|
||||
/**
|
||||
* @author Adel Kalimullin
|
||||
*/
|
||||
public class IdmDirectoriesException extends RuntimeException{
|
||||
public IdmDirectoriesException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public IdmDirectoriesException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public IdmDirectoriesException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@ import org.jooq.impl.CatalogImpl;
|
|||
import ru.micord.webbpm.ervu.business_metrics.db_beans.actualization.Actualization;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.admin_indicators.AdminIndicators;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.deregistration.Deregistration;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.init_registration_info.InitRegistrationInfo;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.journal_log.JournalLog;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.metrics.Metrics;
|
||||
|
|
@ -51,6 +52,11 @@ public class DefaultCatalog extends CatalogImpl {
|
|||
*/
|
||||
public final Deregistration DEREGISTRATION = Deregistration.DEREGISTRATION;
|
||||
|
||||
/**
|
||||
* The schema <code>idm_reconcile</code>.
|
||||
*/
|
||||
public final IdmReconcile IDM_RECONCILE = IdmReconcile.IDM_RECONCILE;
|
||||
|
||||
/**
|
||||
* The schema <code>init_registration_info</code>.
|
||||
*/
|
||||
|
|
@ -99,6 +105,7 @@ public class DefaultCatalog extends CatalogImpl {
|
|||
Actualization.ACTUALIZATION,
|
||||
AdminIndicators.ADMIN_INDICATORS,
|
||||
Deregistration.DEREGISTRATION,
|
||||
IdmReconcile.IDM_RECONCILE,
|
||||
InitRegistrationInfo.INIT_REGISTRATION_INFO,
|
||||
JournalLog.JOURNAL_LOG,
|
||||
Metrics.METRICS,
|
||||
|
|
|
|||
|
|
@ -93,12 +93,12 @@ public class ViewAppReason extends TableImpl<ViewAppReasonRecord> {
|
|||
private ViewAppReason(Name alias, Table<ViewAppReasonRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_app_reason" as SELECT app_reason.app_reason_id,
|
||||
COALESCE(round((((app_reason.count_place_of_stay)::numeric * (100)::numeric) / NULLIF((app_reason.count_all)::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_stay,
|
||||
COALESCE(round((((app_reason.count_work)::numeric * (100)::numeric) / NULLIF((app_reason.count_all)::numeric, (0)::numeric))), (0)::numeric) AS percent_work,
|
||||
COALESCE(round((((app_reason.count_place_of_study)::numeric * (100)::numeric) / NULLIF((app_reason.count_all)::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_study,
|
||||
COALESCE(round((((app_reason.count_family_status)::numeric * (100)::numeric) / NULLIF((app_reason.count_all)::numeric, (0)::numeric))), (0)::numeric) AS percent_family_status,
|
||||
COALESCE(round((((app_reason.count_education)::numeric * (100)::numeric) / NULLIF((app_reason.count_all)::numeric, (0)::numeric))), (0)::numeric) AS percent_education,
|
||||
COALESCE(round((((app_reason.count_renaming)::numeric * (100)::numeric) / NULLIF((app_reason.count_all)::numeric, (0)::numeric))), (0)::numeric) AS percent_renaming
|
||||
COALESCE(round((((app_reason.count_place_of_stay)::numeric * (100)::numeric) / NULLIF((((((((app_reason.count_place_of_stay + app_reason.count_work) + app_reason.count_place_of_study) + app_reason.count_family_status) + app_reason.count_education) + app_reason.count_education) + app_reason.count_renaming))::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_stay,
|
||||
COALESCE(round((((app_reason.count_work)::numeric * (100)::numeric) / NULLIF((((((((app_reason.count_place_of_stay + app_reason.count_work) + app_reason.count_place_of_study) + app_reason.count_family_status) + app_reason.count_education) + app_reason.count_education) + app_reason.count_renaming))::numeric, (0)::numeric))), (0)::numeric) AS percent_work,
|
||||
COALESCE(round((((app_reason.count_place_of_study)::numeric * (100)::numeric) / NULLIF((((((((app_reason.count_place_of_stay + app_reason.count_work) + app_reason.count_place_of_study) + app_reason.count_family_status) + app_reason.count_education) + app_reason.count_education) + app_reason.count_renaming))::numeric, (0)::numeric))), (0)::numeric) AS percent_place_of_study,
|
||||
COALESCE(round((((app_reason.count_family_status)::numeric * (100)::numeric) / NULLIF((((((((app_reason.count_place_of_stay + app_reason.count_work) + app_reason.count_place_of_study) + app_reason.count_family_status) + app_reason.count_education) + app_reason.count_education) + app_reason.count_renaming))::numeric, (0)::numeric))), (0)::numeric) AS percent_family_status,
|
||||
COALESCE(round((((app_reason.count_education)::numeric * (100)::numeric) / NULLIF((((((((app_reason.count_place_of_stay + app_reason.count_work) + app_reason.count_place_of_study) + app_reason.count_family_status) + app_reason.count_education) + app_reason.count_education) + app_reason.count_renaming))::numeric, (0)::numeric))), (0)::numeric) AS percent_education,
|
||||
COALESCE(round((((app_reason.count_renaming)::numeric * (100)::numeric) / NULLIF((((((((app_reason.count_place_of_stay + app_reason.count_work) + app_reason.count_place_of_study) + app_reason.count_family_status) + app_reason.count_education) + app_reason.count_education) + app_reason.count_renaming))::numeric, (0)::numeric))), (0)::numeric) AS percent_renaming
|
||||
FROM actualization.app_reason;
|
||||
"""), where);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -173,6 +173,20 @@ public class UserAnalysis extends TableImpl<UserAnalysisRecord> {
|
|||
*/
|
||||
public final TableField<UserAnalysisRecord, String> RECRUITMENT_ID = createField(DSL.name("recruitment_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>admin_indicators.user_analysis.count_responsible_zi</code>.
|
||||
* Ответственный за ЗИ
|
||||
*/
|
||||
public final TableField<UserAnalysisRecord, Long> COUNT_RESPONSIBLE_ZI = createField(DSL.name("count_responsible_zi"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Ответственный за ЗИ");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>admin_indicators.user_analysis.count_responsible_zi_svk</code>.
|
||||
* Ответственный за ЗИ СВК
|
||||
*/
|
||||
public final TableField<UserAnalysisRecord, Long> COUNT_RESPONSIBLE_ZI_SVK = createField(DSL.name("count_responsible_zi_svk"), SQLDataType.BIGINT.nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.BIGINT)), this, "Ответственный за ЗИ СВК");
|
||||
|
||||
private UserAnalysis(Name alias, Table<UserAnalysisRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -116,9 +116,9 @@ public class ViewUserAnalysis extends TableImpl<ViewUserAnalysisRecord> {
|
|||
|
||||
/**
|
||||
* The column
|
||||
* <code>admin_indicators.view_user_analysis.percent_administrator_military_office</code>.
|
||||
* <code>admin_indicators.view_user_analysis.percent_responsible_zi</code>.
|
||||
*/
|
||||
public final TableField<ViewUserAnalysisRecord, BigDecimal> PERCENT_ADMINISTRATOR_MILITARY_OFFICE = createField(DSL.name("percent_administrator_military_office"), SQLDataType.NUMERIC, this, "");
|
||||
public final TableField<ViewUserAnalysisRecord, BigDecimal> PERCENT_RESPONSIBLE_ZI = createField(DSL.name("percent_responsible_zi"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
|
|
@ -132,6 +132,12 @@ public class ViewUserAnalysis extends TableImpl<ViewUserAnalysisRecord> {
|
|||
*/
|
||||
public final TableField<ViewUserAnalysisRecord, BigDecimal> PERCENT_SPECIALIST_ACQUISITION = createField(DSL.name("percent_specialist_acquisition"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>admin_indicators.view_user_analysis.percent_responsible_zi_svk</code>.
|
||||
*/
|
||||
public final TableField<ViewUserAnalysisRecord, BigDecimal> PERCENT_RESPONSIBLE_ZI_SVK = createField(DSL.name("percent_responsible_zi_svk"), SQLDataType.NUMERIC, this, "");
|
||||
|
||||
private ViewUserAnalysis(Name alias, Table<ViewUserAnalysisRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
|
@ -139,19 +145,20 @@ public class ViewUserAnalysis extends TableImpl<ViewUserAnalysisRecord> {
|
|||
private ViewUserAnalysis(Name alias, Table<ViewUserAnalysisRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.view("""
|
||||
create view "view_user_analysis" as SELECT user_analysis.user_analysis_id,
|
||||
(((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition) AS count_all,
|
||||
COALESCE(round((((user_analysis.count_administrator_is)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_administrator_is,
|
||||
COALESCE(round((((user_analysis.count_administrator_poib)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_administrator_poib,
|
||||
COALESCE(round((((user_analysis.count_employee_gomy)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_employee_gomy,
|
||||
COALESCE(round((((user_analysis.count_observer_gomy)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_bserver_gomy,
|
||||
COALESCE(round((((user_analysis.count_supervisor_gomy)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_supervisor_gomy,
|
||||
COALESCE(round((((user_analysis.count_military_commissar)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_military_commissar,
|
||||
COALESCE(round((((user_analysis.count_specialist_statements)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_specialist_statements,
|
||||
COALESCE(round((((user_analysis.count_observer_vo)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_observer_vo,
|
||||
COALESCE(round((((user_analysis.count_observer_vk)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_observer_vk,
|
||||
COALESCE(round((((user_analysis.count_administrator_military_office)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_administrator_military_office,
|
||||
COALESCE(round((((user_analysis.count_specialist_military_accounting)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_specialist_military_accounting,
|
||||
COALESCE(round((((user_analysis.count_specialist_acquisition)::numeric * (100)::numeric) / NULLIF(((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_administrator_military_office) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_specialist_acquisition
|
||||
((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition) AS count_all,
|
||||
COALESCE(round((((user_analysis.count_administrator_is)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_administrator_is,
|
||||
COALESCE(round((((user_analysis.count_administrator_poib)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_administrator_poib,
|
||||
COALESCE(round((((user_analysis.count_employee_gomy)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_employee_gomy,
|
||||
COALESCE(round((((user_analysis.count_observer_gomy)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_bserver_gomy,
|
||||
COALESCE(round((((user_analysis.count_supervisor_gomy)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_supervisor_gomy,
|
||||
COALESCE(round((((user_analysis.count_military_commissar)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_military_commissar,
|
||||
COALESCE(round((((user_analysis.count_specialist_statements)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_specialist_statements,
|
||||
COALESCE(round((((user_analysis.count_observer_vo)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_observer_vo,
|
||||
COALESCE(round((((user_analysis.count_observer_vk)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_observer_vk,
|
||||
COALESCE(round((((user_analysis.count_responsible_zi)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_responsible_zi,
|
||||
COALESCE(round((((user_analysis.count_specialist_military_accounting)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_specialist_military_accounting,
|
||||
COALESCE(round((((user_analysis.count_specialist_acquisition)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_specialist_acquisition,
|
||||
COALESCE(round((((user_analysis.count_responsible_zi_svk)::numeric * (100)::numeric) / NULLIF((((((((((((((user_analysis.count_administrator_is + user_analysis.count_administrator_poib) + user_analysis.count_employee_gomy) + user_analysis.count_observer_gomy) + user_analysis.count_supervisor_gomy) + user_analysis.count_military_commissar) + user_analysis.count_specialist_statements) + user_analysis.count_observer_vo) + user_analysis.count_observer_vk) + user_analysis.count_responsible_zi_svk) + user_analysis.count_responsible_zi) + user_analysis.count_specialist_military_accounting) + user_analysis.count_specialist_acquisition))::numeric, (0)::numeric))), (0)::numeric) AS percent_responsible_zi_svk
|
||||
FROM admin_indicators.user_analysis;
|
||||
"""), where);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -339,6 +339,42 @@ public class UserAnalysisRecord extends UpdatableRecordImpl<UserAnalysisRecord>
|
|||
return (String) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>admin_indicators.user_analysis.count_responsible_zi</code>.
|
||||
* Ответственный за ЗИ
|
||||
*/
|
||||
public void setCountResponsibleZi(Long value) {
|
||||
set(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>admin_indicators.user_analysis.count_responsible_zi</code>.
|
||||
* Ответственный за ЗИ
|
||||
*/
|
||||
public Long getCountResponsibleZi() {
|
||||
return (Long) get(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>admin_indicators.user_analysis.count_responsible_zi_svk</code>.
|
||||
* Ответственный за ЗИ СВК
|
||||
*/
|
||||
public void setCountResponsibleZiSvk(Long value) {
|
||||
set(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>admin_indicators.user_analysis.count_responsible_zi_svk</code>.
|
||||
* Ответственный за ЗИ СВК
|
||||
*/
|
||||
public Long getCountResponsibleZiSvk() {
|
||||
return (Long) get(20);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -362,7 +398,7 @@ public class UserAnalysisRecord extends UpdatableRecordImpl<UserAnalysisRecord>
|
|||
/**
|
||||
* Create a detached, initialised UserAnalysisRecord
|
||||
*/
|
||||
public UserAnalysisRecord(Long userAnalysisId, Timestamp updateDate, Date infoDate, Long countOffices, Long countRegUsers, Long countInvalidAuthentication, Long countAdministratorIs, Long countAdministratorPoib, Long countEmployeeGomy, Long countObserverGomy, Long countSupervisorGomy, Long countMilitaryCommissar, Long countSpecialistStatements, Long countObserverVo, Long countObserverVk, Long countAdministratorMilitaryOffice, Long countSpecialistMilitaryAccounting, Long countSpecialistAcquisition, String recruitmentId) {
|
||||
public UserAnalysisRecord(Long userAnalysisId, Timestamp updateDate, Date infoDate, Long countOffices, Long countRegUsers, Long countInvalidAuthentication, Long countAdministratorIs, Long countAdministratorPoib, Long countEmployeeGomy, Long countObserverGomy, Long countSupervisorGomy, Long countMilitaryCommissar, Long countSpecialistStatements, Long countObserverVo, Long countObserverVk, Long countAdministratorMilitaryOffice, Long countSpecialistMilitaryAccounting, Long countSpecialistAcquisition, String recruitmentId, Long countResponsibleZi, Long countResponsibleZiSvk) {
|
||||
super(UserAnalysis.USER_ANALYSIS);
|
||||
|
||||
setUserAnalysisId(userAnalysisId);
|
||||
|
|
@ -384,6 +420,8 @@ public class UserAnalysisRecord extends UpdatableRecordImpl<UserAnalysisRecord>
|
|||
setCountSpecialistMilitaryAccounting(countSpecialistMilitaryAccounting);
|
||||
setCountSpecialistAcquisition(countSpecialistAcquisition);
|
||||
setRecruitmentId(recruitmentId);
|
||||
setCountResponsibleZi(countResponsibleZi);
|
||||
setCountResponsibleZiSvk(countResponsibleZiSvk);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -195,17 +195,17 @@ public class ViewUserAnalysisRecord extends TableRecordImpl<ViewUserAnalysisReco
|
|||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>admin_indicators.view_user_analysis.percent_administrator_military_office</code>.
|
||||
* <code>admin_indicators.view_user_analysis.percent_responsible_zi</code>.
|
||||
*/
|
||||
public void setPercentAdministratorMilitaryOffice(BigDecimal value) {
|
||||
public void setPercentResponsibleZi(BigDecimal value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>admin_indicators.view_user_analysis.percent_administrator_military_office</code>.
|
||||
* <code>admin_indicators.view_user_analysis.percent_responsible_zi</code>.
|
||||
*/
|
||||
public BigDecimal getPercentAdministratorMilitaryOffice() {
|
||||
public BigDecimal getPercentResponsibleZi() {
|
||||
return (BigDecimal) get(11);
|
||||
}
|
||||
|
||||
|
|
@ -241,6 +241,22 @@ public class ViewUserAnalysisRecord extends TableRecordImpl<ViewUserAnalysisReco
|
|||
return (BigDecimal) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>admin_indicators.view_user_analysis.percent_responsible_zi_svk</code>.
|
||||
*/
|
||||
public void setPercentResponsibleZiSvk(BigDecimal value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>admin_indicators.view_user_analysis.percent_responsible_zi_svk</code>.
|
||||
*/
|
||||
public BigDecimal getPercentResponsibleZiSvk() {
|
||||
return (BigDecimal) get(14);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
|
@ -255,7 +271,7 @@ public class ViewUserAnalysisRecord extends TableRecordImpl<ViewUserAnalysisReco
|
|||
/**
|
||||
* Create a detached, initialised ViewUserAnalysisRecord
|
||||
*/
|
||||
public ViewUserAnalysisRecord(Long userAnalysisId, Long countAll, BigDecimal percentAdministratorIs, BigDecimal percentAdministratorPoib, BigDecimal percentEmployeeGomy, BigDecimal percentBserverGomy, BigDecimal percentSupervisorGomy, BigDecimal percentMilitaryCommissar, BigDecimal percentSpecialistStatements, BigDecimal percentObserverVo, BigDecimal percentObserverVk, BigDecimal percentAdministratorMilitaryOffice, BigDecimal percentSpecialistMilitaryAccounting, BigDecimal percentSpecialistAcquisition) {
|
||||
public ViewUserAnalysisRecord(Long userAnalysisId, Long countAll, BigDecimal percentAdministratorIs, BigDecimal percentAdministratorPoib, BigDecimal percentEmployeeGomy, BigDecimal percentBserverGomy, BigDecimal percentSupervisorGomy, BigDecimal percentMilitaryCommissar, BigDecimal percentSpecialistStatements, BigDecimal percentObserverVo, BigDecimal percentObserverVk, BigDecimal percentResponsibleZi, BigDecimal percentSpecialistMilitaryAccounting, BigDecimal percentSpecialistAcquisition, BigDecimal percentResponsibleZiSvk) {
|
||||
super(ViewUserAnalysis.VIEW_USER_ANALYSIS);
|
||||
|
||||
setUserAnalysisId(userAnalysisId);
|
||||
|
|
@ -269,9 +285,10 @@ public class ViewUserAnalysisRecord extends TableRecordImpl<ViewUserAnalysisReco
|
|||
setPercentSpecialistStatements(percentSpecialistStatements);
|
||||
setPercentObserverVo(percentObserverVo);
|
||||
setPercentObserverVk(percentObserverVk);
|
||||
setPercentAdministratorMilitaryOffice(percentAdministratorMilitaryOffice);
|
||||
setPercentResponsibleZi(percentResponsibleZi);
|
||||
setPercentSpecialistMilitaryAccounting(percentSpecialistMilitaryAccounting);
|
||||
setPercentSpecialistAcquisition(percentSpecialistAcquisition);
|
||||
setPercentResponsibleZiSvk(percentResponsibleZiSvk);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,76 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Catalog;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.impl.SchemaImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.DefaultCatalog;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class IdmReconcile extends SchemaImpl {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>idm_reconcile</code>
|
||||
*/
|
||||
public static final IdmReconcile IDM_RECONCILE = new IdmReconcile();
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.account</code>.
|
||||
*/
|
||||
public final Account ACCOUNT = Account.ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.account_role</code>.
|
||||
*/
|
||||
public final AccountRole ACCOUNT_ROLE = AccountRole.ACCOUNT_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.domain</code>.
|
||||
*/
|
||||
public final Domain DOMAIN = Domain.DOMAIN;
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.role</code>.
|
||||
*/
|
||||
public final Role ROLE = Role.ROLE;
|
||||
|
||||
/**
|
||||
* No further instances allowed
|
||||
*/
|
||||
private IdmReconcile() {
|
||||
super("idm_reconcile", null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Catalog getCatalog() {
|
||||
return DefaultCatalog.DEFAULT_CATALOG;
|
||||
}
|
||||
|
||||
@Override
|
||||
public final List<Table<?>> getTables() {
|
||||
return Arrays.asList(
|
||||
Account.ACCOUNT,
|
||||
AccountRole.ACCOUNT_ROLE,
|
||||
Domain.DOMAIN,
|
||||
Role.ROLE
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile;
|
||||
|
||||
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.Internal;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* A class modelling foreign key relationships and constraints of tables in
|
||||
* idm_reconcile.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Keys {
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// UNIQUE and PRIMARY KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final UniqueKey<AccountRecord> ACCOUNT_PKEY = Internal.createUniqueKey(Account.ACCOUNT, DSL.name("account_pkey"), new TableField[] { Account.ACCOUNT.ID }, true);
|
||||
public static final UniqueKey<AccountRoleRecord> PK_ACCOUNT_ROLE = Internal.createUniqueKey(AccountRole.ACCOUNT_ROLE, DSL.name("pk_account_role"), new TableField[] { AccountRole.ACCOUNT_ROLE.ACCOUNT_ID, AccountRole.ACCOUNT_ROLE.ROLE_ID }, true);
|
||||
public static final UniqueKey<DomainRecord> DOMAIN_PKEY = Internal.createUniqueKey(Domain.DOMAIN, DSL.name("domain_pkey"), new TableField[] { Domain.DOMAIN.ID }, true);
|
||||
public static final UniqueKey<RoleRecord> ROLE_PKEY = Internal.createUniqueKey(Role.ROLE, DSL.name("role_pkey"), new TableField[] { Role.ROLE.ID }, true);
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// FOREIGN KEY definitions
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
public static final ForeignKey<AccountRecord, DomainRecord> ACCOUNT__FK_DOMAIN = Internal.createForeignKey(Account.ACCOUNT, DSL.name("fk_domain"), new TableField[] { Account.ACCOUNT.DOMAIN_ID }, Keys.DOMAIN_PKEY, new TableField[] { Domain.DOMAIN.ID }, true);
|
||||
public static final ForeignKey<AccountRoleRecord, AccountRecord> ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT = Internal.createForeignKey(AccountRole.ACCOUNT_ROLE, DSL.name("fk_account_role_account"), new TableField[] { AccountRole.ACCOUNT_ROLE.ACCOUNT_ID }, Keys.ACCOUNT_PKEY, new TableField[] { Account.ACCOUNT.ID }, true);
|
||||
public static final ForeignKey<AccountRoleRecord, RoleRecord> ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE = Internal.createForeignKey(AccountRole.ACCOUNT_ROLE, DSL.name("fk_account_role_role"), new TableField[] { AccountRole.ACCOUNT_ROLE.ROLE_ID }, Keys.ROLE_PKEY, new TableField[] { Role.ROLE.ID }, true);
|
||||
}
|
||||
|
|
@ -0,0 +1,38 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile;
|
||||
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
|
||||
|
||||
|
||||
/**
|
||||
* Convenience access to all tables in idm_reconcile.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Tables {
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.account</code>.
|
||||
*/
|
||||
public static final Account ACCOUNT = Account.ACCOUNT;
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.account_role</code>.
|
||||
*/
|
||||
public static final AccountRole ACCOUNT_ROLE = AccountRole.ACCOUNT_ROLE;
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.domain</code>.
|
||||
*/
|
||||
public static final Domain DOMAIN = Domain.DOMAIN;
|
||||
|
||||
/**
|
||||
* The table <code>idm_reconcile.role</code>.
|
||||
*/
|
||||
public static final Role ROLE = Role.ROLE;
|
||||
}
|
||||
|
|
@ -0,0 +1,353 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole.AccountRolePath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain.DomainPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role.RolePath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Account extends TableImpl<AccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>idm_reconcile.account</code>
|
||||
*/
|
||||
public static final Account ACCOUNT = new Account();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AccountRecord> getRecordType() {
|
||||
return AccountRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.id</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.version</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.modified</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.schema</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(100).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.start</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> START = createField(DSL.name("start"), SQLDataType.VARCHAR(50), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.finish</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> FINISH = createField(DSL.name("finish"), SQLDataType.VARCHAR(50), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.enabled</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("true"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.position</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> POSITION = createField(DSL.name("position"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.fio</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> FIO = createField(DSL.name("fio"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.work_mail</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> WORK_MAIL = createField(DSL.name("work_mail"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.esia_account</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, Boolean> ESIA_ACCOUNT = createField(DSL.name("esia_account"), SQLDataType.BOOLEAN.nullable(false).defaultValue(DSL.field(DSL.raw("false"), SQLDataType.BOOLEAN)), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account.domain_id</code>.
|
||||
*/
|
||||
public final TableField<AccountRecord, String> DOMAIN_ID = createField(DSL.name("domain_id"), SQLDataType.VARCHAR(36), this, "");
|
||||
|
||||
private Account(Name alias, Table<AccountRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Account(Name alias, Table<AccountRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.account</code> table reference
|
||||
*/
|
||||
public Account(String alias) {
|
||||
this(DSL.name(alias), ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.account</code> table reference
|
||||
*/
|
||||
public Account(Name alias) {
|
||||
this(alias, ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>idm_reconcile.account</code> table reference
|
||||
*/
|
||||
public Account() {
|
||||
this(DSL.name("account"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Account(Table<O> path, ForeignKey<O, AccountRecord> childPath, InverseForeignKey<O, AccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AccountPath extends Account implements Path<AccountRecord> {
|
||||
public <O extends Record> AccountPath(Table<O> path, ForeignKey<O, AccountRecord> childPath, InverseForeignKey<O, AccountRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AccountPath(Name alias, Table<AccountRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountPath as(String alias) {
|
||||
return new AccountPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountPath as(Name alias) {
|
||||
return new AccountPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountPath as(Table<?> alias) {
|
||||
return new AccountPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AccountRecord> getPrimaryKey() {
|
||||
return Keys.ACCOUNT_PKEY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<AccountRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ACCOUNT__FK_DOMAIN);
|
||||
}
|
||||
|
||||
private transient DomainPath _domain;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>idm_reconcile.domain</code>
|
||||
* table.
|
||||
*/
|
||||
public DomainPath domain() {
|
||||
if (_domain == null)
|
||||
_domain = new DomainPath(this, Keys.ACCOUNT__FK_DOMAIN, null);
|
||||
|
||||
return _domain;
|
||||
}
|
||||
|
||||
private transient AccountRolePath _accountRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>idm_reconcile.account_role</code> table
|
||||
*/
|
||||
public AccountRolePath accountRole() {
|
||||
if (_accountRole == null)
|
||||
_accountRole = new AccountRolePath(this, null, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT.getInverseKey());
|
||||
|
||||
return _accountRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>idm_reconcile.role</code> table
|
||||
*/
|
||||
public RolePath role() {
|
||||
return accountRole().role();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Account as(String alias) {
|
||||
return new Account(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Account as(Name alias) {
|
||||
return new Account(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Account as(Table<?> alias) {
|
||||
return new Account(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Account rename(String name) {
|
||||
return new Account(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Account rename(Name name) {
|
||||
return new Account(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Account rename(Table<?> name) {
|
||||
return new Account(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Account where(Condition condition) {
|
||||
return new Account(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Account where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Account where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Account where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Account where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Account where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Account where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Account where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Account whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Account whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,292 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
|
||||
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role.RolePath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.AccountRoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountRole extends TableImpl<AccountRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>idm_reconcile.account_role</code>
|
||||
*/
|
||||
public static final AccountRole ACCOUNT_ROLE = new AccountRole();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<AccountRoleRecord> getRecordType() {
|
||||
return AccountRoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account_role.account_id</code>.
|
||||
*/
|
||||
public final TableField<AccountRoleRecord, String> ACCOUNT_ID = createField(DSL.name("account_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.account_role.role_id</code>.
|
||||
*/
|
||||
public final TableField<AccountRoleRecord, String> ROLE_ID = createField(DSL.name("role_id"), SQLDataType.VARCHAR(36).nullable(false), this, "");
|
||||
|
||||
private AccountRole(Name alias, Table<AccountRoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private AccountRole(Name alias, Table<AccountRoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.account_role</code> table reference
|
||||
*/
|
||||
public AccountRole(String alias) {
|
||||
this(DSL.name(alias), ACCOUNT_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.account_role</code> table reference
|
||||
*/
|
||||
public AccountRole(Name alias) {
|
||||
this(alias, ACCOUNT_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>idm_reconcile.account_role</code> table reference
|
||||
*/
|
||||
public AccountRole() {
|
||||
this(DSL.name("account_role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> AccountRole(Table<O> path, ForeignKey<O, AccountRoleRecord> childPath, InverseForeignKey<O, AccountRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ACCOUNT_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class AccountRolePath extends AccountRole implements Path<AccountRoleRecord> {
|
||||
public <O extends Record> AccountRolePath(Table<O> path, ForeignKey<O, AccountRoleRecord> childPath, InverseForeignKey<O, AccountRoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private AccountRolePath(Name alias, Table<AccountRoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountRolePath as(String alias) {
|
||||
return new AccountRolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountRolePath as(Name alias) {
|
||||
return new AccountRolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountRolePath as(Table<?> alias) {
|
||||
return new AccountRolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<AccountRoleRecord> getPrimaryKey() {
|
||||
return Keys.PK_ACCOUNT_ROLE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<ForeignKey<AccountRoleRecord, ?>> getReferences() {
|
||||
return Arrays.asList(Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE);
|
||||
}
|
||||
|
||||
private transient AccountPath _account;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>idm_reconcile.account</code>
|
||||
* table.
|
||||
*/
|
||||
public AccountPath account() {
|
||||
if (_account == null)
|
||||
_account = new AccountPath(this, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ACCOUNT, null);
|
||||
|
||||
return _account;
|
||||
}
|
||||
|
||||
private transient RolePath _role;
|
||||
|
||||
/**
|
||||
* Get the implicit join path to the <code>idm_reconcile.role</code> table.
|
||||
*/
|
||||
public RolePath role() {
|
||||
if (_role == null)
|
||||
_role = new RolePath(this, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE, null);
|
||||
|
||||
return _role;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountRole as(String alias) {
|
||||
return new AccountRole(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountRole as(Name alias) {
|
||||
return new AccountRole(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public AccountRole as(Table<?> alias) {
|
||||
return new AccountRole(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole rename(String name) {
|
||||
return new AccountRole(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole rename(Name name) {
|
||||
return new AccountRole(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole rename(Table<?> name) {
|
||||
return new AccountRole(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole where(Condition condition) {
|
||||
return new AccountRole(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccountRole where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccountRole where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccountRole where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public AccountRole where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public AccountRole whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,514 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.DomainRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Domain extends TableImpl<DomainRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>idm_reconcile.domain</code>
|
||||
*/
|
||||
public static final Domain DOMAIN = new Domain();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<DomainRecord> getRecordType() {
|
||||
return DomainRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.version</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.modified</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.schema</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.name</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.shortname</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.fullname</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> FULLNAME = createField(DSL.name("fullname"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.dns</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> DNS = createField(DSL.name("dns"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.email</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> EMAIL = createField(DSL.name("email"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.phone</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> PHONE = createField(DSL.name("phone"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.address</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> ADDRESS = createField(DSL.name("address"), SQLDataType.VARCHAR(1024), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.postal_address</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> POSTAL_ADDRESS = createField(DSL.name("postal_address"), SQLDataType.VARCHAR(1024), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.address_id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> ADDRESS_ID = createField(DSL.name("address_id"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.postal_address_id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> POSTAL_ADDRESS_ID = createField(DSL.name("postal_address_id"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.military_code</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> MILITARY_CODE = createField(DSL.name("military_code"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.timezone</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> TIMEZONE = createField(DSL.name("timezone"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.reports_enabled</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, Boolean> REPORTS_ENABLED = createField(DSL.name("reports_enabled"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.inn</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> INN = createField(DSL.name("inn"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.leg</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> LEG = createField(DSL.name("leg"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.ogrn</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> OGRN = createField(DSL.name("ogrn"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.region</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> REGION = createField(DSL.name("region"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.epgu_id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> EPGU_ID = createField(DSL.name("epgu_id"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.type</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> TYPE = createField(DSL.name("type"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.esia_employee_authorization</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, Boolean> ESIA_EMPLOYEE_AUTHORIZATION = createField(DSL.name("esia_employee_authorization"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.default_s3_bucket</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> DEFAULT_S3_BUCKET = createField(DSL.name("default_s3_bucket"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.opf</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> OPF = createField(DSL.name("opf"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.kpp</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> KPP = createField(DSL.name("kpp"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.checking_account</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> CHECKING_ACCOUNT = createField(DSL.name("checking_account"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.bik</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> BIK = createField(DSL.name("bik"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.bank_name</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> BANK_NAME = createField(DSL.name("bank_name"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.bank_correspondent_account</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> BANK_CORRESPONDENT_ACCOUNT = createField(DSL.name("bank_correspondent_account"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.oktmo</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> OKTMO = createField(DSL.name("oktmo"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.okato</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> OKATO = createField(DSL.name("okato"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.gov_registration_date</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> GOV_REGISTRATION_DATE = createField(DSL.name("gov_registration_date"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.gov_organization_type</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> GOV_ORGANIZATION_TYPE = createField(DSL.name("gov_organization_type"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.alias_key</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> ALIAS_KEY = createField(DSL.name("alias_key"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.pass_key</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> PASS_KEY = createField(DSL.name("pass_key"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.certificate</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> CERTIFICATE = createField(DSL.name("certificate"), SQLDataType.VARCHAR(2048), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.account_number_tofk</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> ACCOUNT_NUMBER_TOFK = createField(DSL.name("account_number_tofk"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.bik_tofk</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> BIK_TOFK = createField(DSL.name("bik_tofk"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column
|
||||
* <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> CORRESPONDENT_BANK_ACCOUNT_TOFK = createField(DSL.name("correspondent_bank_account_tofk"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.name_tofk</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> NAME_TOFK = createField(DSL.name("name_tofk"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.nsi_organization_id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> NSI_ORGANIZATION_ID = createField(DSL.name("nsi_organization_id"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.doc_handle</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> DOC_HANDLE = createField(DSL.name("doc_handle"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.division_type</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> DIVISION_TYPE = createField(DSL.name("division_type"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.tns_department_id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> TNS_DEPARTMENT_ID = createField(DSL.name("tns_department_id"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.enabled</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, Boolean> ENABLED = createField(DSL.name("enabled"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.parent</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> PARENT = createField(DSL.name("parent"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.region_id</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> REGION_ID = createField(DSL.name("region_id"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.domain.managed</code>.
|
||||
*/
|
||||
public final TableField<DomainRecord, String> MANAGED = createField(DSL.name("managed"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
private Domain(Name alias, Table<DomainRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Domain(Name alias, Table<DomainRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.domain</code> table reference
|
||||
*/
|
||||
public Domain(String alias) {
|
||||
this(DSL.name(alias), DOMAIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.domain</code> table reference
|
||||
*/
|
||||
public Domain(Name alias) {
|
||||
this(alias, DOMAIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>idm_reconcile.domain</code> table reference
|
||||
*/
|
||||
public Domain() {
|
||||
this(DSL.name("domain"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Domain(Table<O> path, ForeignKey<O, DomainRecord> childPath, InverseForeignKey<O, DomainRecord> parentPath) {
|
||||
super(path, childPath, parentPath, DOMAIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class DomainPath extends Domain implements Path<DomainRecord> {
|
||||
public <O extends Record> DomainPath(Table<O> path, ForeignKey<O, DomainRecord> childPath, InverseForeignKey<O, DomainRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private DomainPath(Name alias, Table<DomainRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DomainPath as(String alias) {
|
||||
return new DomainPath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DomainPath as(Name alias) {
|
||||
return new DomainPath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public DomainPath as(Table<?> alias) {
|
||||
return new DomainPath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<DomainRecord> getPrimaryKey() {
|
||||
return Keys.DOMAIN_PKEY;
|
||||
}
|
||||
|
||||
private transient AccountPath _account;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>idm_reconcile.account</code> table
|
||||
*/
|
||||
public AccountPath account() {
|
||||
if (_account == null)
|
||||
_account = new AccountPath(this, null, Keys.ACCOUNT__FK_DOMAIN.getInverseKey());
|
||||
|
||||
return _account;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Domain as(String alias) {
|
||||
return new Domain(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Domain as(Name alias) {
|
||||
return new Domain(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Domain as(Table<?> alias) {
|
||||
return new Domain(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Domain rename(String name) {
|
||||
return new Domain(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Domain rename(Name name) {
|
||||
return new Domain(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Domain rename(Table<?> name) {
|
||||
return new Domain(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Domain where(Condition condition) {
|
||||
return new Domain(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Domain where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Domain where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Domain where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Domain where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Domain where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Domain where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Domain where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Domain whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Domain whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,327 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.Collection;
|
||||
|
||||
import org.jooq.Condition;
|
||||
import org.jooq.Field;
|
||||
import org.jooq.ForeignKey;
|
||||
import org.jooq.InverseForeignKey;
|
||||
import org.jooq.Name;
|
||||
import org.jooq.Path;
|
||||
import org.jooq.PlainSQL;
|
||||
import org.jooq.QueryPart;
|
||||
import org.jooq.Record;
|
||||
import org.jooq.SQL;
|
||||
import org.jooq.Schema;
|
||||
import org.jooq.Select;
|
||||
import org.jooq.Stringly;
|
||||
import org.jooq.Table;
|
||||
import org.jooq.TableField;
|
||||
import org.jooq.TableOptions;
|
||||
import org.jooq.UniqueKey;
|
||||
import org.jooq.impl.DSL;
|
||||
import org.jooq.impl.SQLDataType;
|
||||
import org.jooq.impl.TableImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.IdmReconcile;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.Keys;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account.AccountPath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole.AccountRolePath;
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records.RoleRecord;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class Role extends TableImpl<RoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* The reference instance of <code>idm_reconcile.role</code>
|
||||
*/
|
||||
public static final Role ROLE = new Role();
|
||||
|
||||
/**
|
||||
* The class holding records for this type
|
||||
*/
|
||||
@Override
|
||||
public Class<RoleRecord> getRecordType() {
|
||||
return RoleRecord.class;
|
||||
}
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.id</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, String> ID = createField(DSL.name("id"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.version</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, Integer> VERSION = createField(DSL.name("version"), SQLDataType.INTEGER.nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.modified</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, Timestamp> MODIFIED = createField(DSL.name("modified"), SQLDataType.TIMESTAMP(0), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.schema</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, String> SCHEMA = createField(DSL.name("schema"), SQLDataType.VARCHAR(255).nullable(false), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.name</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, String> NAME = createField(DSL.name("name"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.shortname</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, String> SHORTNAME = createField(DSL.name("shortname"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.display_name</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, String> DISPLAY_NAME = createField(DSL.name("display_name"), SQLDataType.VARCHAR(255), this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.sessions_limit</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, Integer> SESSIONS_LIMIT = createField(DSL.name("sessions_limit"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.ervu_role</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, Boolean> ERVU_ROLE = createField(DSL.name("ervu_role"), SQLDataType.BOOLEAN, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.imported</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, Integer> IMPORTED = createField(DSL.name("imported"), SQLDataType.INTEGER, this, "");
|
||||
|
||||
/**
|
||||
* The column <code>idm_reconcile.role.description</code>.
|
||||
*/
|
||||
public final TableField<RoleRecord, String> DESCRIPTION = createField(DSL.name("description"), SQLDataType.CLOB, this, "");
|
||||
|
||||
private Role(Name alias, Table<RoleRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
}
|
||||
|
||||
private Role(Name alias, Table<RoleRecord> aliased, Field<?>[] parameters, Condition where) {
|
||||
super(alias, null, aliased, parameters, DSL.comment(""), TableOptions.table(), where);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.role</code> table reference
|
||||
*/
|
||||
public Role(String alias) {
|
||||
this(DSL.name(alias), ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an aliased <code>idm_reconcile.role</code> table reference
|
||||
*/
|
||||
public Role(Name alias) {
|
||||
this(alias, ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a <code>idm_reconcile.role</code> table reference
|
||||
*/
|
||||
public Role() {
|
||||
this(DSL.name("role"), null);
|
||||
}
|
||||
|
||||
public <O extends Record> Role(Table<O> path, ForeignKey<O, RoleRecord> childPath, InverseForeignKey<O, RoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath, ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* A subtype implementing {@link Path} for simplified path-based joins.
|
||||
*/
|
||||
public static class RolePath extends Role implements Path<RoleRecord> {
|
||||
public <O extends Record> RolePath(Table<O> path, ForeignKey<O, RoleRecord> childPath, InverseForeignKey<O, RoleRecord> parentPath) {
|
||||
super(path, childPath, parentPath);
|
||||
}
|
||||
private RolePath(Name alias, Table<RoleRecord> aliased) {
|
||||
super(alias, aliased);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RolePath as(String alias) {
|
||||
return new RolePath(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RolePath as(Name alias) {
|
||||
return new RolePath(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public RolePath as(Table<?> alias) {
|
||||
return new RolePath(alias.getQualifiedName(), this);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public Schema getSchema() {
|
||||
return aliased() ? null : IdmReconcile.IDM_RECONCILE;
|
||||
}
|
||||
|
||||
@Override
|
||||
public UniqueKey<RoleRecord> getPrimaryKey() {
|
||||
return Keys.ROLE_PKEY;
|
||||
}
|
||||
|
||||
private transient AccountRolePath _accountRole;
|
||||
|
||||
/**
|
||||
* Get the implicit to-many join path to the
|
||||
* <code>idm_reconcile.account_role</code> table
|
||||
*/
|
||||
public AccountRolePath accountRole() {
|
||||
if (_accountRole == null)
|
||||
_accountRole = new AccountRolePath(this, null, Keys.ACCOUNT_ROLE__FK_ACCOUNT_ROLE_ROLE.getInverseKey());
|
||||
|
||||
return _accountRole;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the implicit many-to-many join path to the
|
||||
* <code>idm_reconcile.account</code> table
|
||||
*/
|
||||
public AccountPath account() {
|
||||
return accountRole().account();
|
||||
}
|
||||
|
||||
@Override
|
||||
public Role as(String alias) {
|
||||
return new Role(DSL.name(alias), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Role as(Name alias) {
|
||||
return new Role(alias, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Role as(Table<?> alias) {
|
||||
return new Role(alias.getQualifiedName(), this);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Role rename(String name) {
|
||||
return new Role(DSL.name(name), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Role rename(Name name) {
|
||||
return new Role(name, null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Rename this table
|
||||
*/
|
||||
@Override
|
||||
public Role rename(Table<?> name) {
|
||||
return new Role(name.getQualifiedName(), null);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Role where(Condition condition) {
|
||||
return new Role(getQualifiedName(), aliased() ? this : null, null, condition);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Role where(Collection<? extends Condition> conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Role where(Condition... conditions) {
|
||||
return where(DSL.and(conditions));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Role where(Field<Boolean> condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Role where(SQL condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Role where(@Stringly.SQL String condition) {
|
||||
return where(DSL.condition(condition));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Role where(@Stringly.SQL String condition, Object... binds) {
|
||||
return where(DSL.condition(condition, binds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
@PlainSQL
|
||||
public Role where(@Stringly.SQL String condition, QueryPart... parts) {
|
||||
return where(DSL.condition(condition, parts));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Role whereExists(Select<?> select) {
|
||||
return where(DSL.exists(select));
|
||||
}
|
||||
|
||||
/**
|
||||
* Create an inline derived table from this table
|
||||
*/
|
||||
@Override
|
||||
public Role whereNotExists(Select<?> select) {
|
||||
return where(DSL.notExists(select));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,231 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Account;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountRecord extends UpdatableRecordImpl<AccountRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.version</code>.
|
||||
*/
|
||||
public void setVersion(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.version</code>.
|
||||
*/
|
||||
public Integer getVersion() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.modified</code>.
|
||||
*/
|
||||
public void setModified(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.modified</code>.
|
||||
*/
|
||||
public Timestamp getModified() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.schema</code>.
|
||||
*/
|
||||
public void setSchema(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.schema</code>.
|
||||
*/
|
||||
public String getSchema() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.start</code>.
|
||||
*/
|
||||
public void setStart(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.start</code>.
|
||||
*/
|
||||
public String getStart() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.finish</code>.
|
||||
*/
|
||||
public void setFinish(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.finish</code>.
|
||||
*/
|
||||
public String getFinish() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.enabled</code>.
|
||||
*/
|
||||
public void setEnabled(Boolean value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.enabled</code>.
|
||||
*/
|
||||
public Boolean getEnabled() {
|
||||
return (Boolean) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.position</code>.
|
||||
*/
|
||||
public void setPosition(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.position</code>.
|
||||
*/
|
||||
public String getPosition() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.fio</code>.
|
||||
*/
|
||||
public void setFio(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.fio</code>.
|
||||
*/
|
||||
public String getFio() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.work_mail</code>.
|
||||
*/
|
||||
public void setWorkMail(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.work_mail</code>.
|
||||
*/
|
||||
public String getWorkMail() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.esia_account</code>.
|
||||
*/
|
||||
public void setEsiaAccount(Boolean value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.esia_account</code>.
|
||||
*/
|
||||
public Boolean getEsiaAccount() {
|
||||
return (Boolean) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account.domain_id</code>.
|
||||
*/
|
||||
public void setDomainId(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account.domain_id</code>.
|
||||
*/
|
||||
public String getDomainId() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccountRecord
|
||||
*/
|
||||
public AccountRecord() {
|
||||
super(Account.ACCOUNT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccountRecord
|
||||
*/
|
||||
public AccountRecord(String id, Integer version, Timestamp modified, String schema, String start, String finish, Boolean enabled, String position, String fio, String workMail, Boolean esiaAccount, String domainId) {
|
||||
super(Account.ACCOUNT);
|
||||
|
||||
setId(id);
|
||||
setVersion(version);
|
||||
setModified(modified);
|
||||
setSchema(schema);
|
||||
setStart(start);
|
||||
setFinish(finish);
|
||||
setEnabled(enabled);
|
||||
setPosition(position);
|
||||
setFio(fio);
|
||||
setWorkMail(workMail);
|
||||
setEsiaAccount(esiaAccount);
|
||||
setDomainId(domainId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
|
||||
|
||||
|
||||
import org.jooq.Record2;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.AccountRole;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class AccountRoleRecord extends UpdatableRecordImpl<AccountRoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account_role.account_id</code>.
|
||||
*/
|
||||
public void setAccountId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account_role.account_id</code>.
|
||||
*/
|
||||
public String getAccountId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.account_role.role_id</code>.
|
||||
*/
|
||||
public void setRoleId(String value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.account_role.role_id</code>.
|
||||
*/
|
||||
public String getRoleId() {
|
||||
return (String) get(1);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record2<String, String> key() {
|
||||
return (Record2) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached AccountRoleRecord
|
||||
*/
|
||||
public AccountRoleRecord() {
|
||||
super(AccountRole.ACCOUNT_ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised AccountRoleRecord
|
||||
*/
|
||||
public AccountRoleRecord(String accountId, String roleId) {
|
||||
super(AccountRole.ACCOUNT_ROLE);
|
||||
|
||||
setAccountId(accountId);
|
||||
setRoleId(roleId);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,803 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Domain;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class DomainRecord extends UpdatableRecordImpl<DomainRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.version</code>.
|
||||
*/
|
||||
public void setVersion(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.version</code>.
|
||||
*/
|
||||
public Integer getVersion() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.modified</code>.
|
||||
*/
|
||||
public void setModified(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.modified</code>.
|
||||
*/
|
||||
public Timestamp getModified() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.schema</code>.
|
||||
*/
|
||||
public void setSchema(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.schema</code>.
|
||||
*/
|
||||
public String getSchema() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.shortname</code>.
|
||||
*/
|
||||
public void setShortname(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.shortname</code>.
|
||||
*/
|
||||
public String getShortname() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.fullname</code>.
|
||||
*/
|
||||
public void setFullname(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.fullname</code>.
|
||||
*/
|
||||
public String getFullname() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.dns</code>.
|
||||
*/
|
||||
public void setDns(String value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.dns</code>.
|
||||
*/
|
||||
public String getDns() {
|
||||
return (String) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.email</code>.
|
||||
*/
|
||||
public void setEmail(String value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.email</code>.
|
||||
*/
|
||||
public String getEmail() {
|
||||
return (String) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.phone</code>.
|
||||
*/
|
||||
public void setPhone(String value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.phone</code>.
|
||||
*/
|
||||
public String getPhone() {
|
||||
return (String) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.address</code>.
|
||||
*/
|
||||
public void setAddress(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.address</code>.
|
||||
*/
|
||||
public String getAddress() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.postal_address</code>.
|
||||
*/
|
||||
public void setPostalAddress(String value) {
|
||||
set(11, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.postal_address</code>.
|
||||
*/
|
||||
public String getPostalAddress() {
|
||||
return (String) get(11);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.address_id</code>.
|
||||
*/
|
||||
public void setAddressId(String value) {
|
||||
set(12, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.address_id</code>.
|
||||
*/
|
||||
public String getAddressId() {
|
||||
return (String) get(12);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.postal_address_id</code>.
|
||||
*/
|
||||
public void setPostalAddressId(String value) {
|
||||
set(13, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.postal_address_id</code>.
|
||||
*/
|
||||
public String getPostalAddressId() {
|
||||
return (String) get(13);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.military_code</code>.
|
||||
*/
|
||||
public void setMilitaryCode(String value) {
|
||||
set(14, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.military_code</code>.
|
||||
*/
|
||||
public String getMilitaryCode() {
|
||||
return (String) get(14);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.timezone</code>.
|
||||
*/
|
||||
public void setTimezone(String value) {
|
||||
set(15, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.timezone</code>.
|
||||
*/
|
||||
public String getTimezone() {
|
||||
return (String) get(15);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.reports_enabled</code>.
|
||||
*/
|
||||
public void setReportsEnabled(Boolean value) {
|
||||
set(16, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.reports_enabled</code>.
|
||||
*/
|
||||
public Boolean getReportsEnabled() {
|
||||
return (Boolean) get(16);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.inn</code>.
|
||||
*/
|
||||
public void setInn(String value) {
|
||||
set(17, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.inn</code>.
|
||||
*/
|
||||
public String getInn() {
|
||||
return (String) get(17);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.leg</code>.
|
||||
*/
|
||||
public void setLeg(String value) {
|
||||
set(18, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.leg</code>.
|
||||
*/
|
||||
public String getLeg() {
|
||||
return (String) get(18);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.ogrn</code>.
|
||||
*/
|
||||
public void setOgrn(String value) {
|
||||
set(19, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.ogrn</code>.
|
||||
*/
|
||||
public String getOgrn() {
|
||||
return (String) get(19);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.region</code>.
|
||||
*/
|
||||
public void setRegion(String value) {
|
||||
set(20, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.region</code>.
|
||||
*/
|
||||
public String getRegion() {
|
||||
return (String) get(20);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.epgu_id</code>.
|
||||
*/
|
||||
public void setEpguId(String value) {
|
||||
set(21, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.epgu_id</code>.
|
||||
*/
|
||||
public String getEpguId() {
|
||||
return (String) get(21);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.type</code>.
|
||||
*/
|
||||
public void setType(String value) {
|
||||
set(22, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.type</code>.
|
||||
*/
|
||||
public String getType() {
|
||||
return (String) get(22);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.esia_employee_authorization</code>.
|
||||
*/
|
||||
public void setEsiaEmployeeAuthorization(Boolean value) {
|
||||
set(23, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.esia_employee_authorization</code>.
|
||||
*/
|
||||
public Boolean getEsiaEmployeeAuthorization() {
|
||||
return (Boolean) get(23);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.default_s3_bucket</code>.
|
||||
*/
|
||||
public void setDefaultS3Bucket(String value) {
|
||||
set(24, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.default_s3_bucket</code>.
|
||||
*/
|
||||
public String getDefaultS3Bucket() {
|
||||
return (String) get(24);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.opf</code>.
|
||||
*/
|
||||
public void setOpf(String value) {
|
||||
set(25, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.opf</code>.
|
||||
*/
|
||||
public String getOpf() {
|
||||
return (String) get(25);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.kpp</code>.
|
||||
*/
|
||||
public void setKpp(String value) {
|
||||
set(26, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.kpp</code>.
|
||||
*/
|
||||
public String getKpp() {
|
||||
return (String) get(26);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.checking_account</code>.
|
||||
*/
|
||||
public void setCheckingAccount(String value) {
|
||||
set(27, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.checking_account</code>.
|
||||
*/
|
||||
public String getCheckingAccount() {
|
||||
return (String) get(27);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.bik</code>.
|
||||
*/
|
||||
public void setBik(String value) {
|
||||
set(28, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.bik</code>.
|
||||
*/
|
||||
public String getBik() {
|
||||
return (String) get(28);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.bank_name</code>.
|
||||
*/
|
||||
public void setBankName(String value) {
|
||||
set(29, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.bank_name</code>.
|
||||
*/
|
||||
public String getBankName() {
|
||||
return (String) get(29);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.bank_correspondent_account</code>.
|
||||
*/
|
||||
public void setBankCorrespondentAccount(String value) {
|
||||
set(30, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.bank_correspondent_account</code>.
|
||||
*/
|
||||
public String getBankCorrespondentAccount() {
|
||||
return (String) get(30);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.oktmo</code>.
|
||||
*/
|
||||
public void setOktmo(String value) {
|
||||
set(31, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.oktmo</code>.
|
||||
*/
|
||||
public String getOktmo() {
|
||||
return (String) get(31);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.okato</code>.
|
||||
*/
|
||||
public void setOkato(String value) {
|
||||
set(32, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.okato</code>.
|
||||
*/
|
||||
public String getOkato() {
|
||||
return (String) get(32);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.gov_registration_date</code>.
|
||||
*/
|
||||
public void setGovRegistrationDate(String value) {
|
||||
set(33, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.gov_registration_date</code>.
|
||||
*/
|
||||
public String getGovRegistrationDate() {
|
||||
return (String) get(33);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.gov_organization_type</code>.
|
||||
*/
|
||||
public void setGovOrganizationType(String value) {
|
||||
set(34, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.gov_organization_type</code>.
|
||||
*/
|
||||
public String getGovOrganizationType() {
|
||||
return (String) get(34);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.alias_key</code>.
|
||||
*/
|
||||
public void setAliasKey(String value) {
|
||||
set(35, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.alias_key</code>.
|
||||
*/
|
||||
public String getAliasKey() {
|
||||
return (String) get(35);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.pass_key</code>.
|
||||
*/
|
||||
public void setPassKey(String value) {
|
||||
set(36, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.pass_key</code>.
|
||||
*/
|
||||
public String getPassKey() {
|
||||
return (String) get(36);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.certificate</code>.
|
||||
*/
|
||||
public void setCertificate(String value) {
|
||||
set(37, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.certificate</code>.
|
||||
*/
|
||||
public String getCertificate() {
|
||||
return (String) get(37);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.account_number_tofk</code>.
|
||||
*/
|
||||
public void setAccountNumberTofk(String value) {
|
||||
set(38, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.account_number_tofk</code>.
|
||||
*/
|
||||
public String getAccountNumberTofk() {
|
||||
return (String) get(38);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.bik_tofk</code>.
|
||||
*/
|
||||
public void setBikTofk(String value) {
|
||||
set(39, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.bik_tofk</code>.
|
||||
*/
|
||||
public String getBikTofk() {
|
||||
return (String) get(39);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for
|
||||
* <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
|
||||
*/
|
||||
public void setCorrespondentBankAccountTofk(String value) {
|
||||
set(40, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for
|
||||
* <code>idm_reconcile.domain.correspondent_bank_account_tofk</code>.
|
||||
*/
|
||||
public String getCorrespondentBankAccountTofk() {
|
||||
return (String) get(40);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.name_tofk</code>.
|
||||
*/
|
||||
public void setNameTofk(String value) {
|
||||
set(41, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.name_tofk</code>.
|
||||
*/
|
||||
public String getNameTofk() {
|
||||
return (String) get(41);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.nsi_organization_id</code>.
|
||||
*/
|
||||
public void setNsiOrganizationId(String value) {
|
||||
set(42, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.nsi_organization_id</code>.
|
||||
*/
|
||||
public String getNsiOrganizationId() {
|
||||
return (String) get(42);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.doc_handle</code>.
|
||||
*/
|
||||
public void setDocHandle(String value) {
|
||||
set(43, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.doc_handle</code>.
|
||||
*/
|
||||
public String getDocHandle() {
|
||||
return (String) get(43);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.division_type</code>.
|
||||
*/
|
||||
public void setDivisionType(String value) {
|
||||
set(44, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.division_type</code>.
|
||||
*/
|
||||
public String getDivisionType() {
|
||||
return (String) get(44);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.tns_department_id</code>.
|
||||
*/
|
||||
public void setTnsDepartmentId(String value) {
|
||||
set(45, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.tns_department_id</code>.
|
||||
*/
|
||||
public String getTnsDepartmentId() {
|
||||
return (String) get(45);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.enabled</code>.
|
||||
*/
|
||||
public void setEnabled(Boolean value) {
|
||||
set(46, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.enabled</code>.
|
||||
*/
|
||||
public Boolean getEnabled() {
|
||||
return (Boolean) get(46);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.parent</code>.
|
||||
*/
|
||||
public void setParent(String value) {
|
||||
set(47, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.parent</code>.
|
||||
*/
|
||||
public String getParent() {
|
||||
return (String) get(47);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.region_id</code>.
|
||||
*/
|
||||
public void setRegionId(String value) {
|
||||
set(48, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.region_id</code>.
|
||||
*/
|
||||
public String getRegionId() {
|
||||
return (String) get(48);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.domain.managed</code>.
|
||||
*/
|
||||
public void setManaged(String value) {
|
||||
set(49, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.domain.managed</code>.
|
||||
*/
|
||||
public String getManaged() {
|
||||
return (String) get(49);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached DomainRecord
|
||||
*/
|
||||
public DomainRecord() {
|
||||
super(Domain.DOMAIN);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised DomainRecord
|
||||
*/
|
||||
public DomainRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String fullname, String dns, String email, String phone, String address, String postalAddress, String addressId, String postalAddressId, String militaryCode, String timezone, Boolean reportsEnabled, String inn, String leg, String ogrn, String region, String epguId, String type, Boolean esiaEmployeeAuthorization, String defaultS3Bucket, String opf, String kpp, String checkingAccount, String bik, String bankName, String bankCorrespondentAccount, String oktmo, String okato, String govRegistrationDate, String govOrganizationType, String aliasKey, String passKey, String certificate, String accountNumberTofk, String bikTofk, String correspondentBankAccountTofk, String nameTofk, String nsiOrganizationId, String docHandle, String divisionType, String tnsDepartmentId, Boolean enabled, String parent, String regionId, String managed) {
|
||||
super(Domain.DOMAIN);
|
||||
|
||||
setId(id);
|
||||
setVersion(version);
|
||||
setModified(modified);
|
||||
setSchema(schema);
|
||||
setName(name);
|
||||
setShortname(shortname);
|
||||
setFullname(fullname);
|
||||
setDns(dns);
|
||||
setEmail(email);
|
||||
setPhone(phone);
|
||||
setAddress(address);
|
||||
setPostalAddress(postalAddress);
|
||||
setAddressId(addressId);
|
||||
setPostalAddressId(postalAddressId);
|
||||
setMilitaryCode(militaryCode);
|
||||
setTimezone(timezone);
|
||||
setReportsEnabled(reportsEnabled);
|
||||
setInn(inn);
|
||||
setLeg(leg);
|
||||
setOgrn(ogrn);
|
||||
setRegion(region);
|
||||
setEpguId(epguId);
|
||||
setType(type);
|
||||
setEsiaEmployeeAuthorization(esiaEmployeeAuthorization);
|
||||
setDefaultS3Bucket(defaultS3Bucket);
|
||||
setOpf(opf);
|
||||
setKpp(kpp);
|
||||
setCheckingAccount(checkingAccount);
|
||||
setBik(bik);
|
||||
setBankName(bankName);
|
||||
setBankCorrespondentAccount(bankCorrespondentAccount);
|
||||
setOktmo(oktmo);
|
||||
setOkato(okato);
|
||||
setGovRegistrationDate(govRegistrationDate);
|
||||
setGovOrganizationType(govOrganizationType);
|
||||
setAliasKey(aliasKey);
|
||||
setPassKey(passKey);
|
||||
setCertificate(certificate);
|
||||
setAccountNumberTofk(accountNumberTofk);
|
||||
setBikTofk(bikTofk);
|
||||
setCorrespondentBankAccountTofk(correspondentBankAccountTofk);
|
||||
setNameTofk(nameTofk);
|
||||
setNsiOrganizationId(nsiOrganizationId);
|
||||
setDocHandle(docHandle);
|
||||
setDivisionType(divisionType);
|
||||
setTnsDepartmentId(tnsDepartmentId);
|
||||
setEnabled(enabled);
|
||||
setParent(parent);
|
||||
setRegionId(regionId);
|
||||
setManaged(managed);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,216 @@
|
|||
/*
|
||||
* This file is generated by jOOQ.
|
||||
*/
|
||||
package ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.records;
|
||||
|
||||
|
||||
import java.sql.Timestamp;
|
||||
|
||||
import org.jooq.Record1;
|
||||
import org.jooq.impl.UpdatableRecordImpl;
|
||||
|
||||
import ru.micord.webbpm.ervu.business_metrics.db_beans.idm_reconcile.tables.Role;
|
||||
|
||||
|
||||
/**
|
||||
* This class is generated by jOOQ.
|
||||
*/
|
||||
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
|
||||
public class RoleRecord extends UpdatableRecordImpl<RoleRecord> {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.id</code>.
|
||||
*/
|
||||
public void setId(String value) {
|
||||
set(0, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.id</code>.
|
||||
*/
|
||||
public String getId() {
|
||||
return (String) get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.version</code>.
|
||||
*/
|
||||
public void setVersion(Integer value) {
|
||||
set(1, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.version</code>.
|
||||
*/
|
||||
public Integer getVersion() {
|
||||
return (Integer) get(1);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.modified</code>.
|
||||
*/
|
||||
public void setModified(Timestamp value) {
|
||||
set(2, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.modified</code>.
|
||||
*/
|
||||
public Timestamp getModified() {
|
||||
return (Timestamp) get(2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.schema</code>.
|
||||
*/
|
||||
public void setSchema(String value) {
|
||||
set(3, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.schema</code>.
|
||||
*/
|
||||
public String getSchema() {
|
||||
return (String) get(3);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.name</code>.
|
||||
*/
|
||||
public void setName(String value) {
|
||||
set(4, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.name</code>.
|
||||
*/
|
||||
public String getName() {
|
||||
return (String) get(4);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.shortname</code>.
|
||||
*/
|
||||
public void setShortname(String value) {
|
||||
set(5, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.shortname</code>.
|
||||
*/
|
||||
public String getShortname() {
|
||||
return (String) get(5);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.display_name</code>.
|
||||
*/
|
||||
public void setDisplayName(String value) {
|
||||
set(6, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.display_name</code>.
|
||||
*/
|
||||
public String getDisplayName() {
|
||||
return (String) get(6);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.sessions_limit</code>.
|
||||
*/
|
||||
public void setSessionsLimit(Integer value) {
|
||||
set(7, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.sessions_limit</code>.
|
||||
*/
|
||||
public Integer getSessionsLimit() {
|
||||
return (Integer) get(7);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.ervu_role</code>.
|
||||
*/
|
||||
public void setErvuRole(Boolean value) {
|
||||
set(8, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.ervu_role</code>.
|
||||
*/
|
||||
public Boolean getErvuRole() {
|
||||
return (Boolean) get(8);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.imported</code>.
|
||||
*/
|
||||
public void setImported(Integer value) {
|
||||
set(9, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.imported</code>.
|
||||
*/
|
||||
public Integer getImported() {
|
||||
return (Integer) get(9);
|
||||
}
|
||||
|
||||
/**
|
||||
* Setter for <code>idm_reconcile.role.description</code>.
|
||||
*/
|
||||
public void setDescription(String value) {
|
||||
set(10, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Getter for <code>idm_reconcile.role.description</code>.
|
||||
*/
|
||||
public String getDescription() {
|
||||
return (String) get(10);
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Primary key information
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
@Override
|
||||
public Record1<String> key() {
|
||||
return (Record1) super.key();
|
||||
}
|
||||
|
||||
// -------------------------------------------------------------------------
|
||||
// Constructors
|
||||
// -------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Create a detached RoleRecord
|
||||
*/
|
||||
public RoleRecord() {
|
||||
super(Role.ROLE);
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a detached, initialised RoleRecord
|
||||
*/
|
||||
public RoleRecord(String id, Integer version, Timestamp modified, String schema, String name, String shortname, String displayName, Integer sessionsLimit, Boolean ervuRole, Integer imported, String description) {
|
||||
super(Role.ROLE);
|
||||
|
||||
setId(id);
|
||||
setVersion(version);
|
||||
setModified(modified);
|
||||
setSchema(schema);
|
||||
setName(name);
|
||||
setShortname(shortname);
|
||||
setDisplayName(displayName);
|
||||
setSessionsLimit(sessionsLimit);
|
||||
setErvuRole(ervuRole);
|
||||
setImported(imported);
|
||||
setDescription(description);
|
||||
resetChangedOnNotNull();
|
||||
}
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ public class CitizenAppeals extends TableImpl<CitizenAppealsRecord> {
|
|||
* The column <code>metrics.citizen_appeals.average_response_time</code>.
|
||||
* Средний срок ответа
|
||||
*/
|
||||
public final TableField<CitizenAppealsRecord, BigDecimal> AVERAGE_RESPONSE_TIME = createField(DSL.name("average_response_time"), SQLDataType.NUMERIC(10, 2).nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.NUMERIC)), this, "Средний срок ответа");
|
||||
public final TableField<CitizenAppealsRecord, BigDecimal> AVERAGE_RESPONSE_TIME = createField(DSL.name("average_response_time"), SQLDataType.NUMERIC(10, 1).nullable(false).defaultValue(DSL.field(DSL.raw("0"), SQLDataType.NUMERIC)), this, "Средний срок ответа");
|
||||
|
||||
private CitizenAppeals(Name alias, Table<CitizenAppealsRecord> aliased) {
|
||||
this(alias, aliased, (Field<?>[]) null, null);
|
||||
|
|
|
|||
|
|
@ -0,0 +1,131 @@
|
|||
<?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="a.kalimullin">
|
||||
<comment>create schema idm_reconcile</comment>
|
||||
<sql>
|
||||
CREATE SCHEMA IF NOT EXISTS idm_reconcile;
|
||||
ALTER SCHEMA idm_reconcile OWNER TO ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0002" author="a.kalimullin">
|
||||
<comment>creat table domain</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS idm_reconcile.domain (
|
||||
id varchar(255) PRIMARY KEY,
|
||||
version int NOT NULL,
|
||||
modified timestamp without time zone,
|
||||
schema varchar(255) NOT NULL,
|
||||
name varchar(255),
|
||||
shortname varchar(255),
|
||||
fullname varchar(255),
|
||||
dns varchar(255),
|
||||
email varchar(255),
|
||||
phone varchar(255),
|
||||
address varchar(1024),
|
||||
postal_address varchar(1024),
|
||||
address_id varchar(255),
|
||||
postal_address_id varchar(255),
|
||||
military_code varchar(255),
|
||||
timezone varchar(255),
|
||||
reports_enabled boolean,
|
||||
inn varchar(255),
|
||||
leg varchar(255),
|
||||
ogrn varchar(255),
|
||||
region varchar(255),
|
||||
epgu_id varchar(255),
|
||||
type varchar(255),
|
||||
esia_employee_authorization boolean,
|
||||
default_s3_bucket varchar(255),
|
||||
opf varchar(255),
|
||||
kpp varchar(255),
|
||||
checking_account varchar(255),
|
||||
bik varchar(255),
|
||||
bank_name varchar(255),
|
||||
bank_correspondent_account varchar(255),
|
||||
oktmo varchar(255),
|
||||
okato varchar(255),
|
||||
gov_registration_date varchar(255),
|
||||
gov_organization_type varchar(255),
|
||||
alias_key varchar(255),
|
||||
pass_key varchar(255),
|
||||
certificate varchar(2048),
|
||||
account_number_tofk varchar(255),
|
||||
bik_tofk varchar(255),
|
||||
correspondent_bank_account_tofk varchar(255),
|
||||
name_tofk varchar(255),
|
||||
nsi_organization_id varchar(255),
|
||||
doc_handle varchar(255),
|
||||
division_type varchar(255),
|
||||
tns_department_id varchar(255),
|
||||
enabled boolean,
|
||||
parent varchar(255),
|
||||
region_id varchar(255),
|
||||
managed varchar(255)
|
||||
);
|
||||
|
||||
ALTER TABLE idm_reconcile.domain OWNER TO ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0003" author="a.kalimullin">
|
||||
<comment>create table role</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS idm_reconcile.role (
|
||||
id varchar(255) PRIMARY KEY,
|
||||
version int NOT NULL,
|
||||
modified timestamp without time zone,
|
||||
schema varchar(255) NOT NULL,
|
||||
name varchar(255),
|
||||
shortname varchar(255),
|
||||
display_name varchar(255),
|
||||
sessions_limit int,
|
||||
ervu_role boolean,
|
||||
imported int,
|
||||
description TEXT
|
||||
);
|
||||
|
||||
ALTER TABLE idm_reconcile.role OWNER TO ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0004" author="a.kalimulin">
|
||||
<comment>create table account and account_role</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS idm_reconcile.account (
|
||||
id varchar(36) PRIMARY KEY,
|
||||
version int NOT NULL,
|
||||
modified timestamp without time zone,
|
||||
schema varchar(100) NOT NULL,
|
||||
start varchar(50),
|
||||
finish varchar(50),
|
||||
enabled boolean NOT NULL DEFAULT TRUE,
|
||||
position varchar(255),
|
||||
fio varchar(255),
|
||||
work_mail varchar(255),
|
||||
esia_account boolean NOT NULL DEFAULT FALSE,
|
||||
domain_id varchar(36)
|
||||
);
|
||||
|
||||
ALTER TABLE idm_reconcile.account OWNER TO ervu_business_metrics;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS idm_reconcile.account_role (
|
||||
account_id varchar(36) NOT NULL,
|
||||
role_id varchar(36) NOT NULL,
|
||||
|
||||
CONSTRAINT pk_account_role PRIMARY KEY (account_id, role_id),
|
||||
|
||||
CONSTRAINT fk_account_role_account FOREIGN KEY (account_id)
|
||||
REFERENCES idm_reconcile.account (id)
|
||||
ON DELETE CASCADE
|
||||
);
|
||||
|
||||
ALTER TABLE idm_reconcile.account_role OWNER TO ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
|
||||
|
||||
|
||||
|
||||
<changeSet id="0001" author="saliakhov">
|
||||
<comment>CREATE VIEW</comment>
|
||||
<sql>
|
||||
CREATE OR REPLACE VIEW actualization.view_app_reason
|
||||
AS SELECT app_reason.app_reason_id,
|
||||
COALESCE(round(app_reason.count_place_of_stay::numeric * 100::numeric / NULLIF((app_reason.count_place_of_stay + app_reason.count_work + app_reason.count_place_of_study + app_reason.count_family_status + app_reason.count_education+count_education + app_reason.count_renaming)::numeric, 0::numeric)), 0::numeric) AS percent_place_of_stay,
|
||||
COALESCE(round(app_reason.count_work::numeric * 100::numeric / NULLIF((app_reason.count_place_of_stay + app_reason.count_work + app_reason.count_place_of_study + app_reason.count_family_status + app_reason.count_education+count_education + app_reason.count_renaming)::numeric, 0::numeric)), 0::numeric) AS percent_work,
|
||||
COALESCE(round(app_reason.count_place_of_study::numeric * 100::numeric / NULLIF((app_reason.count_place_of_stay + app_reason.count_work + app_reason.count_place_of_study + app_reason.count_family_status + app_reason.count_education+count_education + app_reason.count_renaming)::numeric, 0::numeric)), 0::numeric) AS percent_place_of_study,
|
||||
COALESCE(round(app_reason.count_family_status::numeric * 100::numeric / NULLIF((app_reason.count_place_of_stay + app_reason.count_work + app_reason.count_place_of_study + app_reason.count_family_status + app_reason.count_education+count_education + app_reason.count_renaming)::numeric, 0::numeric)), 0::numeric) AS percent_family_status,
|
||||
COALESCE(round(app_reason.count_education::numeric * 100::numeric / NULLIF((app_reason.count_place_of_stay + app_reason.count_work + app_reason.count_place_of_study + app_reason.count_family_status + app_reason.count_education+count_education + app_reason.count_renaming)::numeric, 0::numeric)), 0::numeric) AS percent_education,
|
||||
COALESCE(round(app_reason.count_renaming::numeric * 100::numeric / NULLIF((app_reason.count_place_of_stay + app_reason.count_work + app_reason.count_place_of_study + app_reason.count_family_status + app_reason.count_education+count_education + app_reason.count_renaming)::numeric, 0::numeric)), 0::numeric) AS percent_renaming
|
||||
FROM actualization.app_reason;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0002" author="saliakhov">
|
||||
<comment>EDIT TABLE</comment>
|
||||
<sql>
|
||||
ALTER TABLE metrics.citizen_appeals
|
||||
ALTER COLUMN average_response_time TYPE numeric(10,1);
|
||||
</sql>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
@ -0,0 +1,54 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<databaseChangeLog
|
||||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9
|
||||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd">
|
||||
|
||||
|
||||
|
||||
<changeSet id="0001" author="saliakhov">
|
||||
<comment>ALTER TABLE</comment>
|
||||
<sql>
|
||||
ALTER TABLE IF EXISTS admin_indicators.user_analysis
|
||||
ADD COLUMN IF NOT EXISTS count_responsible_zi bigint NOT NULL DEFAULT 0;
|
||||
COMMENT ON COLUMN admin_indicators.user_analysis.count_responsible_zi
|
||||
IS 'Ответственный за ЗИ';
|
||||
|
||||
|
||||
ALTER TABLE IF EXISTS admin_indicators.user_analysis
|
||||
ADD COLUMN IF NOT EXISTS count_responsible_zi_svk bigint NOT NULL DEFAULT 0;
|
||||
COMMENT ON COLUMN admin_indicators.user_analysis.count_responsible_zi_svk
|
||||
IS 'Ответственный за ЗИ СВК';
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
<changeSet id="0002" author="saliakhov">
|
||||
<comment>CREATE VIEW</comment>
|
||||
<sql>
|
||||
DROP VIEW admin_indicators.view_user_analysis;
|
||||
|
||||
CREATE OR REPLACE VIEW admin_indicators.view_user_analysis
|
||||
AS
|
||||
SELECT user_analysis.user_analysis_id,
|
||||
user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition AS count_all,
|
||||
COALESCE(round(user_analysis.count_administrator_is::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_administrator_is,
|
||||
COALESCE(round(user_analysis.count_administrator_poib::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_administrator_poib,
|
||||
COALESCE(round(user_analysis.count_employee_gomy::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_employee_gomy,
|
||||
COALESCE(round(user_analysis.count_observer_gomy::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_bserver_gomy,
|
||||
COALESCE(round(user_analysis.count_supervisor_gomy::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_supervisor_gomy,
|
||||
COALESCE(round(user_analysis.count_military_commissar::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_military_commissar,
|
||||
COALESCE(round(user_analysis.count_specialist_statements::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_specialist_statements,
|
||||
COALESCE(round(user_analysis.count_observer_vo::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_observer_vo,
|
||||
COALESCE(round(user_analysis.count_observer_vk::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_observer_vk,
|
||||
COALESCE(round(user_analysis.count_responsible_zi::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_responsible_zi,
|
||||
COALESCE(round(user_analysis.count_specialist_military_accounting::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_specialist_military_accounting,
|
||||
COALESCE(round(user_analysis.count_specialist_acquisition::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_specialist_acquisition,
|
||||
COALESCE(round(user_analysis.count_responsible_zi_svk::numeric * 100::numeric / NULLIF((user_analysis.count_administrator_is + user_analysis.count_administrator_poib + user_analysis.count_employee_gomy + user_analysis.count_observer_gomy + user_analysis.count_supervisor_gomy + user_analysis.count_military_commissar + user_analysis.count_specialist_statements + user_analysis.count_observer_vo + user_analysis.count_observer_vk + user_analysis.count_responsible_zi_svk + user_analysis.count_responsible_zi + user_analysis.count_specialist_military_accounting + user_analysis.count_specialist_acquisition)::numeric, 0::numeric)), 0::numeric) AS percent_responsible_zi_svk
|
||||
FROM admin_indicators.user_analysis;
|
||||
|
||||
ALTER TABLE admin_indicators.view_user_analysis
|
||||
OWNER TO ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
<?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="hairullin">
|
||||
<comment>ALTER VIEW registration_change_address.view_personal_info_stat</comment>
|
||||
<sql>
|
||||
CREATE OR REPLACE VIEW registration_change_address.view_personal_info_stat
|
||||
AS
|
||||
SELECT personal_info_stat.personal_info_stat_id,
|
||||
personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send + personal_info_stat.count_unloaded AS count_all,
|
||||
COALESCE(round(personal_info_stat.count_refused::numeric * 100::numeric / NULLIF((personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send + personal_info_stat.count_unloaded)::numeric, 0::numeric)), 0::numeric) AS percent_refused,
|
||||
COALESCE(round(personal_info_stat.count_unloaded::numeric * 100::numeric / NULLIF((personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send + personal_info_stat.count_unloaded)::numeric, 0::numeric)), 0::numeric) AS percent_unloaded,
|
||||
COALESCE(round(personal_info_stat.count_accepted_to_send::numeric * 100::numeric / NULLIF((personal_info_stat.count_refused + personal_info_stat.count_accepted_to_send + personal_info_stat.count_unloaded)::numeric, 0::numeric)), 0::numeric) AS percent_accepted_to_send
|
||||
FROM registration_change_address.personal_info_stat;
|
||||
|
||||
ALTER TABLE registration_change_address.view_personal_info_stat
|
||||
OWNER TO ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
|
||||
|
||||
<changeSet id="0002" author="hairullin">
|
||||
<comment>CREATE TABLE idm_reconcile.account_blocked</comment>
|
||||
<sql>
|
||||
CREATE TABLE IF NOT EXISTS idm_reconcile.account_blocked
|
||||
(
|
||||
account_id character varying(36) COLLATE pg_catalog."default" NOT NULL,
|
||||
blocked boolean default 'false',
|
||||
CONSTRAINT account_blocked_pkey PRIMARY KEY (account_id)
|
||||
)
|
||||
TABLESPACE pg_default;
|
||||
ALTER TABLE IF EXISTS idm_reconcile.account_blocked
|
||||
OWNER to ervu_business_metrics;
|
||||
</sql>
|
||||
</changeSet>
|
||||
</databaseChangeLog>
|
||||
|
|
@ -27,5 +27,10 @@
|
|||
<include file="20250327-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250402-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250412-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250418-SUPPORT-9122_add_idm.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250423-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250505-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
<include file="20250507-db_changes.xml" relativeToChangelogFile="true"/>
|
||||
|
||||
|
||||
</databaseChangeLog>
|
||||
|
|
@ -5,3 +5,31 @@ DB_APP_PASSWORD=ervu_business_metrics
|
|||
DB_APP_HOST=10.10.31.119
|
||||
DB_APP_PORT=5432
|
||||
DB_APP_NAME=ervu-dashboard-recr
|
||||
|
||||
#Kafka
|
||||
KAFKA_HOSTS=10.10.31.11:32609
|
||||
KAFKA_AUTH_SEC_PROTO=SASL_PLAINTEXT
|
||||
KAFKA_AUTH_SASL_MECH=SCRAM-SHA-256
|
||||
KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.scram.ScramLoginModule
|
||||
KAFKA_USER=user1
|
||||
KAFKA_PASS=Blfi9d2OFG
|
||||
KAFKA_DOMAIN_GROUP_ID=ervu-business-metrics-backend-domain
|
||||
KAFKA_ROLE_GROUP_ID=ervu-business-metrics-backend-role
|
||||
KAFKA_ACCOUNT_GROUP_ID=ervu-business-metrics-backend-account
|
||||
KAFKA_ROLE_RECONCILIATION=idmv2.role.reconciliation
|
||||
KAFKA_DOMAIN_RECONCILIATION=idmv2.domain.reconciliation
|
||||
KAFKA_ACCOUNT_RECONCILIATION=idmv2.account.reconciliation
|
||||
KAFKA_DOMAIN_UPDATED_GROUP_ID=ervu-business-metrics-backend-domain-updated
|
||||
KAFKA_DOMAIN_UPDATED=idmv2.domain.updated
|
||||
KAFKA_DOMAIN_CREATED_GROUP_ID=ervu-business-metrics-backend-domain-created
|
||||
KAFKA_DOMAIN_CREATED=idmv2.domain.created
|
||||
KAFKA_ACCOUNT_UPDATED_GROUP_ID=ervu-business-metrics-backend-account-updated
|
||||
KAFKA_ACCOUNT_UPDATED=idmv2.account.updated
|
||||
KAFKA_ACCOUNT_CREATED_GROUP_ID=ervu-business-metrics-backend-account-created
|
||||
KAFKA_ACCOUNT_CREATED=idmv2.account.created
|
||||
KAFKA_DOMAIN_DELETED_GROUP_ID=ervu-business-metrics-backend-domain-deleted
|
||||
KAFKA_DOMAIN_DELETED=idmv2.domain.deleted
|
||||
KAFKA_ACCOUNT_DELETED_GROUP_ID=ervu-business-metrics-backend-account-deleted
|
||||
KAFKA_ACCOUNT_DELETED=idmv2.account.deleted
|
||||
ERVU_IDM_RECONCILE_ENABLED=false
|
||||
ERVU_IDM_URL=http://idm
|
||||
|
|
@ -475,6 +475,15 @@
|
|||
.webbpm.ervu_business_metrics .graph-legend-right .text-wrap text {
|
||||
position: relative;
|
||||
}
|
||||
.webbpm.ervu_business_metrics .graph-legend-right .text-wrap text.level-1 {
|
||||
padding-left: var(--level-1);
|
||||
}
|
||||
.webbpm.ervu_business_metrics .graph-legend-right .text-wrap text.level-2 {
|
||||
padding-left: var(--level-2);
|
||||
}
|
||||
.webbpm.ervu_business_metrics .graph-legend-right .text-wrap text.level-3 {
|
||||
padding-left: var(--level-3);
|
||||
}
|
||||
.webbpm.ervu_business_metrics .graph-legend-right .text-wrap text > .form-group > div:last-of-type {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
|
|
@ -482,6 +491,7 @@
|
|||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.webbpm.ervu_business_metrics .graph-text-hidden {
|
||||
height: calc(var(--size-text-primary)*1.5);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -42,6 +42,9 @@
|
|||
--indent-mini: 8px;
|
||||
--indent-xmini: 4px;
|
||||
|
||||
--level-1: 24px;
|
||||
--level-2: calc(2*var(--level-1));
|
||||
--level-3: calc(3*var(--level-1));
|
||||
--h-header: 68px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
export enum TreeValuesCacheStrategy {
|
||||
BY_PAGE_OBJECT_ID = "BY_PAGE_OBJECT_ID",
|
||||
BY_OBJECT_NAME = "BY_OBJECT_NAME",
|
||||
BY_CUSTOM_NAME = "BY_CUSTOM_NAME",
|
||||
}
|
||||
|
|
@ -2,19 +2,29 @@ import {
|
|||
ChangeDetectionStrategy,
|
||||
ChangeDetectorRef,
|
||||
Component,
|
||||
ElementRef
|
||||
ElementRef,
|
||||
Input
|
||||
} from "@angular/core";
|
||||
import {
|
||||
AdvancedProperty,
|
||||
Event,
|
||||
InputControl,
|
||||
UserService,
|
||||
Visible
|
||||
LocalStorageService,
|
||||
NotNull,
|
||||
PageContextHolder,
|
||||
PageObjectUtils,
|
||||
TaskParamsProvider,
|
||||
Visible,
|
||||
WebbpmStorage
|
||||
} from "@webbpm/base-package";
|
||||
|
||||
import {TreeItemDto} from "../../generated/component/model/TreeItemDto";
|
||||
import {TreeItemRpcService} from "../../generated/component/rpc/TreeItemRpcService";
|
||||
import {DropdownTreeviewSelectI18n} from "../external/ngx-treeview/dropdown-treeview-select/dropdown-treeview-select-i18n";
|
||||
import {
|
||||
DropdownTreeviewSelectI18n
|
||||
} from "../external/ngx-treeview/dropdown-treeview-select/dropdown-treeview-select-i18n";
|
||||
import {TreeItem, TreeviewItem} from "ngx-treeview";
|
||||
import {TreeValuesCacheStrategy} from "../enum/TreeValuesCacheStrategy";
|
||||
|
||||
@Component({
|
||||
moduleId: module.id,
|
||||
|
|
@ -26,44 +36,118 @@ import {TreeItem, TreeviewItem} from "ngx-treeview";
|
|||
changeDetection: ChangeDetectionStrategy.OnPush
|
||||
})
|
||||
export class DropdownTreeViewComponent extends InputControl {
|
||||
@Input()
|
||||
@AdvancedProperty()
|
||||
public treeValuesCacheStrategy: TreeValuesCacheStrategy;
|
||||
@Visible("treeValuesCacheStrategy == TreeValuesCacheStrategy.BY_CUSTOM_NAME")
|
||||
@NotNull("treeValuesCacheStrategy == TreeValuesCacheStrategy.BY_CUSTOM_NAME")
|
||||
@AdvancedProperty()
|
||||
public treeValuesCustomName: string;
|
||||
@Visible("false")
|
||||
public cachedValue: TreeItemDto;
|
||||
|
||||
public collapseLevel: number;
|
||||
public maxHeight: number;
|
||||
@Visible("false")
|
||||
public items: TreeviewItem[];
|
||||
@Visible("false")
|
||||
public value: any;
|
||||
public value: TreeItemDto;
|
||||
|
||||
@Visible("false")
|
||||
public valueChangeEvent: Event<TreeItemDto> = new Event<TreeItemDto>();
|
||||
|
||||
private rpcService: TreeItemRpcService;
|
||||
|
||||
constructor(el: ElementRef, cd: ChangeDetectorRef,
|
||||
private i18n: DropdownTreeviewSelectI18n) {
|
||||
private localStorageService: LocalStorageService;
|
||||
private taskParamsProvider: TaskParamsProvider;
|
||||
private pageContextHolder: PageContextHolder;
|
||||
private webbpmStorage: WebbpmStorage;
|
||||
private storageKey: string;
|
||||
private rootValues: TreeItemDto[];
|
||||
|
||||
constructor(el: ElementRef, cd: ChangeDetectorRef, private i18n: DropdownTreeviewSelectI18n) {
|
||||
super(el, cd);
|
||||
}
|
||||
|
||||
public initialize() {
|
||||
super.initialize();
|
||||
this.rpcService = this.getScript(TreeItemRpcService);
|
||||
|
||||
this.taskParamsProvider = this.injector.get(TaskParamsProvider);
|
||||
this.localStorageService = this.injector.get(LocalStorageService);
|
||||
this.pageContextHolder = this.injector.get(PageContextHolder);
|
||||
this.webbpmStorage =
|
||||
this.getTreeValuesStorage(this.treeValuesCacheStrategy, this.treeValuesCustomName);
|
||||
this.cachedValue = this.getCachedValue();
|
||||
this.loadTreeItems();
|
||||
}
|
||||
|
||||
private getTreeValuesStorage(treeValuesCacheStrategy: TreeValuesCacheStrategy,
|
||||
customKeyName: string) {
|
||||
if (!treeValuesCacheStrategy) {
|
||||
return null;
|
||||
}
|
||||
switch (treeValuesCacheStrategy) {
|
||||
case TreeValuesCacheStrategy.BY_PAGE_OBJECT_ID:
|
||||
this.storageKey = PageObjectUtils.getPageObjectKey(this);
|
||||
return this.readWebbpmStorage(this.storageKey);
|
||||
case TreeValuesCacheStrategy.BY_OBJECT_NAME:
|
||||
this.storageKey = this.getObjectName();
|
||||
return this.readWebbpmStorage(this.storageKey);
|
||||
case TreeValuesCacheStrategy.BY_CUSTOM_NAME:
|
||||
this.storageKey = customKeyName;
|
||||
return this.readWebbpmStorage(this.storageKey);
|
||||
default:
|
||||
throw new Error("Unknown tree values storage type = " + treeValuesCacheStrategy)
|
||||
}
|
||||
}
|
||||
|
||||
readWebbpmStorage(treeStorageKey: string) {
|
||||
if (this.pageContextHolder.isPageInBpmnContext()) {
|
||||
treeStorageKey = treeStorageKey + "$" + this.taskParamsProvider.processInstanceId
|
||||
}
|
||||
return this.localStorageService.readTemporalWebbpmStorage(treeStorageKey);
|
||||
}
|
||||
|
||||
@Visible()
|
||||
public loadTreeItems(): void {
|
||||
this.rpcService.loadTreeData()
|
||||
.then((res: TreeItemDto[]) => {
|
||||
this.items = res.map(value => new TreeviewItem(this.createTreeItem(value)));
|
||||
this.rootValues = res;
|
||||
const rootItem = this.items[0];
|
||||
this.i18n.selectedItem = rootItem;
|
||||
this.value = rootItem ? rootItem.value : rootItem;
|
||||
if (this.cachedValue) {
|
||||
const matchedItem = this.findTreeItemByValue(this.items, this.cachedValue);
|
||||
if (matchedItem) {
|
||||
this.i18n.selectedItem = matchedItem;
|
||||
this.value = matchedItem.value;
|
||||
}
|
||||
}
|
||||
else {
|
||||
this.i18n.selectedItem = rootItem;
|
||||
this.value = rootItem.value;
|
||||
}
|
||||
this.doCollapseLevel();
|
||||
this.onValueChange(this.value);
|
||||
this.cd.markForCheck();
|
||||
});
|
||||
}
|
||||
|
||||
private findTreeItemByValue(rootItems: TreeviewItem[], valueToFind: any): TreeviewItem | null {
|
||||
for (const item of rootItems) {
|
||||
if (JSON.stringify(item.value) === JSON.stringify(valueToFind)) {
|
||||
return item;
|
||||
}
|
||||
if (item.children) {
|
||||
const found = this.findTreeItemByValue(item.children, valueToFind);
|
||||
if (found) {
|
||||
return found;
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
private createTreeItem(treeItemDto: TreeItemDto): TreeItem {
|
||||
let treeItem: TreeItem;
|
||||
if (treeItemDto) {
|
||||
|
|
@ -84,6 +168,7 @@ export class DropdownTreeViewComponent extends InputControl {
|
|||
}
|
||||
|
||||
public onValueChange($event: any) {
|
||||
this.setCachedValue(this.value);
|
||||
this.valueChangeEvent.trigger($event);
|
||||
this.applyListener(this.changeListeners);
|
||||
}
|
||||
|
|
@ -113,20 +198,51 @@ export class DropdownTreeViewComponent extends InputControl {
|
|||
}
|
||||
}
|
||||
|
||||
protected setCachedValue(newValue: TreeItemDto): void {
|
||||
if (this.webbpmStorage) {
|
||||
this.webbpmStorage.put(this.storageKey, newValue);
|
||||
}
|
||||
}
|
||||
|
||||
protected getCachedValue(): TreeItemDto {
|
||||
if (this.webbpmStorage) {
|
||||
return this.webbpmStorage.get(this.storageKey);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
getPresentationValue(): string | number | boolean {
|
||||
return this.value;
|
||||
return this.value ? this.value.label : '';
|
||||
}
|
||||
|
||||
getValue(): any {
|
||||
return this.value;
|
||||
return this.value ? this.value.id : this.value;
|
||||
}
|
||||
|
||||
getValueAsModel(): any {
|
||||
getValueAsModel(): TreeItemDto {
|
||||
return this.value ? this.value : null;
|
||||
}
|
||||
|
||||
setValue(value: any): any {
|
||||
this.value = value;
|
||||
setValue(value: any): void {
|
||||
const foundValue: TreeItemDto = this.findValueInRootsById(value);
|
||||
if (foundValue) {
|
||||
this.value = foundValue;
|
||||
this.onValueChange(this.value);
|
||||
}
|
||||
}
|
||||
|
||||
private findValueInRootsById(id: any): TreeItemDto {
|
||||
let searchArray: TreeItemDto[] = this.rootValues.slice();
|
||||
while (searchArray.length > 0) {
|
||||
const current = searchArray.shift();
|
||||
if (current.id == id) {
|
||||
return current;
|
||||
}
|
||||
if (current.children && current.children.length > 0) {
|
||||
searchArray.push(...current.children);
|
||||
}
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
onChange() {
|
||||
|
|
@ -134,6 +250,11 @@ export class DropdownTreeViewComponent extends InputControl {
|
|||
this.valueChangeEvent.trigger(this.value);
|
||||
}
|
||||
|
||||
addChangeListener(onChangeFunction: Function): void {
|
||||
super.addChangeListener(onChangeFunction);
|
||||
onChangeFunction();
|
||||
}
|
||||
|
||||
subscribeToModelChange() {
|
||||
//empty because there is no ngModel here
|
||||
}
|
||||
|
|
|
|||
|
|
@ -241,6 +241,13 @@ export class ErvuChartV2 extends Control implements Filterable {
|
|||
}
|
||||
this.cd.markForCheck();
|
||||
}
|
||||
},
|
||||
filter: tooltipItem => {
|
||||
const type = tooltipItem.chart.config.type;
|
||||
if (type == 'doughnut' || type == 'pie') {
|
||||
return tooltipItem.label.trim().length !== 0;
|
||||
}
|
||||
return tooltipItem.dataset.label.trim().length !== 0;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
23
pom.xml
23
pom.xml
|
|
@ -15,6 +15,7 @@
|
|||
<connection>scm:git:git://gitserver/webbpm/webbpm-components.git</connection>
|
||||
</scm>
|
||||
<properties>
|
||||
<spring-kafka.version>2.9.13</spring-kafka.version>
|
||||
<org.bouncycastle.version>1.60</org.bouncycastle.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<enable.version.in.url>false</enable.version.in.url>
|
||||
|
|
@ -285,6 +286,28 @@
|
|||
<artifactId>log4j-web</artifactId>
|
||||
<version>2.23.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.springframework.kafka</groupId>
|
||||
<artifactId>spring-kafka</artifactId>
|
||||
<version>${spring-kafka.version}</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.apache.kafka</groupId>
|
||||
<artifactId>kafka-clients</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.kafka</groupId>
|
||||
<artifactId>kafka-clients</artifactId>
|
||||
<version>3.9.0</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<groupId>org.xerial.snappy</groupId>
|
||||
<artifactId>snappy-java</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<repositories>
|
||||
|
|
|
|||
|
|
@ -222,6 +222,18 @@
|
|||
</complex>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCacheStrategy</key>
|
||||
<value>
|
||||
<simple>"BY_CUSTOM_NAME"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCustomName</key>
|
||||
<value>
|
||||
<simple>"treeSelectionCache"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="bba43bd6-32d0-4039-bd0c-2d70871a2649">
|
||||
|
|
@ -1944,27 +1956,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="c4cba42a-527e-42b9-9a19-9a50670e3815" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2393,27 +2386,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="bacf1e08-1bdc-4fda-a137-ec3017449989" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -123,6 +123,18 @@
|
|||
</complex>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCacheStrategy</key>
|
||||
<value>
|
||||
<simple>"BY_CUSTOM_NAME"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCustomName</key>
|
||||
<value>
|
||||
<simple>"treeSelectionCache"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="bba43bd6-32d0-4039-bd0c-2d70871a2649">
|
||||
|
|
@ -1969,27 +1981,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="8b87ae57-523d-44ff-8dcb-2ad808fc51ab" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2381,27 +2374,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="8b7a578b-4d12-4ee1-b971-15dd202fc7f5" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3328,27 +3302,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="3dcfee11-1163-4db1-bdce-c60436d33152" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3538,27 +3493,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="9cfd974c-f75e-4b73-af91-07b358b55d63" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3634,27 +3570,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="b40d208f-a6e7-4452-b2bb-c58fa79f2c06" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3737,27 +3654,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="4a5edb2f-7de1-46ff-b8eb-5b9efa578ca6" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3840,27 +3738,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="39e8c4d6-7bdb-489a-b4c5-b526312ca912" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3925,27 +3804,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="1a4aea18-e9be-4f4b-8af7-c090ff15151d" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4016,27 +3876,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="a34637d1-3356-4a65-bb43-bafec40d5253" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
|
|||
|
|
@ -129,6 +129,18 @@
|
|||
</complex>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCacheStrategy</key>
|
||||
<value>
|
||||
<simple>"BY_CUSTOM_NAME"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCustomName</key>
|
||||
<value>
|
||||
<simple>"treeSelectionCache"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>visible</key>
|
||||
<value>
|
||||
|
|
@ -1528,6 +1540,7 @@
|
|||
<componentRootId>e7d99292-f2d5-4c52-a9db-e4e63e768527</componentRootId>
|
||||
<name>ВК основная информация раздела Конвертация</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f"/>
|
||||
<scripts id="72befe90-1915-483f-b88c-d1ec5d4bdc8e"/>
|
||||
|
|
@ -2459,27 +2472,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="f090bd00-300f-44cd-8ea5-8c637c46a678" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2715,28 +2709,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="c640e241-dbe2-403c-91a6-db66b961838a" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
<item id="2ad98997-ce52-4313-805a-449ca700bfd7" removed="true"/>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2820,27 +2794,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="ff4e9af3-abec-4b74-809f-e091da020216" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2936,27 +2891,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="b196589f-981d-4c52-b5d6-6eccbdee9bfc" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3030,27 +2966,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="07458c2e-33a4-4df0-949b-6cedadd77658" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3951,27 +3868,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="baa61e71-82e6-4949-aa39-5f5d18cfe476" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4151,27 +4049,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="28e4412b-4c37-4f38-ac6a-5942bd779cd1" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4249,27 +4128,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="d38d5020-a918-4e3c-a48d-8674eccb4956" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4368,27 +4228,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="829443a6-ebfa-4feb-a5c5-4e3db2a7700c" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4461,27 +4302,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="453f4558-f854-4685-aca4-8d58505e5777" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4646,6 +4468,7 @@
|
|||
<componentRootId>3447ab1c-24c9-435a-9e23-1e0ab39404ab</componentRootId>
|
||||
<name>ГК второй ряд показателей</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -5481,27 +5304,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="a504ea7f-56c0-481e-ad5c-5ec970493f6a" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -5933,7 +5737,6 @@
|
|||
<componentRootId>674c1487-8d74-433c-9cb4-a2f4695625dd</componentRootId>
|
||||
<name>ВК Результаты конвертации</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -6886,27 +6689,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="68da5dc4-f0bd-4caa-ab1b-1bd7e64a9f86" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6978,27 +6762,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="d387e467-1e47-4912-8801-2e033b7e46c6" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7070,27 +6835,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="53e4baa5-163b-4b00-a66d-c439e4294d6f" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7162,27 +6908,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="4efe876e-0b8a-472e-95e2-a6dd5bb16947" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7443,7 +7170,6 @@
|
|||
<componentRootId>ea4d0df5-9e4f-48b2-bf91-3a72d3a90640</componentRootId>
|
||||
<name>ГК третий ряд показателей</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -9624,27 +9350,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="4836f626-3529-4690-99f6-3dc70ff78f4f" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -9716,27 +9423,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="bae14269-a141-4d02-81d3-052e07b75ae1" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -9808,27 +9496,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="9925ca98-d016-402d-915a-f2e2498ef82e" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -9900,27 +9569,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="9b883e17-5df5-4fa7-ade4-75ed95a9f576" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -9992,27 +9642,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="f90e9104-8876-44df-80f8-a50c926231a5" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -10084,27 +9715,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="997b5e8e-d78d-44c6-bcdf-89e20a5aa272" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -10176,27 +9788,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="f45099ba-0cf7-4f71-b756-1340f5a255aa" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -10268,27 +9861,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="3e0c1d85-e03a-4acf-91f4-63cdba1efc32" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -10360,27 +9934,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="4226b144-003d-4431-a981-2a5d27e6839f" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
|
|||
|
|
@ -123,6 +123,18 @@
|
|||
</complex>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCacheStrategy</key>
|
||||
<value>
|
||||
<simple>"BY_CUSTOM_NAME"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
<entry>
|
||||
<key>treeValuesCustomName</key>
|
||||
<value>
|
||||
<simple>"treeSelectionCache"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</properties>
|
||||
</scripts>
|
||||
<scripts id="bba43bd6-32d0-4039-bd0c-2d70871a2649">
|
||||
|
|
@ -2352,27 +2364,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="445facce-2e55-4d66-bff8-36727e768a12" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2556,27 +2549,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="4b4a0b98-e04e-4043-b2c5-6cbfefb1b573" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2658,27 +2632,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="b3fbb771-3c6b-418b-8f30-b185731b402c" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2760,27 +2715,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="e0ec9dfd-1f37-4525-b465-adc94c395ca0" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2863,27 +2799,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="cb6f0737-4e42-4990-b595-3279b04461a1" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -2954,27 +2871,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="eff2cc56-6a99-42b6-b154-f445059a62ac" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3045,27 +2943,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="d2edcd06-a18d-4eaa-b382-9e4402f0541b" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -3325,7 +3204,6 @@
|
|||
<componentRootId>8c048d37-2167-4bfd-86b1-1e5ac6f71e2a</componentRootId>
|
||||
<name>ВК инцидентов принято на рассмотрение</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -3556,27 +3434,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="a9b7e909-d4f0-428c-af15-9694532f1904" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4439,27 +4298,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="a790446f-ede3-4620-be1b-1318a3d87930" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4642,27 +4482,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="6261089d-c50f-41e1-9806-4ec3adc67c85" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4744,27 +4565,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="20bd55c4-89be-4a4d-9cf5-eea3bc1649f9" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4847,27 +4649,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="de86d701-656e-4243-a76a-d04440b3a3de" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -4938,27 +4721,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="5fda789c-ce95-4036-ad43-ade2fde957ad" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6277,27 +6041,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="76bdad10-cdf8-459b-9c5b-fd415003a390" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6466,27 +6211,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="166d5da5-6a54-4b13-b6a5-e0e481a7e7bd" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6563,27 +6289,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="231b0043-6b18-4def-92bd-4f84b88a4fc6" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6660,27 +6367,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="3e9b7d96-7b01-438a-8419-3a66d905bf2e" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6757,27 +6445,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="e6d3d2d5-3cee-467a-95b7-ba338c43c27a" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6854,27 +6523,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="25fffa2b-ea18-4f12-ab1f-6d770513acda" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -6957,27 +6607,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="5dab0040-e526-4338-8281-4dde138fff19" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7048,27 +6679,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="19b3cedc-d4be-49ee-9527-4418769642fc" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7139,27 +6751,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="d45ec2c9-a139-426a-91c7-b9b1a5c359bb" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7230,27 +6823,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="567d8ce7-ef26-4215-955b-3ca4aac0e136" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -7321,27 +6895,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="5ae96a66-2bef-42e7-82b8-082c27205138" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -8631,27 +8186,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="2bd0680b-f10d-4ebd-bf31-57d0663eddb7" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -8722,27 +8258,9 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="fbf917b4-cc14-48d7-ab7e-00691c3006eb" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<expanded>false</expanded>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -8826,27 +8344,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="a8b77b56-88fb-47d9-a014-e1f4b6c135ce" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -8918,27 +8417,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="c6deb8fd-525b-41a6-b177-9bc1b312d39e" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -9128,6 +8608,7 @@
|
|||
<componentRootId>62f20d4e-a45e-47d0-97f9-e8cb7e62c104</componentRootId>
|
||||
<name>ГК Плашки</name>
|
||||
<container>true</container>
|
||||
<expanded>false</expanded>
|
||||
<childrenReordered>false</childrenReordered>
|
||||
<scripts id="bf098f19-480e-44e4-9084-aa42955c4d0f">
|
||||
<properties>
|
||||
|
|
@ -9402,27 +8883,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="ee1914ab-6d40-4794-b6b6-47f39a268031" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
@ -9795,27 +9257,8 @@
|
|||
<entry>
|
||||
<key>textFormatter</key>
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>replaceModels</key>
|
||||
<value>
|
||||
<item id="3374276d-3641-4ac2-b34a-363f50e8f077" removed="false">
|
||||
<value>
|
||||
<complex>
|
||||
<entry>
|
||||
<key>value</key>
|
||||
<value>
|
||||
<simple>"0"</simple>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
</value>
|
||||
</item>
|
||||
</value>
|
||||
</entry>
|
||||
</complex>
|
||||
<implRef type="TS">
|
||||
<className>ReplaceValueTextFormatter</className>
|
||||
<className>NumberToLocalStringFormatter</className>
|
||||
<packageName>ervu_business_metrics.formatter</packageName>
|
||||
</implRef>
|
||||
</value>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -10,6 +10,7 @@
|
|||
<schemas>actualization</schemas>
|
||||
<schemas>admin_indicators</schemas>
|
||||
<schemas>deregistration</schemas>
|
||||
<schemas>idm_reconcile</schemas>
|
||||
<schemas>init_registration_info</schemas>
|
||||
<schemas>journal_log</schemas>
|
||||
<schemas>metrics</schemas>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue