Commit 67638ccc97dc362a00241c92759c89653ef1398b

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

desenvolvimento do WI = 11007 - [WorkItem][Listar Processos] - Ajuste na flag pr…

…ocessoAcessadoUnidade e indicação de processo gerado ou recebido v2
Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
rn/MdWsSeiProcedimentoRN.php
... ... @@ -973,7 +973,7 @@ class MdWsSeiProcedimentoRN extends InfraRN
973 973 throw new InfraException('O tipo de busca deve ser (R)ecebidos ou (G)erados');
974 974 }
975 975 $ret = $atividadeRN->listarPendencias($pesquisaPendenciaDTO);
976   - $result = $this->montaRetornoListagemProcessos($ret, $usuarioAtribuicaoAtividade);
  976 + $result = $this->montaRetornoListagemProcessos($ret, $usuarioAtribuicaoAtividade, $mdWsSeiProtocoloDTOParam->getStrSinTipoBusca());
977 977  
978 978 return MdWsSeiRest::formataRetornoSucessoREST(null, $result, $pesquisaPendenciaDTO->getNumTotalRegistros());
979 979 } catch (Exception $e) {
... ... @@ -988,7 +988,7 @@ class MdWsSeiProcedimentoRN extends InfraRN
988 988 * @param null $usuarioAtribuicaoAtividade
989 989 * @return array
990 990 */
991   - private function montaRetornoListagemProcessos(array $ret, $usuarioAtribuicaoAtividade = null)
  991 + private function montaRetornoListagemProcessos(array $ret, $usuarioAtribuicaoAtividade = null , $typeSource = null)
992 992 {
993 993 $result = array();
994 994 $protocoloRN = new ProtocoloRN();
... ... @@ -1275,6 +1275,7 @@ class MdWsSeiProcedimentoRN extends InfraRN
1275 1275 'processoAnexado' => $processoAnexado ? 'S' : 'N',
1276 1276 'podeReabrirProcesso' => $podeReabrirProcesso ? 'S' : 'N',
1277 1277 'podeRegistrarAnotacao' => $podeRegistrarAnotacao ? 'S' : 'N',
  1278 + 'tipo' => $typeSource
1278 1279 )
1279 1280 )
1280 1281 );
... ...