alexandre.lima 2017-09-13 19:27:29 +00:00
parent 55c02eb575
commit 7276e413ad
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ public class RelatorioBilhetesVendidos extends Relatorio {
if (parametros.get("STATUS") != null) {
sql.append(" and b.INDSTATUSBOLETO in (" + parametros.get("STATUS") + ") ");
}
sql.append(" and B.BOLETOORIGINAL_ID is null ");
sql.append(" order by u.CVEUSUARIO, ");
sql.append(" u.NOMBUSUARIO, ");
sql.append(" pv.NUMPUNTOVENTA, ");