Rev 631 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 631 | Rev 705 | ||
|---|---|---|---|
| Line 58... | Line 58... | ||
| 58 | return vendaRepository; |
58 | return vendaRepository; |
| 59 | }
|
59 | }
|
| 60 | 60 | ||
| 61 | @Override |
61 | @Override |
| 62 | public Double obterValorTotalBrutoDeVendas(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO) { |
62 | public Double obterValorTotalBrutoDeVendas(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO) { |
| - | 63 | return vendaRepository.obterValorTotalBrutoDeVendas(parametrosConsultaVendasDTO); |
|
| - | 64 | }
|
|
| - | 65 | ||
| - | 66 | @Override |
|
| - | 67 | public Double obterValorTotalBrutoDeVendasRetirandoValorCuponsUtilizados(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO) { |
|
| 63 | Double valorTotal = vendaRepository.obterValorTotalBrutoDeVendas(parametrosConsultaVendasDTO); |
68 | Double valorTotal = vendaRepository.obterValorTotalBrutoDeVendas(parametrosConsultaVendasDTO); |
| 64 | valorTotal = valorTotal - vendaRepository.obterValorDeCuponsUtilizadosPorLojaEePeriodo(parametrosConsultaVendasDTO); |
69 | valorTotal = valorTotal - vendaRepository.obterValorDeCuponsUtilizadosPorLojaEePeriodo(parametrosConsultaVendasDTO); |
| 65 | return valorTotal; |
70 | return valorTotal; |
| 66 | }
|
71 | }
|
| 67 | 72 | ||