Commit a49184abc8afe8ab93bc15e608de435d905f6085
1 parent
8647d45f
Exists in
master
and in
1 other branch
[Teste] Debugando
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
rn/MdWsSeiDocumentoRN.php
| ... | ... | @@ -266,6 +266,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { |
| 266 | 266 | throw new InfraException('Documento não encontrado!'); |
| 267 | 267 | } |
| 268 | 268 | if ($documentoDTO->getStrStaDocumento()==DocumentoRN::$TD_EDITOR_EDOC) { |
| 269 | + echo 444;exit; | |
| 269 | 270 | if ($documentoDTO->getDblIdDocumentoEdoc() == null) { |
| 270 | 271 | throw new InfraException('Documento sem conteúdo!'); |
| 271 | 272 | } |
| ... | ... | @@ -274,6 +275,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { |
| 274 | 275 | |
| 275 | 276 | return MdWsSeiRest::formataRetornoSucessoREST(null, array('html' => $html)); |
| 276 | 277 | }else if ($documentoDTO->getStrStaDocumento() == DocumentoRN::$TD_EDITOR_INTERNO){ |
| 278 | + echo 333;exit; | |
| 277 | 279 | $editorDTO = new EditorDTO(); |
| 278 | 280 | $editorDTO->setDblIdDocumento($documentoDTO->getDblIdDocumento()); |
| 279 | 281 | $editorDTO->setNumIdBaseConhecimento(null); |
| ... | ... | @@ -297,6 +299,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { |
| 297 | 299 | |
| 298 | 300 | return MdWsSeiRest::formataRetornoSucessoREST(null, array('html' => $html)); |
| 299 | 301 | }else if ($documentoDTO->getStrStaProtocoloProtocolo() == ProtocoloRN::$TP_DOCUMENTO_RECEBIDO){ |
| 302 | + echo 222;exit; | |
| 300 | 303 | $anexoDTO = new AnexoDTO(); |
| 301 | 304 | $anexoDTO->retNumIdAnexo(); |
| 302 | 305 | $anexoDTO->setDblIdProtocolo($documentoDTO->getDblIdDocumento()); |
| ... | ... | @@ -309,6 +312,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { |
| 309 | 312 | throw new InfraException('Documento sem conteúdo!'); |
| 310 | 313 | } |
| 311 | 314 | }else{ |
| 315 | + echo 111;exit; | |
| 312 | 316 | $documentoDTO = new DocumentoDTO(); |
| 313 | 317 | $documentoDTO->setDblIdDocumento($protocoloDTOParam->getDblIdProtocolo()); |
| 314 | 318 | $documentoDTO->setObjInfraSessao(SessaoSEI::getInstance()); | ... | ... |