Rev 259 | Rev 265 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 259 | Rev 261 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | package br.com.ec.repository; |
1 | package br.com.ec.repository; |
| - | 2 | ||
| - | 3 | import java.util.List; |
|
| 2 | 4 | ||
| 3 | import br.com.ec.core.generic.GenericRepository; |
5 | import br.com.ec.core.generic.GenericRepository; |
| - | 6 | import br.com.ec.domain.dto.FormaPagamentoDTO; |
|
| 4 | import br.com.ec.domain.dto.consulta.ParametrosConsultaVendasDTO; |
7 | import br.com.ec.domain.dto.consulta.ParametrosConsultaVendasDTO; |
| - | 8 | import br.com.ec.domain.model.FormaPagamento; |
|
| 5 | import br.com.ec.domain.model.Venda; |
9 | import br.com.ec.domain.model.Venda; |
| 6 | 10 | ||
| 7 | public interface VendaRepository extends GenericRepository<Venda> { |
11 | public interface VendaRepository extends GenericRepository<Venda> { |
| 8 | 12 | ||
| 9 | Integer obterQuantidadeDeVendasPorLojaEePeriodo(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO); |
13 | Integer obterQuantidadeDeVendasPorLojaEePeriodo(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO); |
| 10 | 14 | ||
| 11 | Double obterValorTotalBrutoDeVendasPorLojaEePeriodo(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO); |
15 | Double obterValorTotalBrutoDeVendasPorLojaEePeriodo(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO); |
| 12 | 16 | ||
| 13 | Double obterValorDeCuponsUtilizadosPorLojaEePeriodo(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO); |
17 | Double obterValorDeCuponsUtilizadosPorLojaEePeriodo(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO); |
| - | 18 | ||
| - | 19 | Double obterValorTotalBrutoDeVendasPorLojaEePeriodoEeFormasDePagamento(ParametrosConsultaVendasDTO parametrosConsultaVendasDTO, List<FormaPagamentoDTO> formasDePagamento); |
|
| 14 | 20 | ||
| 15 | /*
|
21 | /*
|
| 16 | Venda detalharVenda(Venda venda);
|
22 | Venda detalharVenda(Venda venda);
|
| 17 |
|
23 |
|
| 18 | Venda detalharVendaCompleta(Venda venda);
|
24 | Venda detalharVendaCompleta(Venda venda);
|