thiago.penido 2016-04-22 19:43:53 +00:00
parent b54432aaa8
commit 9a49ed8ce8
1 changed files with 5 additions and 3 deletions

View File

@ -125,6 +125,7 @@ public class RelatorioDepositosDetalhado extends Relatorio {
StringBuilder sQuery = new StringBuilder();
sQuery.append(" SELECT ");
sQuery.append(" fd.FECHAMENTODEPOSITO_ID, ");
sQuery.append(" E.NOMBEMPRESA Empresa, ");
sQuery.append(" PV.NOMBPUNTOVENTA Ponto_de_venda, ");
sQuery.append(" TO_CHAR(FD.FECHA_DEPOSITO,'dd/MM/yyyy') data_deposito, ");
@ -169,6 +170,7 @@ public class RelatorioDepositosDetalhado extends Relatorio {
}
sQuery.append(" and FD.FECCREACION between :fecInicio and :fecFinal");
sQuery.append(" GROUP BY ");
sQuery.append(" fd.FECHAMENTODEPOSITO_ID, ");
sQuery.append(" E.NOMBEMPRESA, ");
sQuery.append(" PV.NOMBPUNTOVENTA, ");
sQuery.append(" FD.FECHA_DEPOSITO, ");