From 19cbebd2a1d20a6bea482b52b512bb019979a7c4 Mon Sep 17 00:00:00 2001 From: Thiago Farias Date: Mon, 13 Nov 2017 17:49:44 -0200 Subject: [PATCH] AJustes US042: refs #8517 --- rn/ExpedirProcedimentoRN.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/rn/ExpedirProcedimentoRN.php b/rn/ExpedirProcedimentoRN.php index 67adb52..2f8809f 100644 --- a/rn/ExpedirProcedimentoRN.php +++ b/rn/ExpedirProcedimentoRN.php @@ -398,6 +398,9 @@ class ExpedirProcedimentoRN extends InfraRN { if($this->obterNivelSigiloPEN($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo()) == ProtocoloRN::$NA_RESTRITO){ $objProcesso->hipoteseLegal = new stdClass(); $objProcesso->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo()); + // $objProcesso->hipoteseLegal->nome = 'Nomee'; + // $objProcesso->hipoteseLegal->baseLegal = 'Base Legall'; + } $this->atribuirProdutorProcesso($objProcesso, @@ -851,7 +854,10 @@ class ExpedirProcedimentoRN extends InfraRN { $documento->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($documentoDTO->getDtaGeracaoProtocolo()); if($this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()) == ProtocoloRN::$NA_RESTRITO){ - $documento->hipoteseLegal = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo()); + $documento->hipoteseLegal = new stdClass(); + $documento->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo()); + // $documento->hipoteseLegal->nome = 'Nomee'; + // $documento->hipoteseLegal->baseLegal = 'Base Legall'; } $usuarioDTO = $this->consultarUsuario($documentoDTO->getNumIdUsuarioGeradorProtocolo()); -- libgit2 0.21.2