Rev 381 | Rev 383 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 381 | Rev 382 | ||
|---|---|---|---|
| Line 17... | Line 17... | ||
| 17 | import br.com.ec.core.generic.GenericService; |
17 | import br.com.ec.core.generic.GenericService; |
| 18 | import br.com.ec.core.util.DataUtils; |
18 | import br.com.ec.core.util.DataUtils; |
| 19 | import br.com.ec.core.util.VerificadorUtil; |
19 | import br.com.ec.core.util.VerificadorUtil; |
| 20 | import br.com.ec.domain.dto.ConciliacaoBancariaDTO; |
20 | import br.com.ec.domain.dto.ConciliacaoBancariaDTO; |
| 21 | import br.com.ec.domain.dto.ConciliacaoBancariaLancamentoDTO; |
21 | import br.com.ec.domain.dto.ConciliacaoBancariaLancamentoDTO; |
| 22 | import br.com.ec.domain.dto.ConciliacaoBancariaRecebiveisDTO; |
- | |
| - | 22 | import br.com.ec.domain.dto.ConciliacaoBancariaLancamentoDetalhadoDTO; |
|
| 23 | import br.com.ec.domain.dto.EmpresaDTO; |
23 | import br.com.ec.domain.dto.EmpresaDTO; |
| 24 | import br.com.ec.domain.dto.ExtratoBancarioArquivoDTO; |
24 | import br.com.ec.domain.dto.ExtratoBancarioArquivoDTO; |
| 25 | import br.com.ec.domain.dto.ExtratoBancoDTO; |
25 | import br.com.ec.domain.dto.ExtratoBancoDTO; |
| 26 | import br.com.ec.domain.dto.ParcelaDTO; |
26 | import br.com.ec.domain.dto.ParcelaDTO; |
| 27 | import br.com.ec.domain.model.tipos.TipoExtratoBancarioCsv; |
27 | import br.com.ec.domain.model.tipos.TipoExtratoBancarioCsv; |
| Line 247... | Line 247... | ||
| 247 | lancamento.setValorDebitoBanco(4139.36); |
247 | lancamento.setValorDebitoBanco(4139.36); |
| 248 | lancamento.setValorDebitoSistema(4139.49); |
248 | lancamento.setValorDebitoSistema(4139.49); |
| 249 | lancamento.setValorCreditoBanco(4884.52); |
249 | lancamento.setValorCreditoBanco(4884.52); |
| 250 | lancamento.setValorCreditoSistema(4844.68); |
250 | lancamento.setValorCreditoSistema(4844.68); |
| 251 | 251 | ||
| 252 | List<ConciliacaoBancariaRecebiveisDTO> recebiveisDebitos = new ArrayList<ConciliacaoBancariaRecebiveisDTO>(); |
- | |
| - | 252 | List<ConciliacaoBancariaLancamentoDetalhadoDTO> recebiveisDebitos = new ArrayList<ConciliacaoBancariaLancamentoDetalhadoDTO>(); |
|
| 253 | 253 | ||
| 254 | // BRADESCO: DÉBITOS ESPAÇO CASE
|
254 | // BRADESCO: DÉBITOS ESPAÇO CASE
|
| 255 | ConciliacaoBancariaRecebiveisDTO recebivelDEC = new ConciliacaoBancariaRecebiveisDTO(); |
- | |
| - | 255 | ConciliacaoBancariaLancamentoDetalhadoDTO recebivelDEC = new ConciliacaoBancariaLancamentoDetalhadoDTO(); |
|
| 256 | recebivelDEC.setObservacao("BRADESCO: DÉBITOS ESPAÇO CASE"); |
256 | recebivelDEC.setObservacao("BRADESCO: DÉBITOS ESPAÇO CASE"); |
| 257 | ParcelaDTO parcela1 = new ParcelaDTO(); |
257 | ParcelaDTO parcela1 = new ParcelaDTO(); |
| 258 | parcela1.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
258 | parcela1.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
| 259 | parcela1.setObservacao("REDE MASTER DÉBITO REDECARD S A"); |
259 | parcela1.setObservacao("REDE MASTER DÉBITO REDECARD S A"); |
| 260 | parcela1.setValor(1331.58); |
260 | parcela1.setValor(1331.58); |
| Line 276... | Line 276... | ||
| 276 | parcela4.setValor(97.90); |
276 | parcela4.setValor(97.90); |
| 277 | recebivelDEC.getParcelasSistema().add(parcela4); |
277 | recebivelDEC.getParcelasSistema().add(parcela4); |
| 278 | recebiveisDebitos.add(recebivelDEC); |
278 | recebiveisDebitos.add(recebivelDEC); |
| 279 | 279 | ||
| 280 | // BRADESCO: DÉBITOS CASA DAS CAPAS
|
280 | // BRADESCO: DÉBITOS CASA DAS CAPAS
|
| 281 | ConciliacaoBancariaRecebiveisDTO recebivelDCC = new ConciliacaoBancariaRecebiveisDTO(); |
- | |
| - | 281 | ConciliacaoBancariaLancamentoDetalhadoDTO recebivelDCC = new ConciliacaoBancariaLancamentoDetalhadoDTO(); |
|
| 282 | recebivelDCC.setObservacao("BRADESCO: DÉBITOS CASA DAS CAPAS"); |
282 | recebivelDCC.setObservacao("BRADESCO: DÉBITOS CASA DAS CAPAS"); |
| 283 | ParcelaDTO parcela5 = new ParcelaDTO(); |
283 | ParcelaDTO parcela5 = new ParcelaDTO(); |
| 284 | parcela5.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
284 | parcela5.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
| 285 | parcela5.setObservacao("REDE MASTER DÉBITO REDECARD S A"); |
285 | parcela5.setObservacao("REDE MASTER DÉBITO REDECARD S A"); |
| 286 | parcela5.setValor(31.00); |
286 | parcela5.setValor(31.00); |
| Line 303... | Line 303... | ||
| 303 | recebivelDCC.getParcelasSistema().add(parcela8); |
303 | recebivelDCC.getParcelasSistema().add(parcela8); |
| 304 | recebiveisDebitos.add(recebivelDCC); |
304 | recebiveisDebitos.add(recebivelDCC); |
| 305 | 305 | ||
| 306 | lancamento.setParcelasRecebiveisDebitos(recebiveisDebitos); |
306 | lancamento.setParcelasRecebiveisDebitos(recebiveisDebitos); |
| 307 | 307 | ||
| 308 | List<ConciliacaoBancariaRecebiveisDTO> recebiveisCreditos = new ArrayList<ConciliacaoBancariaRecebiveisDTO>(); |
- | |
| 309 | ConciliacaoBancariaRecebiveisDTO recebivelCEC = new ConciliacaoBancariaRecebiveisDTO(); |
- | |
| - | 308 | List<ConciliacaoBancariaLancamentoDetalhadoDTO> recebiveisCreditos = new ArrayList<ConciliacaoBancariaLancamentoDetalhadoDTO>(); |
|
| - | 309 | ConciliacaoBancariaLancamentoDetalhadoDTO recebivelCEC = new ConciliacaoBancariaLancamentoDetalhadoDTO(); |
|
| 310 | // BRADESCO: CRÉDITOS ESPAÇO CASE
|
310 | // BRADESCO: CRÉDITOS ESPAÇO CASE
|
| 311 | recebivelCEC.setObservacao("BRADESCO: CRÉDITOS ESPAÇO CASE"); |
311 | recebivelCEC.setObservacao("BRADESCO: CRÉDITOS ESPAÇO CASE"); |
| 312 | ParcelaDTO parcela9 = new ParcelaDTO(); |
312 | ParcelaDTO parcela9 = new ParcelaDTO(); |
| 313 | parcela9.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
313 | parcela9.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
| 314 | parcela9.setObservacao("REDE MASTER CRÉDITO REDECARD S A"); |
314 | parcela9.setObservacao("REDE MASTER CRÉDITO REDECARD S A"); |
| Line 331... | Line 331... | ||
| 331 | parcela12.setValor(2007.00); |
331 | parcela12.setValor(2007.00); |
| 332 | recebivelCEC.getParcelasSistema().add(parcela12); |
332 | recebivelCEC.getParcelasSistema().add(parcela12); |
| 333 | recebiveisCreditos.add(recebivelCEC); |
333 | recebiveisCreditos.add(recebivelCEC); |
| 334 | 334 | ||
| 335 | // BRADESCO: DÉBITOS CASA DAS CAPAS
|
335 | // BRADESCO: DÉBITOS CASA DAS CAPAS
|
| 336 | ConciliacaoBancariaRecebiveisDTO recebivelCCC = new ConciliacaoBancariaRecebiveisDTO(); |
- | |
| - | 336 | ConciliacaoBancariaLancamentoDetalhadoDTO recebivelCCC = new ConciliacaoBancariaLancamentoDetalhadoDTO(); |
|
| 337 | recebivelCCC.setObservacao("BRADESCO: CRÉDITOS CASA DAS CAPAS"); |
337 | recebivelCCC.setObservacao("BRADESCO: CRÉDITOS CASA DAS CAPAS"); |
| 338 | ParcelaDTO parcela13 = new ParcelaDTO(); |
338 | ParcelaDTO parcela13 = new ParcelaDTO(); |
| 339 | parcela13.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
339 | parcela13.setDataPagamento(DataUtils.converterStringParaData("01/07/2021")); |
| 340 | parcela13.setObservacao("REDE MASTER CRÉDITO REDECARD S A"); |
340 | parcela13.setObservacao("REDE MASTER CRÉDITO REDECARD S A"); |
| 341 | parcela13.setValor(310.00); |
341 | parcela13.setValor(310.00); |