Commit a475dd0f2713ee66ee68e699e53b338aefd10aaf
1 parent
488c4e55
Exists in
master
and in
21 other branches
AJustes US042: refs #8517
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
rn/ExpedirProcedimentoRN.php
@@ -394,15 +394,15 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -394,15 +394,15 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
394 | $objProcesso->processoDeNegocio = utf8_encode($objProcedimentoDTO->getStrNomeTipoProcedimento()); | 394 | $objProcesso->processoDeNegocio = utf8_encode($objProcedimentoDTO->getStrNomeTipoProcedimento()); |
395 | $objProcesso->descricao = utf8_encode($objProcedimentoDTO->getStrDescricaoProtocolo()); | 395 | $objProcesso->descricao = utf8_encode($objProcedimentoDTO->getStrDescricaoProtocolo()); |
396 | $objProcesso->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($objProcedimentoDTO->getDtaGeracaoProtocolo()); | 396 | $objProcesso->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($objProcedimentoDTO->getDtaGeracaoProtocolo()); |
397 | - | ||
398 | - if($this->obterNivelSigiloPEN($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo()) == ProtocoloRN::$NA_RESTRITO){ | 397 | + |
398 | + if($this->obterNivelSigiloPEN($objProcedimentoDTO->getStrStaNivelAcessoGlobalProtocolo()) == self::$STA_SIGILO_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'; | 401 | + $objProcesso->hipoteseLegal->nome = 'Nomee'; |
402 | $objProcesso->hipoteseLegal->baseLegal = 'Base Legall'; | 402 | $objProcesso->hipoteseLegal->baseLegal = 'Base Legall'; |
403 | 403 | ||
404 | } | 404 | } |
405 | - | 405 | + |
406 | $this->atribuirProdutorProcesso($objProcesso, | 406 | $this->atribuirProdutorProcesso($objProcesso, |
407 | $objProcedimentoDTO->getNumIdUsuarioGeradorProtocolo(), | 407 | $objProcedimentoDTO->getNumIdUsuarioGeradorProtocolo(), |
408 | $objProcedimentoDTO->getNumIdUnidadeGeradoraProtocolo()); | 408 | $objProcedimentoDTO->getNumIdUnidadeGeradoraProtocolo()); |
@@ -853,7 +853,7 @@ class ExpedirProcedimentoRN extends InfraRN { | @@ -853,7 +853,7 @@ class ExpedirProcedimentoRN extends InfraRN { | ||
853 | $documento->nivelDeSigilo = $this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()); | 853 | $documento->nivelDeSigilo = $this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()); |
854 | $documento->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($documentoDTO->getDtaGeracaoProtocolo()); | 854 | $documento->dataHoraDeProducao = $this->objProcessoEletronicoRN->converterDataWebService($documentoDTO->getDtaGeracaoProtocolo()); |
855 | 855 | ||
856 | - if($this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()) == ProtocoloRN::$NA_RESTRITO){ | 856 | + if($this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo()) == self::$STA_SIGILO_RESTRITO){ |
857 | $documento->hipoteseLegal = new stdClass(); | 857 | $documento->hipoteseLegal = new stdClass(); |
858 | $documento->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo()); | 858 | $documento->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo()); |
859 | $documento->hipoteseLegal->nome = 'Nomee'; | 859 | $documento->hipoteseLegal->nome = 'Nomee'; |