-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adiciona badge do codesniffer
feat: mapeamento de tipos de processo e relacionamento entre orgãos feat: mapeamento de tipos de processo e relacionamento entre orgãos feat: correções de teste funcionais feat: melhoria de fixture para cadastro de mapeamento de unidades feat: implementação de teste sei3 e sei4 feat: correções de teste para fixture feat: correções de testes funcionais sei3 feat: atualização de redundancia para sei3 feat: atualização de testes funcionais sei e sei4 feat: atualização de redundancia para sei3 feat: alteração de mensagem de tipo de processo padrão com restrição feat: correção de consulta de mapeamento de tipos de processo feat: correções de testes e inclusão de sublinhado
- Loading branch information
1 parent
8d2707a
commit b23678e
Showing
68 changed files
with
7,202 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
require_once DIR_SEI_WEB.'/SEI.php'; | ||
|
||
class PenMapTipoProcedimentoBD extends InfraBD { | ||
|
||
public function __construct(InfraIBanco $objInfraIBanco) { | ||
parent::__construct($objInfraIBanco); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
require_once DIR_SEI_WEB.'/SEI.php'; | ||
|
||
class PenOrgaoExternoBD extends InfraBD { | ||
|
||
public function __construct(InfraIBanco $objInfraIBanco) { | ||
parent::__construct($objInfraIBanco); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
require_once DIR_SEI_WEB.'/SEI.php'; | ||
|
||
/** | ||
* Classe reaponsável por manipulação | ||
*/ | ||
class PenMapTipoProcedimentoDTO extends InfraDTO { | ||
|
||
public function getStrNomeTabela() { | ||
return 'md_pen_map_tipo_processo'; | ||
} | ||
|
||
public function getStrNomeSequenciaNativa() { | ||
return 'md_pen_seq_map_tipo_procedimento'; | ||
} | ||
|
||
public function montar() { | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_DBL, 'Id', 'id'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdMapOrgao', 'id_map_orgao'); | ||
$this->configurarPK('Id', InfraDTO::$TIPO_PK_NATIVA); | ||
$this->configurarFK('IdMapOrgao', 'mapeamento_orgao', 'id_map_orgao'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdTipoProcessoOrigem', 'id_tipo_processo_origem'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdTipoProcessoDestino', 'id_tipo_processo_destino'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'NomeTipoProcesso', 'nome_tipo_processo'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_DTH, 'Registro', 'dth_criacao'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'Ativo', 'sin_ativo'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdUnidade', 'id_unidade'); | ||
$this->configurarPK('Id', InfraDTO::$TIPO_PK_NATIVA); | ||
$this->configurarFK('IdUnidade', 'unidade', 'id_unidade'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?php | ||
|
||
require_once DIR_SEI_WEB.'/SEI.php'; | ||
|
||
/** | ||
* Classe reaponsável por manipulação | ||
*/ | ||
class PenOrgaoExternoDTO extends InfraDTO { | ||
|
||
public function getStrNomeTabela() { | ||
return 'md_pen_orgao_externo'; | ||
} | ||
|
||
public function getStrNomeSequenciaNativa() { | ||
return 'md_pen_seq_orgao_externo'; | ||
} | ||
|
||
public function montar() { | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_DBL, 'Id', 'Id'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdOrgaoOrigem', 'id_orgao_origem'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'OrgaoOrigem', 'str_orgao_origem'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdEstrutaOrganizacionalOrigem', 'id_estrutura_origem'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'EstrutaOrganizacionalOrigem', 'str_estrutura_origem'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdOrgaoDestino', 'id_orgao_destino'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'OrgaoDestino', 'str_orgao_destino'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_DTH, 'Registro', 'dth_criacao'); | ||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_STR, 'Ativo', 'sin_ativo'); | ||
|
||
$this->adicionarAtributoTabela(InfraDTO::$PREFIXO_NUM, 'IdUnidade', 'id_unidade'); | ||
|
||
$this->configurarPK('Id', InfraDTO::$TIPO_PK_NATIVA); | ||
|
||
$this->configurarFK('IdUnidade', 'unidade', 'id_unidade'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.