Rev 114 | Rev 195 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 114 | Rev 138 | ||
|---|---|---|---|
| Line 61... | Line 61... | ||
| 61 | }
|
61 | }
|
| 62 | 62 | ||
| 63 | @Override |
63 | @Override |
| 64 | public void atualizarOrcamento(Orcamento orcamento) { |
64 | public void atualizarOrcamento(Orcamento orcamento) { |
| 65 | if (VerificadorUtil.naoEstaNulo(orcamento)) { |
65 | if (VerificadorUtil.naoEstaNulo(orcamento)) { |
| 66 | if (VerificadorUtil.estaNulo(orcamento.getCategoria().getSequencial())) { |
- | |
| - | 66 | if (VerificadorUtil.estaNulo(orcamento.getCategoria()) || |
|
| - | 67 | VerificadorUtil.estaNulo(orcamento.getCategoria().getSequencial())) { |
|
| 67 | orcamento.setCategoria(null); |
68 | orcamento.setCategoria(null); |
| 68 | }
|
69 | }
|
| 69 | if (VerificadorUtil.naoEstaNulo(orcamento.getSequencial())) { |
70 | if (VerificadorUtil.naoEstaNulo(orcamento.getSequencial())) { |
| 70 | alterar(orcamento); |
71 | alterar(orcamento); |
| 71 | } else { |
72 | } else { |