Ordenação sentido.

master
Gleimar Botelho Baleeiro 2024-05-10 12:02:04 -03:00
parent 51f0694652
commit 0225c37b83
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>br.com.rjconsultores</groupId> <groupId>br.com.rjconsultores</groupId>
<artifactId>ventaboletosadm</artifactId> <artifactId>ventaboletosadm</artifactId>
<version>1.72.3</version> <version>1.72.4</version>
<packaging>war</packaging> <packaging>war</packaging>
<properties> <properties>

View File

@ -120,7 +120,7 @@ public class RelatorioAproveitamentoFinanceiro extends Relatorio {
sql.append(" max(qtde) qtde, "); sql.append(" max(qtde) qtde, ");
sql.append(" max(passageiros) tot "); sql.append(" max(passageiros) tot ");
sql.append(" for dia in ('1', '2', '3', '4', '5', '6', '7') "); sql.append(" for dia in ('1', '2', '3', '4', '5', '6', '7') ");
sql.append(") ORDER BY numlinha,sentido,horario "); sql.append(") ORDER BY numlinha,sentido desc,horario ");
sql.append(") TB"); sql.append(") TB");
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString()); NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());