Commit 60476df6cebf149bb6e49f787c85e8e4fd6d2404
1 parent
7d78c7c0
Exists in
master
and in
1 other branch
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 | 277 | $assuntoDTO->retNumIdAssunto(); |
278 | 278 | $assuntoDTO->retStrCodigoEstruturado(); |
279 | 279 | $assuntoDTO->retStrDescricao(); |
280 | + $assuntoDTO->retStrSinEstrutural(); | |
280 | 281 | |
281 | 282 | // REALIZA A CHAMADA DA DE ASSUNTOS |
282 | 283 | |
... | ... | @@ -285,10 +286,12 @@ class MdWsSeiProcedimentoRN extends InfraRN |
285 | 286 | $arrayRetorno = array(); |
286 | 287 | if($arrAssuntoDTO){ |
287 | 288 | foreach ($arrAssuntoDTO as $obj) { |
289 | + | |
288 | 290 | $arrayRetorno[] = array( |
289 | 291 | "id" => $obj->getNumIdAssunto(), |
290 | 292 | "codigo" => $obj->getStrCodigoEstruturado(), |
291 | 293 | "descricao" => $obj->getStrDescricao(), |
294 | + "item_apenas_estrutural" => ($obj->getStrSinEstrutural() == "S") ? true : false | |
292 | 295 | ); |
293 | 296 | } |
294 | 297 | } | ... | ... |