Commit 19cbebd2a1d20a6bea482b52b512bb019979a7c4

Authored by Thiago Farias
1 parent 435a07f8

AJustes US042: refs #8517

Showing 1 changed file with 7 additions and 1 deletions   Show diff stats
rn/ExpedirProcedimentoRN.php
@@ -398,6 +398,9 @@ class ExpedirProcedimentoRN extends InfraRN { @@ -398,6 +398,9 @@ class ExpedirProcedimentoRN extends InfraRN {
398 if($this->obterNivelSigiloPEN($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo()) == ProtocoloRN::$NA_RESTRITO){ 398 if($this->obterNivelSigiloPEN($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo()) == ProtocoloRN::$NA_RESTRITO){
399 $objProcesso->hipoteseLegal = new stdClass(); 399 $objProcesso->hipoteseLegal = new stdClass();
400 $objProcesso->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo()); 400 $objProcesso->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo());
  401 + // $objProcesso->hipoteseLegal->nome = 'Nomee';
  402 + // $objProcesso->hipoteseLegal->baseLegal = 'Base Legall';
  403 +
401 } 404 }
402 405
403 $this->atribuirProdutorProcesso($objProcesso, 406 $this->atribuirProdutorProcesso($objProcesso,
@@ -851,7 +854,10 @@ class ExpedirProcedimentoRN extends InfraRN { @@ -851,7 +854,10 @@ class ExpedirProcedimentoRN extends InfraRN {
851 $documento->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($documentoDTO->getDtaGeracaoProtocolo()); 854 $documento->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($documentoDTO->getDtaGeracaoProtocolo());
852 855
853 if($this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()) == ProtocoloRN::$NA_RESTRITO){ 856 if($this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()) == ProtocoloRN::$NA_RESTRITO){
854 - $documento->hipoteseLegal = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo()); 857 + $documento->hipoteseLegal = new stdClass();
  858 + $documento->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo());
  859 + // $documento->hipoteseLegal->nome = 'Nomee';
  860 + // $documento->hipoteseLegal->baseLegal = 'Base Legall';
855 } 861 }
856 862
857 $usuarioDTO = $this->consultarUsuario($documentoDTO->getNumIdUsuarioGeradorProtocolo()); 863 $usuarioDTO = $this->consultarUsuario($documentoDTO->getNumIdUsuarioGeradorProtocolo());