Merge pull request 'AL-5047' (!805) from AL-5047 into master
Reviewed-on: adm/VentaBoletosAdm#805 Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master 1.163.3
commit
fcc7ef0e49
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
|||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>br.com.rjconsultores</groupId>
|
||||
<artifactId>ventaboletosadm</artifactId>
|
||||
<version>1.163.2</version>
|
||||
<version>1.163.3</version>
|
||||
<packaging>war</packaging>
|
||||
|
||||
<properties>
|
||||
|
|
|
@ -10,6 +10,8 @@ import java.util.Map;
|
|||
import javax.sql.DataSource;
|
||||
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Controller;
|
||||
|
@ -38,6 +40,7 @@ import com.rjconsultores.ventaboletos.service.AidfService;
|
|||
import com.rjconsultores.ventaboletos.service.DetAbastoBoletoService;
|
||||
import com.rjconsultores.ventaboletos.service.EstadoService;
|
||||
import com.rjconsultores.ventaboletos.service.MovimentacionBilhetesService;
|
||||
import com.rjconsultores.ventaboletos.service.impl.CorridaServiceImpl;
|
||||
import com.rjconsultores.ventaboletos.utilerias.ApplicationProperties;
|
||||
import com.rjconsultores.ventaboletos.utilerias.CustomEnum;
|
||||
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
|
||||
|
@ -50,6 +53,8 @@ public class MovimentacionBilhetesController extends MyGenericForwardComposer {
|
|||
private static final String TITULO = "movimentacionBilhetesController.window.title";
|
||||
|
||||
private static final long serialVersionUID = -5047032264890781980L;
|
||||
|
||||
private static final Logger log = LogManager.getLogger(MovimentacionBilhetesController.class);
|
||||
|
||||
@Autowired
|
||||
private MovimentacionBilhetesService movimentacionBilhetesService;
|
||||
|
@ -111,6 +116,7 @@ public class MovimentacionBilhetesController extends MyGenericForwardComposer {
|
|||
cmbAidf.getValue();
|
||||
cmbPuntoVentaDestino.getValue();
|
||||
cmbPuntoVentaOrigem.getValue();
|
||||
cmbTipoMovimentacion.getValue();
|
||||
|
||||
try{
|
||||
|
||||
|
@ -215,7 +221,9 @@ public class MovimentacionBilhetesController extends MyGenericForwardComposer {
|
|||
be.getMessage(),
|
||||
Labels.getLabel(TITULO),
|
||||
Messagebox.OK, Messagebox.ERROR);
|
||||
} catch (Exception ex) {
|
||||
} catch (Exception ex) {
|
||||
log.error(String.format("Erro salvar movimentacao. %s",TITULO),ex);
|
||||
|
||||
Messagebox.show(
|
||||
Labels.getLabel("MSG.Error"),
|
||||
Labels.getLabel(TITULO),
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
value="${c:l('winMovimentacionBilhetes.tipoMovimentacion.label')}" />
|
||||
<combobox id="cmbTipoMovimentacion"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyComboboxEstandar"
|
||||
width="90%" mold="rounded" buttonVisible="true"
|
||||
width="90%" mold="rounded" buttonVisible="true" constraint="no empty"
|
||||
model="@{winMovimentacionBilhetes$composer.lsTipoMovimentacion}"/>
|
||||
</row>
|
||||
|
||||
|
|
Loading…
Reference in New Issue