Conclusão mantis 6849
fixes bug 6849 git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@50241 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ee7dfed2d8
commit
0768d70932
|
@ -28,8 +28,7 @@ public class RelatorioReceitaServico extends Relatorio {
|
|||
(parametros.get("ORIGEN_ID") != null && parametros.get("ORIGEN_ID") != ""),
|
||||
(parametros.get("DESTINO_ID") != null && parametros.get("DESTINO_ID") != ""),
|
||||
(parametros.get("CORRIDA_ID") != null && parametros.get("CORRIDA_ID") != ""),
|
||||
(parametros.get("CLASESERVICIO_ID") != null && parametros.get("CLASESERVICIO_ID") != "")
|
||||
);
|
||||
(parametros.get("CLASESERVICIO_ID") != null && parametros.get("CLASESERVICIO_ID") != ""));
|
||||
|
||||
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql);
|
||||
|
||||
|
@ -51,7 +50,7 @@ public class RelatorioReceitaServico extends Relatorio {
|
|||
stmt.setNull("EMPRESA_ID", java.sql.Types.INTEGER);
|
||||
|
||||
if (parametros.get("CLASESERVICIO_ID") != null && (!parametros.get("CLASESERVICIO_ID").equals("")))
|
||||
stmt.setInt("CLASESERVICIO_ID", (Short) parametros.get("CLASESERVICIO_ID"));
|
||||
stmt.setInt("CLASESERVICIO_ID", (Integer) parametros.get("CLASESERVICIO_ID"));
|
||||
// else
|
||||
// stmt.setNull("CLASESERVICIO_ID", java.sql.Types.INTEGER);
|
||||
|
||||
|
|
Loading…
Reference in New Issue