Rev 450 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 450 | Rev 452 | ||
|---|---|---|---|
| Line 16... | Line 16... | ||
| 16 | import br.com.ec.core.util.DataUtils; |
16 | import br.com.ec.core.util.DataUtils; |
| 17 | import br.com.ec.domain.dto.AuditoriaVendaDTO; |
17 | import br.com.ec.domain.dto.AuditoriaVendaDTO; |
| 18 | import br.com.ec.domain.dto.LojaDTO; |
18 | import br.com.ec.domain.dto.LojaDTO; |
| 19 | import br.com.ec.domain.service.VendaService; |
19 | import br.com.ec.domain.service.VendaService; |
| 20 | import br.com.ec.domain.shared.ConstantesSEC; |
20 | import br.com.ec.domain.shared.ConstantesSEC; |
| - | 21 | import br.com.ec.web.exception.VerificadorLancamentoException; |
|
| - | 22 | import br.com.ec.web.exception.VerificadorLancamentoException.CommandBean; |
|
| 21 | import br.com.ec.web.generic.AbstractBean; |
23 | import br.com.ec.web.generic.AbstractBean; |
| 22 | import br.com.ec.web.util.DataUtil; |
24 | import br.com.ec.web.util.DataUtil; |
| 23 | 25 | ||
| 24 | @Named |
26 | @Named |
| 25 | @Scope("view") |
27 | @Scope("view") |
| Line 104... | Line 106... | ||
| 104 | public Long getSequencialQuiosquePatio() { |
106 | public Long getSequencialQuiosquePatio() { |
| 105 | return ConstantesSEC.Loja.SEQUENCIAL_QUIOSQUE_PATIO_5; |
107 | return ConstantesSEC.Loja.SEQUENCIAL_QUIOSQUE_PATIO_5; |
| 106 | }
|
108 | }
|
| 107 | 109 | ||
| 108 | public void consultarAuditoriaVenda() { |
110 | public void consultarAuditoriaVenda() { |
| 109 | List<AuditoriaVendaDTO> lista = vendaService.consultarAuditoriaVenda(getDataSelecionada(), getSequencialLojaSelecionada()); |
- | |
| 110 | setListaAuditoriaVendaDTO(lista); |
- | |
| - | 111 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
|
| - | 112 | public void execute() { |
|
| - | 113 | setListaAuditoriaVendaDTO(vendaService.consultarAuditoriaVenda(getDataSelecionada(), getSequencialLojaSelecionada())); |
|
| - | 114 | }
|
|
| - | 115 | }); |
|
| - | 116 | ||
| 111 | }
|
117 | }
|
| 112 | 118 | ||
| 113 | }
|
119 | }
|