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,6 +266,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | ||
| 266 | throw new InfraException('Documento não encontrado!'); | 266 | throw new InfraException('Documento não encontrado!'); |
| 267 | } | 267 | } |
| 268 | if ($documentoDTO->getStrStaDocumento()==DocumentoRN::$TD_EDITOR_EDOC) { | 268 | if ($documentoDTO->getStrStaDocumento()==DocumentoRN::$TD_EDITOR_EDOC) { |
| 269 | + echo 444;exit; | ||
| 269 | if ($documentoDTO->getDblIdDocumentoEdoc() == null) { | 270 | if ($documentoDTO->getDblIdDocumentoEdoc() == null) { |
| 270 | throw new InfraException('Documento sem conteúdo!'); | 271 | throw new InfraException('Documento sem conteúdo!'); |
| 271 | } | 272 | } |
| @@ -274,6 +275,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | @@ -274,6 +275,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | ||
| 274 | 275 | ||
| 275 | return MdWsSeiRest::formataRetornoSucessoREST(null, array('html' => $html)); | 276 | return MdWsSeiRest::formataRetornoSucessoREST(null, array('html' => $html)); |
| 276 | }else if ($documentoDTO->getStrStaDocumento() == DocumentoRN::$TD_EDITOR_INTERNO){ | 277 | }else if ($documentoDTO->getStrStaDocumento() == DocumentoRN::$TD_EDITOR_INTERNO){ |
| 278 | + echo 333;exit; | ||
| 277 | $editorDTO = new EditorDTO(); | 279 | $editorDTO = new EditorDTO(); |
| 278 | $editorDTO->setDblIdDocumento($documentoDTO->getDblIdDocumento()); | 280 | $editorDTO->setDblIdDocumento($documentoDTO->getDblIdDocumento()); |
| 279 | $editorDTO->setNumIdBaseConhecimento(null); | 281 | $editorDTO->setNumIdBaseConhecimento(null); |
| @@ -297,6 +299,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | @@ -297,6 +299,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | ||
| 297 | 299 | ||
| 298 | return MdWsSeiRest::formataRetornoSucessoREST(null, array('html' => $html)); | 300 | return MdWsSeiRest::formataRetornoSucessoREST(null, array('html' => $html)); |
| 299 | }else if ($documentoDTO->getStrStaProtocoloProtocolo() == ProtocoloRN::$TP_DOCUMENTO_RECEBIDO){ | 301 | }else if ($documentoDTO->getStrStaProtocoloProtocolo() == ProtocoloRN::$TP_DOCUMENTO_RECEBIDO){ |
| 302 | + echo 222;exit; | ||
| 300 | $anexoDTO = new AnexoDTO(); | 303 | $anexoDTO = new AnexoDTO(); |
| 301 | $anexoDTO->retNumIdAnexo(); | 304 | $anexoDTO->retNumIdAnexo(); |
| 302 | $anexoDTO->setDblIdProtocolo($documentoDTO->getDblIdDocumento()); | 305 | $anexoDTO->setDblIdProtocolo($documentoDTO->getDblIdDocumento()); |
| @@ -309,6 +312,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | @@ -309,6 +312,7 @@ class MdWsSeiDocumentoRN extends DocumentoRN { | ||
| 309 | throw new InfraException('Documento sem conteúdo!'); | 312 | throw new InfraException('Documento sem conteúdo!'); |
| 310 | } | 313 | } |
| 311 | }else{ | 314 | }else{ |
| 315 | + echo 111;exit; | ||
| 312 | $documentoDTO = new DocumentoDTO(); | 316 | $documentoDTO = new DocumentoDTO(); |
| 313 | $documentoDTO->setDblIdDocumento($protocoloDTOParam->getDblIdProtocolo()); | 317 | $documentoDTO->setDblIdDocumento($protocoloDTOParam->getDblIdProtocolo()); |
| 314 | $documentoDTO->setObjInfraSessao(SessaoSEI::getInstance()); | 318 | $documentoDTO->setObjInfraSessao(SessaoSEI::getInstance()); |