-
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.
feat: correção de bug de envio parcial
Correção de mapemaneto de hipoteses legais; Correção de envio parcial para mapeamento de repositorios; Correção de recebimento de tramite evolução do tramite em bloco
- Loading branch information
Mauro Costa
committed
Jun 7, 2024
1 parent
3612868
commit af9e1aa
Showing
5 changed files
with
344 additions
and
145 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
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 |
---|---|---|
@@ -1,28 +1,56 @@ | ||
<?php | ||
|
||
require_once DIR_SEI_WEB.'/SEI.php'; | ||
require_once DIR_SEI_WEB . '/SEI.php'; | ||
|
||
/** | ||
* Description of PenHipoteseLegalRN | ||
* | ||
* @author michael | ||
*/ | ||
class PenHipoteseLegalRN extends InfraRN | ||
class PenHipoteseLegalRN extends InfraRN | ||
{ | ||
|
||
protected function inicializarObjInfraIBanco(){ | ||
return BancoSEI::getInstance(); | ||
/** | ||
* Inicializador de banco de dados | ||
* | ||
* @return object | ||
*/ | ||
protected function inicializarObjInfraIBanco() | ||
{ | ||
return BancoSEI::getInstance(); | ||
} | ||
|
||
|
||
/** | ||
* Listar hipoteses legais | ||
* | ||
* @param PenHipoteseLegalDTO $objDTO | ||
* @return array | ||
* @throws InfraException | ||
*/ | ||
protected function listarConectado(PenHipoteseLegalDTO $objDTO) | ||
{ | ||
{ | ||
try { | ||
$objBD = new GenericoBD($this->inicializarObjInfraIBanco()); | ||
return $objBD->listar($objDTO); | ||
} catch (Exception $e) { | ||
throw new InfraException('Erro listando hipotese legal.', $e); | ||
} | ||
} | ||
|
||
/** | ||
* Consultar hipotese legal | ||
* | ||
* @param PenHipoteseLegalDTO $objDTO | ||
* @return PenHipoteseLegalDTO | ||
* @throws InfraException | ||
*/ | ||
protected function consultarControlado(PenHipoteseLegalDTO $objDTO) | ||
{ | ||
try { | ||
//SessaoSEI::getInstance()->validarAuditarPermissao('email_sistema_excluir', __METHOD__, $arrObjEmailSistemaDTO); | ||
$objBD = new GenericoBD($this->inicializarObjInfraIBanco()); | ||
return $objBD->listar($objDTO); | ||
} | ||
catch (Exception $e) { | ||
throw new InfraException('Erro excluindo E-mail do Sistema.', $e); | ||
$objBD = new GenericoBD($this->inicializarObjInfraIBanco()); | ||
return $objBD->consultar($objDTO); | ||
} catch (Exception $e) { | ||
throw new InfraException('Erro consultando hipotese legal.', $e); | ||
} | ||
} | ||
} |
Oops, something went wrong.