Commit 8f5c786c4121f198b1bc0fd78dec350db4f37f32
1 parent
366df8fe
Exists in
master
and in
1 other branch
[Test] Subindo teste de ordenação.
Showing
1 changed file
with
4 additions
and
3 deletions
Show diff stats
rn/MdWsSeiDocumentoRN.php
... | ... | @@ -44,11 +44,12 @@ class MdWsSeiDocumentoRN extends DocumentoRN { |
44 | 44 | $documentoDTOConsulta->retNumIdUnidadeGeradoraProtocolo(); |
45 | 45 | $documentoDTOConsulta->retStrCrcAssinatura(); |
46 | 46 | $documentoDTOConsulta->retStrStaEstadoProtocolo(); |
47 | - $documentoDTOConsulta->setOrdDtaGeracaoProtocolo(InfraDTO::$TIPO_ORDENACAO_DESC); | |
48 | - //$documentoDTOConsulta->setOrdDblIdProcedimento(InfraDTO::$TIPO_ORDENACAO_ASC); | |
47 | + $documentoDTOConsulta->setOrdDtaGeracaoProtocolo(InfraDTO::$TIPO_ORDENACAO_ASC); | |
48 | + $documentoDTOConsulta->setOrdDblIdProcedimento(InfraDTO::$TIPO_ORDENACAO_ASC); | |
49 | 49 | |
50 | 50 | $documentoBD = new DocumentoBD($this->getObjInfraIBanco()); |
51 | - $ret = $documentoBD->listar($documentoDTOConsulta); | |
51 | + $ret = $documentoBD->listar($documentoDTOConsulta, true); | |
52 | + return $ret; | |
52 | 53 | |
53 | 54 | $anexoRN = new AnexoRN(); |
54 | 55 | $observacaoRN = new ObservacaoRN(); | ... | ... |