Commit a1bf23f3af44e4f82d0e2be72121eae45d627325
1 parent
a9d3304e
Exists in
master
and in
1 other branch
Correção de regra de negócio sobre o Intercorrente
Showing
1 changed file
with
0 additions
and
15 deletions
Show diff stats
sei/web/modulos/peticionamento/int/MdPetIntercorrenteINT.php
| ... | ... | @@ -254,21 +254,6 @@ |
| 254 | 254 | $objMdPetCriterioRN = new MdPetCriterioRN(); |
| 255 | 255 | $arrMdPetCriterioDTO = $objMdPetCriterioRN->consultar($objMdPetCriterioDTO); |
| 256 | 256 | |
| 257 | - //Tipo de Procedimento ATIVO | |
| 258 | - if (!is_null($arrMdPetCriterioDTO)) { | |
| 259 | - $objTipoProcedimentoDTO = new TipoProcedimentoDTO(); | |
| 260 | - $objTipoProcedimentoDTO->setNumIdTipoProcedimento($arrMdPetCriterioDTO->getNumIdTipoProcedimento()); | |
| 261 | - $objTipoProcedimentoDTO->setStrSinAtivo('S'); | |
| 262 | - $objTipoProcedimentoDTO->retTodos(); | |
| 263 | - $objTipoProcedimentoRN = new TipoProcedimentoRN(); | |
| 264 | - $arrObjTipoProcedimentoDTO = $objTipoProcedimentoRN->consultarRN0267($objTipoProcedimentoDTO); | |
| 265 | - | |
| 266 | - if (is_null($arrObjTipoProcedimentoDTO)){ | |
| 267 | - $arrMdPetCriterioDTO = null; | |
| 268 | - } | |
| 269 | - } | |
| 270 | - | |
| 271 | - | |
| 272 | 257 | //Se não tem criterio intercorrente cadastrado, verifica se tem interorrente padrão cadastrado. |
| 273 | 258 | if (is_null($arrMdPetCriterioDTO)) { |
| 274 | 259 | $objMdPetCriterioDTO = new MdPetCriterioDTO(); | ... | ... |