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