Rev 693 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 693 | Rev 697 | ||
|---|---|---|---|
| Line 195... | Line 195... | ||
| 195 | if (!tipoProdutoLancamento.equals(TipoProduto.PELICULA.getValor())) { |
195 | if (!tipoProdutoLancamento.equals(TipoProduto.PELICULA.getValor())) { |
| 196 | throw new RuntimeException(cupomSelecionado.getDescricaoDoTipoRegraCupom()); |
196 | throw new RuntimeException(cupomSelecionado.getDescricaoDoTipoRegraCupom()); |
| 197 | }
|
197 | }
|
| 198 | if (TipoRegraCupom.APENAS_PELICULA_TPUSOFT_P1.getValor().equals(cupomSelecionado.getTipoRegraCupom())) { |
198 | if (TipoRegraCupom.APENAS_PELICULA_TPUSOFT_P1.getValor().equals(cupomSelecionado.getTipoRegraCupom())) { |
| 199 | if (VerificadorUtil.naoEstaNulo(subtipoProdutoLancamento)) { |
199 | if (VerificadorUtil.naoEstaNulo(subtipoProdutoLancamento)) { |
| 200 | if (!subtipoProdutoLancamento.getSequencial().equals(ConstantesSEC.SubtipoProduto.SEQUENCIAL_SUBTIPO_TPU_SOFT_NORMAL_42) || |
- | |
| - | 200 | if (!subtipoProdutoLancamento.getSequencial().equals(ConstantesSEC.SubtipoProduto.SEQUENCIAL_SUBTIPO_TPU_SOFT_NORMAL_42) && |
|
| 201 | !subtipoProdutoLancamento.getSequencial().equals(ConstantesSEC.SubtipoProduto.SEQUENCIAL_SUBTIPO_TPU_SOFT_PRIVACIDADE_43)) { |
201 | !subtipoProdutoLancamento.getSequencial().equals(ConstantesSEC.SubtipoProduto.SEQUENCIAL_SUBTIPO_TPU_SOFT_PRIVACIDADE_43)) { |
| 202 | throw new RuntimeException(cupomSelecionado.getDescricaoDoTipoRegraCupom()); |
202 | throw new RuntimeException(cupomSelecionado.getDescricaoDoTipoRegraCupom()); |
| 203 | }
|
203 | }
|
| 204 | }
|
204 | }
|
| 205 | }
|
205 | }
|