fixes bug#6563
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@46893 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
58c33ad137
commit
c56d04be23
|
@ -64,7 +64,7 @@ public class RelatorioDevolucaoBilhetesController extends MyGenericForwardCompos
|
||||||
@Autowired
|
@Autowired
|
||||||
private TipoPuntoVentaService tipoPuntoVentaService;
|
private TipoPuntoVentaService tipoPuntoVentaService;
|
||||||
@Autowired
|
@Autowired
|
||||||
private DataSource dataSource;
|
private DataSource dataSourceRead;
|
||||||
|
|
||||||
private List<Estado> lsEstado;
|
private List<Estado> lsEstado;
|
||||||
private List<Empresa> lsEmpresa;
|
private List<Empresa> lsEmpresa;
|
||||||
|
@ -335,7 +335,7 @@ public class RelatorioDevolucaoBilhetesController extends MyGenericForwardCompos
|
||||||
|
|
||||||
parametros.put("FILTROS", filtro.toString());
|
parametros.put("FILTROS", filtro.toString());
|
||||||
|
|
||||||
Relatorio relatorio = new RelatorioReceitaDiariaAgencia(parametros, dataSource.getConnection());
|
Relatorio relatorio = new RelatorioReceitaDiariaAgencia(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
Map args = new HashMap();
|
Map args = new HashMap();
|
||||||
args.put("relatorio", relatorio);
|
args.put("relatorio", relatorio);
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class RelatorioEmpresaCorridaController extends MyGenericForwardComposer
|
||||||
private static Logger log = Logger.getLogger(RelatorioEmpresaCorridaController.class);
|
private static Logger log = Logger.getLogger(RelatorioEmpresaCorridaController.class);
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DataSource dataSource;
|
private DataSource dataSourceRead;
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaService empresaService;
|
private EmpresaService empresaService;
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ public class RelatorioEmpresaCorridaController extends MyGenericForwardComposer
|
||||||
}
|
}
|
||||||
parametros.put("TITULO", Labels.getLabel("relatorioEmpresaCorridaController.window.title"));
|
parametros.put("TITULO", Labels.getLabel("relatorioEmpresaCorridaController.window.title"));
|
||||||
|
|
||||||
Relatorio relatorio = new RelatorioEmpresaCorrida(parametros, dataSource.getConnection());
|
Relatorio relatorio = new RelatorioEmpresaCorrida(parametros, dataSourceRead.getConnection());
|
||||||
|
|
||||||
Map<String, Object> args = new HashMap<String, Object>();
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
args.put("relatorio", relatorio);
|
args.put("relatorio", relatorio);
|
||||||
|
|
|
@ -34,7 +34,7 @@ public class RelatorioEmpresaOnibusController extends MyGenericForwardComposer {
|
||||||
private static Logger log = Logger.getLogger(RelatorioEmpresaOnibusController.class);
|
private static Logger log = Logger.getLogger(RelatorioEmpresaOnibusController.class);
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private DataSource dataSource;
|
private DataSource dataSourceRead;
|
||||||
@Autowired
|
@Autowired
|
||||||
private EmpresaService empresaService;
|
private EmpresaService empresaService;
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@ -72,10 +72,10 @@ public class RelatorioEmpresaOnibusController extends MyGenericForwardComposer {
|
||||||
|
|
||||||
if (chkResumo.isChecked()){
|
if (chkResumo.isChecked()){
|
||||||
parametros.put("TITULO", Labels.getLabel("relatorioEmpresaOnibusResumoController.window.title"));
|
parametros.put("TITULO", Labels.getLabel("relatorioEmpresaOnibusResumoController.window.title"));
|
||||||
relatorio = new RelatorioEmpresaOnibusResumo(parametros, dataSource.getConnection());
|
relatorio = new RelatorioEmpresaOnibusResumo(parametros, dataSourceRead.getConnection());
|
||||||
} else {
|
} else {
|
||||||
parametros.put("TITULO", Labels.getLabel("relatorioEmpresaOnibusController.window.title"));
|
parametros.put("TITULO", Labels.getLabel("relatorioEmpresaOnibusController.window.title"));
|
||||||
relatorio = new RelatorioEmpresaOnibus(parametros, dataSource.getConnection());
|
relatorio = new RelatorioEmpresaOnibus(parametros, dataSourceRead.getConnection());
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, Object> args = new HashMap<String, Object>();
|
Map<String, Object> args = new HashMap<String, Object>();
|
||||||
|
|
Loading…
Reference in New Issue