Rev 572 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 572 | Rev 580 | ||
|---|---|---|---|
| Line 87... | Line 87... | ||
| 87 | public void baterPontoInicio() { |
87 | public void baterPontoInicio() { |
| 88 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
88 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 89 | public void execute() { |
89 | public void execute() { |
| 90 | getEntidade().setDataHoraPontoInicio(DataUtils.getDataAtual()); |
90 | getEntidade().setDataHoraPontoInicio(DataUtils.getDataAtual()); |
| 91 | getEntidade().setIpPontoInicio(recuperarIpUsuario()); |
91 | getEntidade().setIpPontoInicio(recuperarIpUsuario()); |
| 92 | verificarSeIpIgualLoja(recuperarIpUsuario()); |
- | |
| - | 92 | // verificarSeIpIgualLoja(recuperarIpUsuario());
|
|
| 93 | baterPonto(); |
93 | baterPonto(); |
| 94 | }
|
94 | }
|
| 95 | }); |
95 | }); |
| 96 | }
|
96 | }
|
| 97 | 97 | ||
| Line 107... | Line 107... | ||
| 107 | public void baterPontoFim() { |
107 | public void baterPontoFim() { |
| 108 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
108 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 109 | public void execute() { |
109 | public void execute() { |
| 110 | getEntidade().setDataHoraPontoFim(DataUtils.getDataAtual()); |
110 | getEntidade().setDataHoraPontoFim(DataUtils.getDataAtual()); |
| 111 | getEntidade().setIpPontoFim(recuperarIpUsuario()); |
111 | getEntidade().setIpPontoFim(recuperarIpUsuario()); |
| 112 | verificarSeIpIgualLoja(recuperarIpUsuario()); |
- | |
| - | 112 | // verificarSeIpIgualLoja(recuperarIpUsuario());
|
|
| 113 | baterPonto(); |
113 | baterPonto(); |
| 114 | }
|
114 | }
|
| 115 | }); |
115 | }); |
| 116 | }
|
116 | }
|
| 117 | 117 | ||
| Line 127... | Line 127... | ||
| 127 | public void baterIntervaloInicio() { |
127 | public void baterIntervaloInicio() { |
| 128 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
128 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 129 | public void execute() { |
129 | public void execute() { |
| 130 | getEntidade().setDataHoraIntervaloInicio(DataUtils.getDataAtual()); |
130 | getEntidade().setDataHoraIntervaloInicio(DataUtils.getDataAtual()); |
| 131 | getEntidade().setIpPontoIntervaloInicio(recuperarIpUsuario()); |
131 | getEntidade().setIpPontoIntervaloInicio(recuperarIpUsuario()); |
| 132 | verificarSeIpIgualLoja(recuperarIpUsuario()); |
- | |
| - | 132 | // verificarSeIpIgualLoja(recuperarIpUsuario());
|
|
| 133 | baterPonto(); |
133 | baterPonto(); |
| 134 | }
|
134 | }
|
| 135 | }); |
135 | }); |
| 136 | }
|
136 | }
|
| 137 | 137 | ||
| Line 147... | Line 147... | ||
| 147 | public void baterIntervaloFim() { |
147 | public void baterIntervaloFim() { |
| 148 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
148 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 149 | public void execute() { |
149 | public void execute() { |
| 150 | getEntidade().setDataHoraIntervaloFim(DataUtils.getDataAtual()); |
150 | getEntidade().setDataHoraIntervaloFim(DataUtils.getDataAtual()); |
| 151 | getEntidade().setIpPontoIntervaloFim(recuperarIpUsuario()); |
151 | getEntidade().setIpPontoIntervaloFim(recuperarIpUsuario()); |
| 152 | verificarSeIpIgualLoja(recuperarIpUsuario()); |
- | |
| - | 152 | // verificarSeIpIgualLoja(recuperarIpUsuario());
|
|
| 153 | baterPonto(); |
153 | baterPonto(); |
| 154 | }
|
154 | }
|
| 155 | }); |
155 | }); |
| 156 | }
|
156 | }
|
| 157 | 157 | ||