Commit a475dd0f2713ee66ee68e699e53b338aefd10aaf

Authored by Thiago Farias
1 parent 488c4e55

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 394 $objProcesso->processoDeNegocio = utf8_encode($objProcedimentoDTO->getStrNomeTipoProcedimento());
395 395 $objProcesso->descricao = utf8_encode($objProcedimentoDTO->getStrDescricaoProtocolo());
396 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 399 $objProcesso->hipoteseLegal = new stdClass();
400 400 $objProcesso->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($objProcedimentoDTO->getNumIdHipoteseLegalProtocolo());
401   - $objProcesso->hipoteseLegal->nome = 'Nomee';
  401 + $objProcesso->hipoteseLegal->nome = 'Nomee';
402 402 $objProcesso->hipoteseLegal->baseLegal = 'Base Legall';
403 403  
404 404 }
405   -
  405 +
406 406 $this->atribuirProdutorProcesso($objProcesso,
407 407 $objProcedimentoDTO->getNumIdUsuarioGeradorProtocolo(),
408 408 $objProcedimentoDTO->getNumIdUnidadeGeradoraProtocolo());
... ... @@ -853,7 +853,7 @@ class ExpedirProcedimentoRN extends InfraRN {
853 853 $documento->nivelDeSigilo = $this->obterNivelSigiloPEN($documentoDTO->getStrStaNivelAcessoLocalProtocolo());
854 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 857 $documento->hipoteseLegal = new stdClass();
858 858 $documento->hipoteseLegal->identificacao = $objPenRelHipoteseLegalRN->getIdHipoteseLegalPEN($documentoDTO->getNumIdHipoteseLegalProtocolo());
859 859 $documento->hipoteseLegal->nome = 'Nomee';
... ...