Rev 402 | Rev 407 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 402 | Rev 403 | ||
|---|---|---|---|
| Line 155... | Line 155... | ||
| 155 | !extratoBancoDTO.getDescricao().contains("TRANSF 7951.99861-1") && |
155 | !extratoBancoDTO.getDescricao().contains("TRANSF 7951.99861-1") && |
| 156 | !extratoBancoDTO.getDescricao().contains("TRANSF ESPACO")) { |
156 | !extratoBancoDTO.getDescricao().contains("TRANSF ESPACO")) { |
| 157 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.TRANSFERENCIAS.getValor()); |
157 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.TRANSFERENCIAS.getValor()); |
| 158 | } else if (extratoBancoDTO.getDescricao().contains("APLIC AUT")) { |
158 | } else if (extratoBancoDTO.getDescricao().contains("APLIC AUT")) { |
| 159 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.OUTROS.getValor()); |
159 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.OUTROS.getValor()); |
| 160 | } else if (!extratoBancoDTO.getDescricao().contains("SALDO PARCIAL") && |
- | |
| - | 160 | } else if ((!extratoBancoDTO.getDescricao().contains("SALDO PARCIAL") && |
|
| 161 | !extratoBancoDTO.getDescricao().contains("TRANSF 7951.24318-2") && |
161 | !extratoBancoDTO.getDescricao().contains("TRANSF 7951.24318-2") && |
| 162 | !extratoBancoDTO.getDescricao().contains("TRANSF 7951.99861-1") && |
162 | !extratoBancoDTO.getDescricao().contains("TRANSF 7951.99861-1") && |
| 163 | (!extratoBancoDTO.getDescricao().contains("SISPAG") || |
- | |
| 164 | extratoBancoDTO.getDescricao().contains("SISPAG SALARIOS"))) { |
- | |
| - | 163 | !extratoBancoDTO.getDescricao().contains("SISPAG TRIBUTOS") && |
|
| - | 164 | !extratoBancoDTO.getDescricao().contains("SISPAG FORNECEDORES")) || |
|
| - | 165 | (extratoBancoDTO.getDescricao().contains("SISPAG SALARIOS"))) { |
|
| 165 | if (VerificadorUtil.naoEstaNulo(valor)) { |
166 | if (VerificadorUtil.naoEstaNulo(valor)) { |
| 166 | if (valor < 0.0) { |
167 | if (valor < 0.0) { |
| 167 | extratoBancoDTO.setValorTotal(valor * -1); |
168 | extratoBancoDTO.setValorTotal(valor * -1); |
| 168 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.PAGAMENTO.getValor()); |
169 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.PAGAMENTO.getValor()); |
| - | 170 | } else { |
|
| - | 171 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.OUTROS.getValor()); |
|
| 169 | }
|
172 | }
|
| 170 | }
|
173 | }
|
| 171 | }
|
174 | }
|
| 172 | if (!extratoBancoDTO.getTipoExtratoBanco().equals(TipoExtratoBanco.SEM_CATEGORIA.getValor())) { |
175 | if (!extratoBancoDTO.getTipoExtratoBanco().equals(TipoExtratoBanco.SEM_CATEGORIA.getValor())) { |
| 173 | extratoBancoDTO.setIndicadorCadastrar(true); |
176 | extratoBancoDTO.setIndicadorCadastrar(true); |
| Line 289... | Line 292... | ||
| 289 | !extratoBancoDTO.getDescricao().contains("BAIXA AUTOMATICA FUNDOS")) { |
292 | !extratoBancoDTO.getDescricao().contains("BAIXA AUTOMATICA FUNDOS")) { |
| 290 | if (VerificadorUtil.naoEstaNulo(valor)) { |
293 | if (VerificadorUtil.naoEstaNulo(valor)) { |
| 291 | if (valor < 0.0) { |
294 | if (valor < 0.0) { |
| 292 | extratoBancoDTO.setValorTotal(valor); |
295 | extratoBancoDTO.setValorTotal(valor); |
| 293 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.PAGAMENTO.getValor()); |
296 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.PAGAMENTO.getValor()); |
| - | 297 | } else { |
|
| - | 298 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.OUTROS.getValor()); |
|
| 294 | }
|
299 | }
|
| 295 | }
|
300 | }
|
| 296 | }
|
301 | }
|
| 297 | if (!extratoBancoDTO.getTipoExtratoBanco().equals(TipoExtratoBanco.SEM_CATEGORIA.getValor())) { |
302 | if (!extratoBancoDTO.getTipoExtratoBanco().equals(TipoExtratoBanco.SEM_CATEGORIA.getValor())) { |
| 298 | extratoBancoDTO.setIndicadorCadastrar(true); |
303 | extratoBancoDTO.setIndicadorCadastrar(true); |
| Line 340... | Line 345... | ||
| 340 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.TRANSFERENCIAS.getValor()); |
345 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.TRANSFERENCIAS.getValor()); |
| 341 | } else if (VerificadorUtil.naoEstaNulo(valor)) { |
346 | } else if (VerificadorUtil.naoEstaNulo(valor)) { |
| 342 | if (valor < 0.0) { |
347 | if (valor < 0.0) { |
| 343 | extratoBancoDTO.setValorTotal(valor); |
348 | extratoBancoDTO.setValorTotal(valor); |
| 344 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.PAGAMENTO.getValor()); |
349 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.PAGAMENTO.getValor()); |
| - | 350 | } else { |
|
| - | 351 | extratoBancoDTO.setTipoExtratoBanco(TipoExtratoBanco.OUTROS.getValor()); |
|
| 345 | }
|
352 | }
|
| 346 | }
|
353 | }
|
| 347 | if (!extratoBancoDTO.getTipoExtratoBanco().equals(TipoExtratoBanco.SEM_CATEGORIA.getValor())) { |
354 | if (!extratoBancoDTO.getTipoExtratoBanco().equals(TipoExtratoBanco.SEM_CATEGORIA.getValor())) { |
| 348 | extratoBancoDTO.setIndicadorCadastrar(true); |
355 | extratoBancoDTO.setIndicadorCadastrar(true); |
| 349 | } else { |
356 | } else { |