Commit 60476df6cebf149bb6e49f787c85e8e4fd6d2404

Authored by Ezequiel Lafuente
1 parent 7d78c7c0
Exists in master and in 1 other branch desenv

Ajuste para retornar na requisição de pesquisa de assuntos mais um item, (item_apenas_estrutural)

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
rn/MdWsSeiProcedimentoRN.php
@@ -277,6 +277,7 @@ class MdWsSeiProcedimentoRN extends InfraRN @@ -277,6 +277,7 @@ class MdWsSeiProcedimentoRN extends InfraRN
277 $assuntoDTO->retNumIdAssunto(); 277 $assuntoDTO->retNumIdAssunto();
278 $assuntoDTO->retStrCodigoEstruturado(); 278 $assuntoDTO->retStrCodigoEstruturado();
279 $assuntoDTO->retStrDescricao(); 279 $assuntoDTO->retStrDescricao();
  280 + $assuntoDTO->retStrSinEstrutural();
280 281
281 // REALIZA A CHAMADA DA DE ASSUNTOS 282 // REALIZA A CHAMADA DA DE ASSUNTOS
282 283
@@ -285,10 +286,12 @@ class MdWsSeiProcedimentoRN extends InfraRN @@ -285,10 +286,12 @@ class MdWsSeiProcedimentoRN extends InfraRN
285 $arrayRetorno = array(); 286 $arrayRetorno = array();
286 if($arrAssuntoDTO){ 287 if($arrAssuntoDTO){
287 foreach ($arrAssuntoDTO as $obj) { 288 foreach ($arrAssuntoDTO as $obj) {
  289 +
288 $arrayRetorno[] = array( 290 $arrayRetorno[] = array(
289 "id" => $obj->getNumIdAssunto(), 291 "id" => $obj->getNumIdAssunto(),
290 "codigo" => $obj->getStrCodigoEstruturado(), 292 "codigo" => $obj->getStrCodigoEstruturado(),
291 "descricao" => $obj->getStrDescricao(), 293 "descricao" => $obj->getStrDescricao(),
  294 + "item_apenas_estrutural" => ($obj->getStrSinEstrutural() == "S") ? true : false
292 ); 295 );
293 } 296 }
294 } 297 }