Série para venda embarcada
bug#13748 dev:trevezani qua: git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@91233 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
716ba4cd88
commit
dd12abeb7f
|
@ -117,6 +117,7 @@
|
|||
<value>com.rjconsultores.ventaboletos.entidad.ConexionExcepcion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionExcepcionRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CtrlSerieEmbarcada</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CtrlSerieBPe</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CuponConvenio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CuponSecretaria
|
||||
</value>
|
||||
|
|
|
@ -0,0 +1,101 @@
|
|||
package com.rjconsultores.tests;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.After;
|
||||
import org.junit.Before;
|
||||
import org.junit.FixMethodOrder;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.junit.runners.MethodSorters;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.test.context.ContextConfiguration;
|
||||
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
|
||||
import com.rjconsultores.ventaboletos.dao.CtrlSerieEmbarcadaDAO;
|
||||
import com.rjconsultores.ventaboletos.dao.DispositivoEmbarcadaDAO;
|
||||
import com.rjconsultores.ventaboletos.entidad.CtrlSerieEmbarcada;
|
||||
import com.rjconsultores.ventaboletos.entidad.DispositivoEmbarcada;
|
||||
import com.rjconsultores.ventaboletos.entidad.Empresa;
|
||||
import com.rjconsultores.ventaboletos.entidad.Estado;
|
||||
import com.rjconsultores.ventaboletos.entidad.PuntoVenta;
|
||||
import com.rjconsultores.ventaboletos.service.ControleSerieEmbarcadaService;
|
||||
|
||||
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
|
||||
@RunWith(SpringJUnit4ClassRunner.class)
|
||||
@ContextConfiguration(locations = {"classpath:/spring-test.xml"})
|
||||
public class SerieEmbarcadaTest {
|
||||
@Autowired
|
||||
private DispositivoEmbarcadaDAO dispositivoEmbarcadaDAO;
|
||||
|
||||
@Autowired
|
||||
private CtrlSerieEmbarcadaDAO ctrlSerieEmbarcadaDAO;
|
||||
|
||||
@Autowired
|
||||
private ControleSerieEmbarcadaService controleSerieEmbarcadaService;
|
||||
|
||||
@Before
|
||||
public void initApplicationContext() {
|
||||
|
||||
}
|
||||
|
||||
@After
|
||||
public void closeApplicationContext() {
|
||||
|
||||
}
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
System.out.println("***");
|
||||
|
||||
Empresa empresa = new Empresa();
|
||||
PuntoVenta puntoventa = new PuntoVenta();
|
||||
Estado estado = new Estado();
|
||||
|
||||
empresa.setEmpresaId(10);
|
||||
//puntoventa.setPuntoventaId(1);
|
||||
puntoventa.setPuntoventaId(5304);
|
||||
estado.setEstadoId(1);
|
||||
|
||||
DispositivoEmbarcada de = null;
|
||||
|
||||
List<DispositivoEmbarcada> dispositivos = dispositivoEmbarcadaDAO.buscarPorEmpresaPuntoVenta(empresa, puntoventa);
|
||||
|
||||
System.out.println("Dispositivos");
|
||||
|
||||
for (DispositivoEmbarcada dispositivo : dispositivos) {
|
||||
if (de == null) {
|
||||
de = dispositivo;
|
||||
}
|
||||
|
||||
System.out.println("+ " + dispositivo.getDispositivoEmbarcadaId() + " - " + dispositivo.getDescricao() + " (" + dispositivo.getMac() + "/" + dispositivo.getImei() + ")");
|
||||
}
|
||||
|
||||
System.out.println("Dispositivo Selecionado");
|
||||
System.out.println("= " + de.getDispositivoEmbarcadaId() + " - " + de.getDescricao() + " (" + de.getMac() + "/" + de.getImei() + ")");
|
||||
|
||||
if (ctrlSerieEmbarcadaDAO.validaDispositivoEmpresaEstadoCadastrado(de, empresa, estado)) {
|
||||
System.out.println("- Dispositivo ja cadastrado para esta empresa/estado");
|
||||
} else {
|
||||
CtrlSerieEmbarcada se = null;
|
||||
|
||||
se = new CtrlSerieEmbarcada();
|
||||
se.setDispositivoEmbarcadaId(de);
|
||||
se.setEmpresaId(Long.valueOf(empresa.getEmpresaId()));
|
||||
se.setEstado(estado);
|
||||
se.setIndBaixado(Boolean.FALSE);
|
||||
se.setActivo(Boolean.TRUE);
|
||||
se.setFecmodif(new Date());
|
||||
se.setUsuarioId(1);
|
||||
|
||||
se = ctrlSerieEmbarcadaDAO.suscribir(se);
|
||||
|
||||
System.out.println("Serie Cadastrada");
|
||||
System.out.println("= " + se.getCtrlSerieEmbarcadaId());
|
||||
}
|
||||
|
||||
System.out.println("***");
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,539 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:tx="http://www.springframework.org/schema/tx" xmlns:p="http://www.springframework.org/schema/p"
|
||||
xmlns:aop="http://www.springframework.org/schema/aop"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
||||
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
||||
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
||||
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
|
||||
|
||||
<!-- Hibernate config -->
|
||||
<context:component-scan base-package="com.rjconsultores.ventaboletos" />
|
||||
<tx:annotation-driven transaction-manager="transactionManager" />
|
||||
|
||||
<bean id="sessionFactory"
|
||||
class="com.rjconsultores.ventaboletos.utilerias.spring.MyAnnotationSessionFactoryBean">
|
||||
<property name="dataSource">
|
||||
<ref local="dataSource" />
|
||||
</property>
|
||||
|
||||
<property name="annotatedClasses">
|
||||
<list>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RegionMetropolitana</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Comissao</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClienteCurso</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PacoteTarifa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoTarifaPacote</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ItemAdicional</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PacoteItem</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Pacote</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AbastoBoleto</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AutobusDoc</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Clasificacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DetAbastoBoleto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FolioPreimpreso
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RequisicionBoleto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClienteFidelidad
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EstacionImpresora
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AlertaCtrl</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConfRestricaoExcecao
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AliasServico</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Autobus</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Autorizacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AutorizacionPerfil
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Articulo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AsientoExclusivo
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Banco</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CancelacionCtrl
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CancelacionCargo
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CasetaPeajeExcepcion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Categoria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaBloqueioImpPosterior</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaClase</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaCorrida
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaCtrl</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaDescuento
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaMarca</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaMercado
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaOrgao</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaPeriodo
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CategoriaTipoPtoVta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Ciudad</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CoeficienteTarifa
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Colonia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClaseServicio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClaseservicioEquivalencia
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ComisionistaExterno
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CompaniaBancaria
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Conductor</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConfigRestriccionPago
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConfRestricaoCanalVenta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConfRestricaoPtovta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConfRestricaoVendaWeb
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Convenio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioDet</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Constante</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Corrida</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CorridaCtrl</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CorridaTramo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Cortesia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CortesiaBeneficiario
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CortesiaDireccion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Conexion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionConf</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionTemp</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionCtrl</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionCtrlTemp</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionDescuento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionExcepcion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConexionExcepcionRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CtrlSerieEmbarcada</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CtrlSerieBPe</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CuponConvenio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CuponSecretaria
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Curso</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Custom</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DetDiagramaAutobus
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DepositoBancario
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DiagramaAutobus</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DispositivoEmbarcada</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Division</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Empleado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Empresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaImposto</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaEquivalencia
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Estacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EstacionSitef</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EstacionRioCard</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Escola</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Estado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaAsiento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaAgrupacion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaCorrida</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaOperacional
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaTramo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Estado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ExcepcionRedondo
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Feriado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FormaPago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FormaPagoDet</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.GrupoCategoria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.GrupoCortesia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.GrupoRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FuncionSistema</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.LogDespesaReceitaDiversa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Marca</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MarcaAutobus</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MercadoCompetido
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MerchantBancario
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Moneda</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MonitoramentoCRZ</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MonitoramentoCCF</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MarcaClaseServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MotivoCancelacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MotivoDevolucaoBilhete</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MotivoCancelVendaPacote
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MotivocancelacionEquivalencia
|
||||
</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MotivoReimpresion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MotivoViaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Nodo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OrgaoCancelacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OrgaoConcedente</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OrgaoTramo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Pais</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Parada</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParadaCodOrgaoConcedente</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParadaEquivalencia
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamAcumulaMasivo
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamAcumulaPunto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamCanjePunto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamCostoTarjeta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamCompraPunto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamRecoleccion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamConexion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Perfil</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PerfilFuncion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PeriodoVacacional
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Plaza</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Pricing</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingFormapago
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingImporte</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingVigencia
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingClase</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingMarca</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingMercado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingDia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingCorrida</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingOcupaAntecipa
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingPuntoVenta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingCategoria
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingTipoPtoVta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingTipoServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingAsiento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingEspecifico</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingEspecificoOcupacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingEspecificoAgencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingEspecificoCanalVendas</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingClasseTarifaria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProductoServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdClaseServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdFormaPago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdMarca</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdPrecio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdMercado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdPuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdTipoptovta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProdVigencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ProductoServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaAgencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaCatInd</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtoVtaCheckin</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtoVtaSeguro</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaAntecipacomissao
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.InstiFinanceira
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaComissao</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaDiversos</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEstoque</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEmpresaBloqueada
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaHorario</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaTitular</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtoVtaUsuarioBancario
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Redondeo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RedondeoCtrl</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RedondeoMarca</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ReservacionCategoria
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ReservacionClase
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ReservacionCtrl
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ReservacionMarca
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ReservacionMercado
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ReservacionPuntoVenta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RestriccionPago
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RolOperativo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Ruta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RutaCombinacion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RutaEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RutaSecuencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RhPagoConductor
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Secretaria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SecretariaEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SeguradoraEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SeguroKm</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SegVKM</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.SeguroTarifa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Sistema</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TaxaEmbarqueKm</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TaxaEmbLevante</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TaxaEmbLevanteCtrl
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TaxaEmbarqueParada
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarjetaFidelidad
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarjetaRecaudacion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Tarifa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaOficial</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaHist</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaMinima</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaCategoria
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaTipoptovta
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoConvenio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoCambioCtrl</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoCambioCiudad
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoCorte</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoCortesiaDescuento
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoCortesia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoDocAutobus</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoDomicilio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoEmpleado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoEventoExtraEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoEventoExtraPtoVta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoMovimiento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoOcupacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoParada</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoPuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoServicio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Tramo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TramoServicio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TramoKmServicio
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TramoTiempo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TramoKm</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Turno</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Usuario</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.UsuarioBancario
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.UsuarioEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.UsuarioPerfil</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.UsuarioSesion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.UsuarioUbicacion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Via</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.VigenciaTarifa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Zona</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ParamArticulo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EventoExtra</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoEventoExtra
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AjusteEventoExtra
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarjetaViaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Cliente</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClienteDireccion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarjetaCredito</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Aidf</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AidfEspecie</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AidfTipo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoMovimentacion
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaTipoEstoque
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AbastoCentral</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AbastoHisto</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Clasificacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AbastoBoleto</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DetAbastoBoleto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FolioPreimpreso
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RequisicionBoleto
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.InscricaoEstadual
|
||||
</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OCD
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OCDParam
|
||||
</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OCDPtoVtaParam
|
||||
</value>
|
||||
<!-- value>com.rjconsultores.ventaboletos.entidad.ControleEstoqueMigracao</value -->
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalImpressora</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalImpressoraEstado</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamgeral</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoParamptovta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoBoleto</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FechamentoCntcorrente</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoIdentificacion</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Hotel</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PrecoApanhe</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EnderecoApanhe</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.VendaPacote</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClientePacote</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaVendaPacote</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PacoteFormapago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PacoteDescontoBilhete</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PacoteConvenio</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalTotnaofiscalEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalFormapagoEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalRelgerencialEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaKm</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PrecioVentaja</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClienteDescuento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Peaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CasetaPeaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PrecioFixoPedagio</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RutaCaseta</value>
|
||||
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioTramo</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioUsuario</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioPuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ItemDesconto</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.DescontoComissao</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Conferencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.LogConferencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ContaCorrentePtoVta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoOperacionCC</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ExcepcionPeaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ExcepcionPeajeVigencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaContaBancaria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConvenioRuta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ComEmpCategoria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ComEmpFormapago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ComEmpTipoEventoExtra</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TarifaMinimaCategoria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.FiscalAliquotaEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ComEmpConferencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MensajePuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MensajeEmpresa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MensajeUsuario</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Mensaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ClasseIndicePeaje</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.TipoInformativoComissao</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmbarqueCatracaRodoviaria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ConferenciaPendencia</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AuditModule</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AuditService</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.AuditLog</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Caja</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CajaDetPago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CajaDiversos</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CajaDiversosPago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CajaFormaPago</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CajaTarjeta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.NotaCreditoVendaPacote</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OCDDatosPagamento</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.Boleto</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.HistoricoPuntoVenta</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaEmpresaContaBancaria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.RutaEmbarqueDesembarque</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EsquemaCorridaEmbarqueDesembarque</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ContaMD</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaContaMD</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.MensagemRecusa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.OrgaoEmpParam</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.ComissaoReceita</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.IntegracaoTotvs</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PricingEspecificoCategoria</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaEmail</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.EmpresaEmailConfig</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.CtrlFechamentoCaixa</value>
|
||||
<value>com.rjconsultores.ventaboletos.entidad.PtovtaAntifraude</value>
|
||||
</list>
|
||||
</property>
|
||||
|
||||
<property name="hibernateProperties">
|
||||
<props>
|
||||
<prop key="hibernate.dialect">${database.dialect}</prop>
|
||||
<!--<prop key="hibernate.default_schema">${database.default_schema}</prop> -->
|
||||
<prop key="hibernate.jdbc.batch_size">${database.batch_size}</prop>
|
||||
<!-- favor não mudar o show_sql para true. Caso precise, ative pelo log do jboss (jboss-logging.xml) -->
|
||||
<prop key="hibernate.show_sql">false</prop>
|
||||
<prop key="hibernate.format_sql">false</prop>
|
||||
<prop key="hibernate.order_inserts">true</prop>
|
||||
<prop key="hibernate.order_updates">true</prop>
|
||||
<prop key="hibernate.jdbc.batch_versioned_data">true</prop>
|
||||
</props>
|
||||
</property>
|
||||
</bean>
|
||||
|
||||
<bean id="transactionManager"
|
||||
class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
||||
<property name="sessionFactory" ref="sessionFactory" />
|
||||
</bean>
|
||||
|
||||
<bean id="contextApplicationContextProvider"
|
||||
class="com.rjconsultores.ventaboletos.web.utilerias.spring.ApplicationContextProvider">
|
||||
</bean>
|
||||
|
||||
<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||
<property name="driverClassName" value="oracle.jdbc.OracleDriver" />
|
||||
<property name="url" value="jdbc:oracle:thin:@10.20.30.10:1521:ORCL" />
|
||||
<property name="username" value="vtabol" />
|
||||
<property name="password" value="vtax05" />
|
||||
</bean>
|
||||
|
||||
<bean id="dataSourceRead" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
|
||||
<property name="driverClassName" value="oracle.jdbc.OracleDriver" />
|
||||
<property name="url" value="jdbc:oracle:thin:@10.20.30.10:1521:ORCL" />
|
||||
<property name="username" value="vtabol" />
|
||||
<property name="password" value="vtax05" />
|
||||
</bean>
|
||||
|
||||
<!-- ====================================================== -->
|
||||
<!-- Search class from Hibernate-Generic-DAO framework -->
|
||||
<!-- ====================================================== -->
|
||||
<bean id="hibernateSearchSupport" scope="prototype"
|
||||
class="com.rjconsultores.ventaboletos.web.utilerias.paginacion.HibernateSearchSupportImpl">
|
||||
<property name="sessionFactory" ref="sessionFactory" />
|
||||
<property name="hibernateSearchProcessor">
|
||||
<bean class="com.trg.search.hibernate.HibernateSearchProcessor"
|
||||
factory-method="getInstanceForSessionFactory">
|
||||
<constructor-arg ref="sessionFactory" />
|
||||
</bean>
|
||||
</property>
|
||||
</bean>
|
||||
<bean id="sqlFactory"
|
||||
class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLFactory" />
|
||||
<bean id="sqlBuilder"
|
||||
class="com.rjconsultores.ventaboletos.dao.sqlbuilder.SQLBuilder"
|
||||
factory-bean="sqlFactory" factory-method="getBuilder" />
|
||||
|
||||
</beans>
|
Loading…
Reference in New Issue