Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: tramite de bloco externo e recursos #424

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
00fc197
feat: tramite de bloco externo e recursos
mrglaydson Jan 26, 2024
10c52b3
Chore: adicionar icone de aberto como default
mrglaydson Jan 26, 2024
7238cbf
Chore: Corrigir titulo do icone em aberto
mrglaydson Jan 26, 2024
98c9a29
fix: Adicionar Id do registro de atividade correto na tabela de ativi…
mrglaydson Jan 29, 2024
da11340
fix: corrigir exclusao do bloco e adicionar mensagem
mrglaydson Jan 30, 2024
cb0cbff
fix: atualizar bloco de envio conforme id_tarefa
mrglaydson Feb 1, 2024
9271b25
fix: atualizar para concluido parcialmente
mrglaydson Feb 5, 2024
cfddc95
fix: corrigir bug na listagem de processo
mrglaydson Feb 5, 2024
af65640
fix: status destinatario
mrglaydson Feb 7, 2024
a6c7169
feat: adicionar reenvio de bloco e conclusao de bloco na remoção de p…
mrglaydson Feb 8, 2024
3ba4c35
fix: adicionar nova rota para a pagina Processos Tramitados Externamente
mrglaydson Feb 9, 2024
81b8c43
chore: remover comentário
mrglaydson Feb 9, 2024
5e5f195
tests: adicionar tests funcionais e testes de carga
mrglaydson Feb 9, 2024
e7d4ebb
feat: possibilitar adicição de processo recebido que foi concluido em…
mrglaydson Feb 20, 2024
4edea2b
feat: adição mutipla de processos no mesmo bloco
mrglaydson Feb 22, 2024
66471f5
fix: Corrigir atualização do bloco
mrglaydson Feb 26, 2024
8ff41c3
chore: chamada de icones dinamico compativeis com SEI3
mrglaydson Feb 26, 2024
5adb8b1
feat: atualizar teste automatizado SEI
mrglaydson Feb 27, 2024
e5822b0
chore: Corrigir erro de expection sei3
mrglaydson Feb 27, 2024
c61c128
Fix: compatibilidade com oracle
mrglaydson Feb 27, 2024
18a0cad
chore: melhorar script de atualização do modulo
mrglaydson Feb 28, 2024
f37b04c
feat: adicionar redirecionamento correto para teste funcional
mrglaydson Feb 29, 2024
a3e600f
chore: remover teste tramite em lote
mrglaydson Feb 29, 2024
c7e3c12
feat: adicionar teste automatizado para SEI3
mrglaydson Feb 29, 2024
7edea9c
feat: adicionar teste para o SEI4
mrglaydson Mar 1, 2024
47dac7e
feat: configuracao dos envs
mrglaydson Mar 1, 2024
e8cd33b
fix: adicionar condição para exibir icone do menu
mrglaydson Mar 1, 2024
9e690a9
fix: atualizar bloco quando houver envio para o mesmo orgao
mrglaydson Mar 5, 2024
465d1c3
fix: Corrigir bug em click nos testes automatizado sei3
mrglaydson Mar 5, 2024
9345ea8
feat: adicionar estrutura correta para bancos oracle e sqlserver
mrglaydson Mar 5, 2024
946badf
chore: remover insert estaticos de unidades
mrglaydson Mar 6, 2024
726c716
chore: remover testes obsoletos para a nova versão
mrglaydson Mar 6, 2024
56d3399
chore: adapatar teste funcionao de tramite para sei3
mrglaydson Mar 6, 2024
2362242
chore: padrozinar teste automatizado
mrglaydson Mar 6, 2024
4e4fb56
fix: corrigir sei4 conforme sei oficial
mrglaydson Mar 6, 2024
bca2817
Merge branch 'master' into feature/249-bloco-de-tramite-externo
mrglaydson Mar 8, 2024
55706ae
feat: adicionar nova rota para item no menu
mrglaydson Mar 8, 2024
373267e
feat: remover testes do sei dentro do modulo
mrglaydson Mar 8, 2024
442ef97
fix: corrigir envio descrição no teste
mrglaydson Mar 11, 2024
ca54e44
fix: adicionar contanto id na tabela de participante
mrglaydson Mar 11, 2024
3f560d4
fix: corrigir id atividade passado para tabela de assinatura
mrglaydson Mar 11, 2024
7956c27
chore: refinar codigo
mrglaydson Mar 15, 2024
2c67d4b
merge
mrglaydson Mar 15, 2024
baaf9e7
Feat/449 Ajuste Testes Sei3 (#450)
marlinhares Mar 15, 2024
f096b86
feat: adicionar grupos nos testes
mrglaydson Mar 15, 2024
7fb1c17
merge
mrglaydson Mar 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ down: .env


# make teste=TramiteProcessoComDevolucaoTest test-functional
test-functional: .env $(FILE_VENDOR_FUNCIONAL) up
test-functional: .env $(FILE_VENDOR_FUNCIONAL) up vendor
$(CMD_COMPOSE_FUNC) run --rm php-test-functional /tests/vendor/bin/phpunit -c /tests/phpunit.xml /tests/tests/$(addsuffix .php,$(teste)) ;


Expand Down Expand Up @@ -238,4 +238,5 @@ tramitar-pendencias-silent:
stop-test-container:
docker stop $$(docker ps -a -q --filter="name=php-test")


vendor: composer.json
$(CMD_COMPOSE_FUNC) run -w /tests php-test-functional bash -c './composer.phar install'
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
"php": "7.3.12"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "sei/"
}
},
"require-dev": {
"php": "7.3.12",
"phpunit/phpunit": "*",
Expand Down
28 changes: 21 additions & 7 deletions jenkins/01-Teste-Unico-ou-Grupo.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ pipeline {
rm -rf sei sip infra
mv src/sei src/sip src/infra .
fi

"""

}
Expand Down Expand Up @@ -313,6 +314,11 @@ pipeline {
sudo rm -rf ${FOLDERSPE}/sei/scripts/mod-pen
sudo rm -rf ${FOLDERSPE}/sei/config/ConfiguracaoSEI.php*
sudo rm -rf ${FOLDERSPE}/sip/config/ConfiguracaoSip.php*

if [ "${SISTEMA}" = "sei3" ]; then
cp ${FOLDER_FUNCIONAIS}/assets/config/ConfiguracaoSEI.php ${FOLDERSPE}/sei/config/ConfiguracaoSEI.php~
cp ${FOLDER_FUNCIONAIS}/assets/config/ConfiguracaoSip.php ${FOLDERSPE}/sip/config/ConfiguracaoSip.php~
fi

""", label: "Destroi ambiente e Remove Antigos"

Expand All @@ -331,13 +337,14 @@ pipeline {
make destroy || true
sed -i "s|sistema=.*|sistema=${SISTEMA}|g" Makefile
sed -i "s|PARALLEL_TEST_NODES =.*|PARALLEL_TEST_NODES = ${TESTE_PARALLEL}|g" Makefile
rm -rf ${FOLDER_FUNCIONAIS}/.env
\\cp ${FOLDER_FUNCIONAIS}/env_${DATABASE} ${FOLDER_FUNCIONAIS}/.env
sed -i "s|^base=.*|base=${DATABASE}|g" Makefile

make config
sed -i "s|SEI_PATH=.*|SEI_PATH=${FOLDERSPE}|g" ${FOLDER_FUNCIONAIS}/.env
sed -i "s|ORG1_CERTIFICADO_SENHA=.*|ORG1_CERTIFICADO_SENHA=$ORG1_CERT_PASS|g" ${FOLDER_FUNCIONAIS}/.env
sed -i "s|ORG2_CERTIFICADO_SENHA=.*|ORG2_CERTIFICADO_SENHA=$ORG2_CERT_PASS|g" ${FOLDER_FUNCIONAIS}/.env

\\cp tests_sei4/funcional/phpunit.xml ${FOLDER_FUNCIONAIS}/phpunit.xml || true
\\cp ${FOLDER_FUNCIONAIS}/phpunit.xml ${FOLDER_FUNCIONAIS}/phpunit.xml || true

#sed -i "s|.*PEN_WAIT_TIMEOUT\\".*|<const name=\\"PEN_WAIT_TIMEOUT\\" value=\\"40000\\" />|g" ${FOLDER_FUNCIONAIS}/phpunit.xml
sed -i "s|.*PEN_WAIT_TIMEOUT_ARQUIVOS_GRANDES\\".*|<const name=\\"PEN_WAIT_TIMEOUT_ARQUIVOS_GRANDES\\" value=\\"180000\\" />|g" ${FOLDER_FUNCIONAIS}/phpunit.xml
Expand Down Expand Up @@ -373,8 +380,11 @@ pipeline {
sed -i "/INFORME O NOME DA ESTRUTURA UTILIZADO PARA TESTE ORG 1.1/d" ${FOLDER_FUNCIONAIS}/phpunit.xml
sed -i "/INFORME O ID DE ESTRUTURA UTILIZADO PARA TESTE ORG 2/d" ${FOLDER_FUNCIONAIS}/phpunit.xml
sed -i "/INFORME O NOME DA ESTRUTURA UTILIZADO PARA TESTE ORG 2/d" ${FOLDER_FUNCIONAIS}/phpunit.xml


#para sei3
sed -i "/INFORME O ID DE ESTRUTURA UTILIZADO PARA TESTE ORG 1.1/d" ${FOLDER_FUNCIONAIS}/phpunit.xml
sed -i "/INFORME O ID DE ESTRUTURA UTILIZADO PARA TESTE ORG2/d" ${FOLDER_FUNCIONAIS}/phpunit.xml
sed -i "/INFORME O NOME DA ESTRUTURA UTILIZADO PARA TESTE ORG2/d" ${FOLDER_FUNCIONAIS}/phpunit.xml

cp ${FOLDER_FUNCIONAIS}/phpunit.xml phpunitoriginal.xml


Expand Down Expand Up @@ -445,8 +455,12 @@ pipeline {
steps{
dir("${FOLDERMODULO}"){
sh script: """

make test-unit

if [ "${SISTEMA}" = "sei3" ]; then
make test-unit || true
else
make test-unit
fi

""", label: "Roda as Suites de Testes Unitarios"
}
Expand Down
2 changes: 1 addition & 1 deletion jenkins/02-Teste-Todos-os-Grupos.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pipeline {
description: "Branch/Tag do git onde encontra-se o Sistema")
choice(
name: 'sistema',
choices: "sei4\nsei3\nsuper",
choices: "sei4\nsei41\nsei3\nsuper",
description: 'Qual o Sistema de Processo Eletrônico será utilizado nos testes?' )
choice(
name: 'database',
Expand Down
1 change: 1 addition & 0 deletions jenkins/03-Teste-Todos-os-Grupos-em-Serie.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ pipeline {
string(name: 'branchGitSpe', value: spe_branch),
string(name: 'sistema', value: spe_nome),
string(name: 'versaoModulo', value: modulo_versao),
string(name: 'database', value: database),
], wait: true
}

Expand Down
37 changes: 31 additions & 6 deletions src/PENIntegracao.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

// Identificação da versão do módulo. Este deverá ser atualizado e sincronizado com constante VERSAO_MODULO
define("VERSAO_MODULO_PEN", "3.5.0");
define("VERSAO_MODULO_PEN", "3.6.0");

class PENIntegracao extends SeiIntegracao
{
Expand Down Expand Up @@ -68,11 +68,10 @@ public function montarBotaoControleProcessos() {
$objPenUnidadeDTO->setNumIdUnidade(SessaoSEI::getInstance()->getNumIdUnidadeAtual());
$objPenUnidadeRN = new PenUnidadeRN();

//Apresenta o botão de expedir processo
if ($numRegistros > 0 && $objPenUnidadeRN->contar($objPenUnidadeDTO) != 0) {
$numTabBotao = $objPaginaSEI->getProxTabBarraComandosSuperior();
$strAcoesProcedimento .= '<a href="#" onclick="return acaoControleProcessos(\'' . $objSessaoSEI->assinarLink('controlador.php?acao=pen_expedir_lote&acao_origem=' . $_GET['acao'] . '&acao_retorno=' . $_GET['acao']) . '\', true, false);" tabindex="' . $numTabBotao . '" class="botaoSEI">';
$strAcoesProcedimento .= '<img class="infraCorBarraSistema" src="' . ProcessoEletronicoINT::getCaminhoIcone("/pen_expedir_procedimento.gif", $this->getDiretorioImagens()) . '" class="infraCorBarraSistema" alt="Envio Externo de Processo em Lote" title="Envio Externo de Processo em Lote" />';
$strAcoesProcedimento .= '<a href="#" onclick="return acaoControleProcessos(\'' . $objSessaoSEI->assinarLink('controlador.php?acao=pen_tramita_em_bloco_adicionar&acao_origem=' . $_GET['acao'] . '&acao_retorno=' . $_GET['acao']) . '\', true, false);" tabindex="' . $numTabBotao . '" class="botaoSEI">';
$strAcoesProcedimento .= '<img class="infraCorBarraSistema" src="' . ProcessoEletronicoINT::getCaminhoIcone("/pen_processo_bloco.svg", $this->getDiretorioImagens()) . '" class="infraCorBarraSistema" alt="Incluir Processos no Bloco de Trâmite" title="Incluir Processos no Bloco de Trâmite" />';
}
}

Expand Down Expand Up @@ -158,6 +157,11 @@ public function montarBotaoProcesso(ProcedimentoAPI $objSeiIntegracaoDTO)
$strAcoesProcedimento .= '</a>';
}

//Apresenta o botão de incluir processo no bloco de trâmite
$numTabBotao = $objPaginaSEI->getProxTabBarraComandosSuperior();
$strAcoesProcedimento .= '<a href="' . $objPaginaSEI->formatarXHTML($objSessaoSEI->assinarLink('controlador.php?acao=pen_incluir_processo_em_bloco_tramite&acao_origem=procedimento_visualizar&acao_retorno=arvore_visualizar&id_procedimento=' . $dblIdProcedimento . '&arvore=1')) . '" tabindex="' . $numTabBotao . '" class="botaoSEI"> <img src="'.ProcessoEletronicoINT::getCaminhoIcone("/pen_processo_bloco.svg", $this->getDiretorioImagens()) .'" title="Incluir Processo no Bloco de Trâmite" alt="Incluir Processo no Bloco de Trâmite"/></a>';


return array($strAcoesProcedimento);
}

Expand Down Expand Up @@ -643,6 +647,28 @@ public function processarControlador($strAcao)
require_once dirname(__FILE__) . '/pen_procedimento_expedir.php';
break;

case 'pen_tramite_bloco_listar':
case 'md_pen_tramita_em_bloco':
case 'md_pen_tramita_em_bloco_excluir':
case 'pen_tramite_em_bloco_cancelar':
require_once dirname(__FILE__) . '/pen_tramite_bloco_listar.php';
break;

case 'pen_tramite_em_bloco_cadastrar':
case 'pen_tramite_em_bloco_alterar':
require_once dirname(__FILE__) . '/pen_tramite_em_bloco_cadastrar.php';
break;

case 'pen_tramita_em_bloco_protocolo_excluir':
case 'pen_tramita_em_bloco_protocolo_listar':
require_once dirname(__FILE__) . '/pen_tramita_em_bloco_protocolo_listar.php';
break;

case 'pen_incluir_processo_em_bloco_tramite':
case 'pen_tramita_em_bloco_adicionar':
require_once dirname(__FILE__) . '/pen_tramite_processo_em_bloco_cadastrar.php';
break;

case 'pen_unidade_sel_expedir_procedimento':
require_once dirname(__FILE__) . '/pen_unidade_sel_expedir_procedimento.php';
break;
Expand Down Expand Up @@ -1031,5 +1057,4 @@ public function processarPendencias()
ProcessarPendenciasRN::getInstance()->processarPendencias();
}
}

class ModuloIncompativelException extends InfraException { }
class ModuloIncompativelException extends InfraException { }
14 changes: 14 additions & 0 deletions src/bd/TramitaEmBlocoProtocoloBD.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

require_once DIR_SEI_WEB.'/SEI.php';

/**
* Classe gererica de persistência com o banco de dados
*/
class TramitaEmBlocoProtocoloBD extends InfraBD {

public function __construct(InfraIBanco $objInfraIBanco) {
parent::__construct($objInfraIBanco);
}

}
13 changes: 13 additions & 0 deletions src/bd/TramiteEmBlocoBD.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

require_once DIR_SEI_WEB.'/SEI.php';

/**
* Classe gererica de persistência com o banco de dados
*/
class TramiteEmBlocoBD extends InfraBD {

public function __construct(InfraIBanco $objInfraIBanco) {
parent::__construct($objInfraIBanco);
}
}
57 changes: 57 additions & 0 deletions src/dto/TramitaEmBlocoProtocoloDTO.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<?php
require_once DIR_SEI_WEB . '/SEI.php';

/**
* Data Transfer Object de parâmetros do módulo PEN
*/
class TramitaEmBlocoProtocoloDTO extends InfraDTO {

public function getStrNomeTabela() {
return 'md_pen_tramita_bl_protocolo';
}

public function getStrNomeSequenciaNativa() {
return 'md_pen_seq_tr_bl_protocolo';
}

public function montar() {

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'Id', 'id');
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_DBL, 'IdProtocolo', 'id_protocolo');
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdTramitaEmBloco', 'id_tramita_em_bloco');
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'Sequencia', 'sequencia');
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'IdxRelBlocoProtocolo', 'idx_rel_bloco_protocolo');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_DBL, 'IdProtocoloProtocolo', 'p1.id_protocolo', 'protocolo p1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'ProtocoloFormatadoProtocolo', 'p1.protocolo', 'protocolo p1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'StaProtocoloProtocolo', 'p1.sta_protocolo', 'protocolo p1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'StaNivelAcessoGlobalProtocolo', 'p1.sta_nivel_acesso_global', 'protocolo p1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_NUM, 'IdUnidadeBloco', 'tb1.id_unidade', 'md_pen_tramita_em_bloco tb1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_NUM, 'IdUsuario', 'tb1.id_usuario', 'md_pen_tramita_em_bloco tb1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'StaTipoBloco', 'sta_tipo', 'md_pen_tramita_em_bloco tb1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'StaEstadoBloco', 'sta_estado', 'md_pen_tramita_em_bloco tb1');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_NUM, 'IdProcedimento', 'pe.id_procedimento', 'md_pen_processo_eletronico pe');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'NumeroRegistro', 'pe.numero_registro', 'md_pen_processo_eletronico pe');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_NUM, 'IdTramite', 'pt.id_tramite', 'md_pen_tramite pt');
$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR, 'StaEstadoProtocolo', 'p1.sta_estado', 'protocolo p1');

$this->adicionarAtributo(InfraDTO::$PREFIXO_OBJ,'TramiteDTO');
$this->adicionarAtributo(InfraDTO::$PREFIXO_OBJ,'AtividadeDTO');
$this->adicionarAtributo(InfraDTO::$PREFIXO_OBJ,'ProtocoloDTO');
$this->adicionarAtributo(InfraDTO::$PREFIXO_OBJ,'PenLoteProcedimentoDTO');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR,'PalavrasPesquisa');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR,'SinAberto');
$this->adicionarAtributo(InfraDTO::$PREFIXO_NUM,'StaIdTarefa');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR,'SinObteveRecusa');

$this->configurarPK('Id', InfraDTO::$TIPO_PK_NATIVA);
$this->configurarPK('IdProtocolo',InfraDTO::$TIPO_PK_INFORMADO);
$this->configurarPK('IdTramitaEmBloco',InfraDTO::$TIPO_PK_INFORMADO);

$this->configurarFK('IdProtocolo', 'protocolo p1', 'p1.id_protocolo');
$this->configurarFK('IdTramitaEmBloco', 'md_pen_tramita_em_bloco tb1', 'tb1.id');
$this->configurarFK('IdProtocolo', 'md_pen_processo_eletronico pe', 'pe.id_procedimento', InfraDTO::$TIPO_FK_OPCIONAL);
$this->configurarFK('NumeroRegistro', 'md_pen_tramite pt', 'pt.numero_registro', InfraDTO::$TIPO_FK_OPCIONAL);
}
}
?>
84 changes: 84 additions & 0 deletions src/dto/TramiteEmBlocoDTO.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<?php

require_once DIR_SEI_WEB.'/SEI.php';

class TramiteEmBlocoDTO extends InfraDTO {

public function getStrNomeTabela() {
return 'md_pen_tramita_em_bloco';
}

public function getStrNomeSequenciaNativa(){
return 'md_pen_seq_tramita_em_bloco';
}

public function montar() {

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM,
'Id',
'id');

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM,
'IdUnidade',
'id_unidade');

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM,
'IdUsuario',
'id_usuario');

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR,
'Descricao',
'descricao');

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR,
'IdxBloco',
'idx_bloco');

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR,
'StaTipo',
'sta_tipo');

$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR,
'StaEstado',
'sta_estado');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR,
'SiglaUnidade',
'uc.sigla',
'unidade uc');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR,
'DescricaoUnidade',
'uc.descricao',
'unidade uc');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR,
'SiglaUnidadeRelBlocoUnidade',
'ud.sigla',
'unidade ud');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR,
'DescricaoUnidadeRelBlocoUnidade',
'ud.descricao',
'unidade ud');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR,
'SiglaUsuario',
'sigla',
'usuario');

$this->adicionarAtributoTabelaRelacionada(InfraDTO::$PREFIXO_STR,
'NomeUsuario',
'nome',
'usuario');

$this->adicionarAtributo(InfraDTO::$PREFIXO_STR,'TipoDescricao');
$this->adicionarAtributo(InfraDTO::$PREFIXO_STR,'PalavrasPesquisa');

$this->configurarPK('Id', InfraDTO::$TIPO_PK_NATIVA );

$this->configurarFK('IdUsuario', 'usuario', 'id_usuario');
$this->configurarFK('IdUnidade', 'unidade uc', 'uc.id_unidade');
}
}
?>
Binary file added src/imagens/em_processamento.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/imagens/falhou.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/imagens/nao_iniciado.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions src/imagens/pen_processo_bloco.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading