Skip to content

Commit

Permalink
Merge branch 'pet_3.1.0_para_SEI_3.0.15' into 'master'
Browse files Browse the repository at this point in the history
Pet 3.1.0 para sei 3.0.15

See merge request !37
  • Loading branch information
neijobson committed Apr 7, 2020
2 parents 4af0054 + a6be0fd commit 54f2059
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sei/web/modulos/peticionamento/rn/MdPetIntimacaoRN.php
Original file line number Diff line number Diff line change
Expand Up @@ -1178,7 +1178,18 @@ function _verificarCriteriosProcuracaoSimples($idMdPetVinculoRepresent,$staEstad
$dtoRelProtocoloProtocoloDTO = new RelProtocoloProtocoloDTO();
$rnRelProtocoloProtocoloRN = new RelProtocoloProtocoloRN();
$dtoRelProtocoloProtocoloDTO->setDblIdProtocolo2($documento);

$arrAssociacao = array(
RelProtocoloProtocoloRN::$TA_DOCUMENTO_ASSOCIADO,
RelProtocoloProtocoloRN::$TA_PROCEDIMENTO_ANEXADO,
RelProtocoloProtocoloRN::$TA_DOCUMENTO_CIRCULAR
);

$dtoRelProtocoloProtocoloDTO->setStrStaAssociacao($arrAssociacao, InfraDTO::$OPER_IN);
$dtoRelProtocoloProtocoloDTO->retDblIdProtocolo1();
$dtoRelProtocoloProtocoloDTO->setOrdDblIdProtocolo1(InfraDTO::$TIPO_ORDENACAO_DESC);
$dtoRelProtocoloProtocoloDTO->setNumMaxRegistrosRetorno(1);

$objRelProtocoloProtocoloDTO = $rnRelProtocoloProtocoloRN->consultarRN0841($dtoRelProtocoloProtocoloDTO);
$idProcesso = $objRelProtocoloProtocoloDTO->getDblIdProtocolo1();
}else{
Expand Down

0 comments on commit 54f2059

Please sign in to comment.