FIXED BUG #6123 - Correção de query ao executar relatório
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@42483 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
3581cde75d
commit
b67442a658
|
@ -63,7 +63,7 @@ public class RelatorioVendasBilheteiro extends Relatorio {
|
||||||
sql.append(" and c.FECCORRIDA >= :DATA_INICIAL ");
|
sql.append(" and c.FECCORRIDA >= :DATA_INICIAL ");
|
||||||
sql.append(" and c.FECCORRIDA <= :DATA_FINAL ");
|
sql.append(" and c.FECCORRIDA <= :DATA_FINAL ");
|
||||||
if (parametros.get("NUMPUNTOVENTA") != null) {
|
if (parametros.get("NUMPUNTOVENTA") != null) {
|
||||||
sql.append(" and pv.NUMPUNTOVENTA IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
|
sql.append(" and pv.PUNTOVENTA_ID IN (" + parametros.get("NUMPUNTOVENTA").toString() + ")");
|
||||||
}
|
}
|
||||||
if (parametros.get("BILHETEIRO") != null && !parametros.get("BILHETEIRO").equals("")) {
|
if (parametros.get("BILHETEIRO") != null && !parametros.get("BILHETEIRO").equals("")) {
|
||||||
sql.append(" and u.NOMBUSUARIO like '" + parametros.get("BILHETEIRO") + "%'");
|
sql.append(" and u.NOMBUSUARIO like '" + parametros.get("BILHETEIRO") + "%'");
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
format="dd/MM/yyyy" lenient="true" constraint="no empty"
|
format="dd/MM/yyyy" lenient="true" constraint="no empty"
|
||||||
maxlength="10" />
|
maxlength="10" />
|
||||||
<label
|
<label
|
||||||
value="${c:l('relatorioVendasBilheteiroController.lbDatInicial.value')}" />
|
value="${c:l('relatorioVendasBilheteiroController.lbDatFinal.value')}" />
|
||||||
<datebox id="datFinal" width="90%"
|
<datebox id="datFinal" width="90%"
|
||||||
format="dd/MM/yyyy" lenient="true" constraint="no empty"
|
format="dd/MM/yyyy" lenient="true" constraint="no empty"
|
||||||
maxlength="10" />
|
maxlength="10" />
|
||||||
|
|
Loading…
Reference in New Issue