Merge pull request 'Ordenação sentido.' (!509) from AL-4329 into master

Reviewed-on: adm/VentaBoletosAdm#509
master 1.72.4
gleimar 2024-05-10 15:04:11 +00:00
commit 92ea38485d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -120,7 +120,7 @@ public class RelatorioAproveitamentoFinanceiro extends Relatorio {
sql.append(" max(qtde) qtde, ");
sql.append(" max(passageiros) tot ");
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");
NamedParameterStatement stmt = new NamedParameterStatement(conexao, sql.toString());