Rev 730 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 730 | Rev 741 | ||
|---|---|---|---|
| Line 139... | Line 139... | ||
| 139 | Long sequencial = new Long(1); |
139 | Long sequencial = new Long(1); |
| 140 | for (String linha : this.getLinhasArquivo()) { |
140 | for (String linha : this.getLinhasArquivo()) { |
| 141 | String[] dadosSeparados = linha.split(";"); |
141 | String[] dadosSeparados = linha.split(";"); |
| 142 | if (dadosSeparados.length >= 29) { |
142 | if (dadosSeparados.length >= 29) { |
| 143 | if (VerificadorUtil.naoEstaNuloOuVazio(dadosSeparados[2])) { |
143 | if (VerificadorUtil.naoEstaNuloOuVazio(dadosSeparados[2])) { |
| 144 | if (dadosSeparados[29].contains("antecipada")) { |
- | |
| - | 144 | if (dadosSeparados[29].contains("antecipada") || dadosSeparados[29].contains("agendada")) { |
|
| 145 | ExtratoAntecipacaoDTO extratoAntecipacaoDTO = new ExtratoAntecipacaoDTO(); |
145 | ExtratoAntecipacaoDTO extratoAntecipacaoDTO = new ExtratoAntecipacaoDTO(); |
| 146 | extratoAntecipacaoDTO.setSequencial(sequencial); |
146 | extratoAntecipacaoDTO.setSequencial(sequencial); |
| 147 | sequencial++;
|
147 | sequencial++;
|
| 148 | extratoAntecipacaoDTO.setDataRecebimento(DataUtil.retornarDataApartirString("dd/MM/yyyy", dadosSeparados[0])); |
148 | extratoAntecipacaoDTO.setDataRecebimento(DataUtil.retornarDataApartirString("dd/MM/yyyy", dadosSeparados[0])); |
| 149 | extratoAntecipacaoDTO.setDataVenda(DataUtil.retornarDataApartirString("dd/MM/yyyy", dadosSeparados[1])); |
149 | extratoAntecipacaoDTO.setDataVenda(DataUtil.retornarDataApartirString("dd/MM/yyyy", dadosSeparados[1])); |