Rev 523 | Rev 525 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 523 | Rev 524 | ||
|---|---|---|---|
| Line 15... | Line 15... | ||
| 15 | 15 | ||
| 16 | public VigenciaDTO() {} |
16 | public VigenciaDTO() {} |
| 17 | 17 | ||
| 18 | public static String CONSULTA_DTO_CONSOLIDACAO = "new br.com.ec.domain.dto.VigenciaDTO(" |
18 | public static String CONSULTA_DTO_CONSOLIDACAO = "new br.com.ec.domain.dto.VigenciaDTO(" |
| 19 | + "e.sequencial, e.descricao, e.dataInicio, e.dataFim, "
|
19 | + "e.sequencial, e.descricao, e.dataInicio, e.dataFim, "
|
| 20 | + "EXISTS (SELECT c FROM ConsolidacaoEstoque c WHERE c.vigencia.sequencial = e.sequencial) "; |
- | |
| - | 20 | + "EXISTS (SELECT c FROM ConsolidadoEstoque c WHERE c.vigencia.sequencial = e.sequencial)) "; |
|
| 21 | public VigenciaDTO(Long sequencial, String descricao, Date dataInicio, Date dataFim, Boolean possuiConsolidacaoEstoque) { |
21 | public VigenciaDTO(Long sequencial, String descricao, Date dataInicio, Date dataFim, Boolean possuiConsolidacaoEstoque) { |
| 22 | this.sequencial = sequencial; |
22 | this.sequencial = sequencial; |
| 23 | this.descricao = descricao; |
23 | this.descricao = descricao; |
| 24 | this.dataInicio = dataInicio; |
24 | this.dataInicio = dataInicio; |
| 25 | this.dataFim = dataFim; |
25 | this.dataFim = dataFim; |