parent
03d0f856fe
commit
b2c7714712
|
@ -153,7 +153,7 @@ public class RelatorioAnaliticoVoucher extends Relatorio {
|
|||
.append(" OR (BE.INDSTATUSBOLETO = 'E' ")
|
||||
.append(" AND B.MOTIVOCANCELACION_ID = 16 ")
|
||||
.append(" AND BE.FECCREACION > :dataFinal )) ")
|
||||
.append("GROUP BY 'VENDIDO E Não ENTREGUE NA COMPETÊNCIA', ")
|
||||
.append("GROUP BY 'VENDIDO E NÃO ENTREGUE NA COMPETÊNCIA', ")
|
||||
.append(" TO_CHAR(B.FECCREACION,'MM/YYYY') ");
|
||||
|
||||
sQuery.append("ORDER BY SITUACAO, COMPETENCIA_ENTREGA, COMPETENCIA_VENDA");
|
||||
|
|
|
@ -103,7 +103,7 @@ public class RelatorioCaixaOrgaoConcedente extends Relatorio {
|
|||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
log.error("Erro na gera<EFBFBD><EFBFBD>o do Relat<61>rio de Caixa Org<72>o Concedente: \n" + e);
|
||||
log.error("Erro na geração do Relatório de Caixa Orgão Concedente: \n" + e);
|
||||
e.printStackTrace();
|
||||
throw e;
|
||||
}
|
||||
|
@ -154,16 +154,16 @@ public class RelatorioCaixaOrgaoConcedente extends Relatorio {
|
|||
sql.append(" THEN 'VENDA'");
|
||||
sql.append(" WHEN c.indreimpresion = 0");
|
||||
sql.append(" AND (c.MOTIVOCANCELACION_ID IS NOT NULL");
|
||||
//Não devolu<EFBFBD><EFBFBD>es (Cancelamentos)
|
||||
//Não devoluções (Cancelamentos)
|
||||
sql.append(" AND c.MOTIVOCANCELACION_ID NOT IN (32,34, 35, 36,37, 99))");
|
||||
sql.append(" THEN 'CANCELADO'");
|
||||
sql.append(" WHEN ((c.indreimpresion = 0");
|
||||
sql.append(" AND c.MOTIVOCANCELACION_ID IS NOT NULL");
|
||||
//Devolu<EFBFBD><EFBFBD>es
|
||||
//Devoluções
|
||||
sql.append(" AND c.MOTIVOCANCELACION_ID IN (32,36,37)))");
|
||||
//sql.append(" OR c.MOTIVOCANCELACION_ID = 99)");
|
||||
sql.append(" THEN 'DEVOLUCAO'");
|
||||
//Quita<EFBFBD><EFBFBD>o OCD
|
||||
//Quitação OCD
|
||||
sql.append(" WHEN c.indreimpresion = 0 ");
|
||||
sql.append(" AND (c.MOTIVOCANCELACION_ID IS NOT NULL ");
|
||||
sql.append(" AND c.MOTIVOCANCELACION_ID IN (35)) ");
|
||||
|
@ -186,7 +186,7 @@ public class RelatorioCaixaOrgaoConcedente extends Relatorio {
|
|||
sql.append(" ON r.ORGAOCONCEDENTE_ID = OC.ORGAOCONCEDENTE_ID");
|
||||
sql.append(" AND OC.ACTIVO = 1");
|
||||
sql.append(" WHERE c.ACTIVO = 1");
|
||||
//Não deve considerar Reimpress<EFBFBD>o do bilhete");
|
||||
//Não deve considerar Reimpressão do bilhete");
|
||||
sql.append(" AND (c.INDREIMPRESION = 0)");
|
||||
//sql.append(" OR (c.INDREIMPRESION = 1 AND c.MOTIVOCANCELACION_ID =99))");
|
||||
sql.append(" AND c.feccorte BETWEEN :fecInicio AND :fecFinal");
|
||||
|
|
|
@ -45,7 +45,7 @@ public class RelatorioOrigemDestino extends Relatorio {
|
|||
this.rutaSecuenciaService = rutaSecuenciaService;
|
||||
this.esquemaCorridaService = esquemaCorridaService;
|
||||
|
||||
// Mantis 15600 - O relat<EFBFBD>rio Não tinha um Bean, a consulta SQL era executada dentro do jasper e o relat<61>rio Não era gerado (ou demorava muito) para o usu<73>rio.
|
||||
// Mantis 15600 - O relatório Não tinha um Bean, a consulta SQL era executada dentro do jasper e o relatório Não era gerado (ou demorava muito) para o usuário.
|
||||
|
||||
CONSTANTE_GRATUIDADE_CRIANCA = buscarConstante("GRATUIDADE_CRIANCA");
|
||||
|
||||
|
|
|
@ -120,7 +120,7 @@ public class RelatorioPassagensAGER extends Relatorio {
|
|||
}
|
||||
|
||||
} catch (Exception e) {
|
||||
log.error("Erro na gera<EFBFBD><EFBFBD>o do relatorio AGER: \n" + e);
|
||||
log.error("Erro na geração do relatorio AGER: \n" + e);
|
||||
e.printStackTrace();
|
||||
throw e;
|
||||
}
|
||||
|
@ -156,16 +156,16 @@ public class RelatorioPassagensAGER extends Relatorio {
|
|||
sql.append(" case ");
|
||||
sql.append(" when bpe.tiposubstituicao is null and bpeSub.bpe_id is null and bpe.indcontingencia = 0 then 'Autorizado' ");
|
||||
sql.append(" when bpe.tiposubstituicao is null and bpeSub.bpe_id is null and bpe.indcontingencia = 1 then 'Aut.Conting.' ");
|
||||
sql.append(" when bpe.tiposubstituicao is not null then 'Autorizado/Substitui<EFBFBD><EFBFBD>o' ");
|
||||
sql.append(" when bpeSub.bpe_id is not null then 'Autorizado/Substitu<EFBFBD>do' ");
|
||||
sql.append(" when bpe.tiposubstituicao is not null then 'Autorizado/Substituição' ");
|
||||
sql.append(" when bpeSub.bpe_id is not null then 'Autorizado/Substituído' ");
|
||||
sql.append(" else 'Autorizado' ");
|
||||
sql.append(" end ");
|
||||
sql.append(" ) ");
|
||||
|
||||
sql.append(" when '102' then ( ");
|
||||
sql.append(" case ");
|
||||
sql.append(" when bpe.tiposubstituicao is not null then 'Substitui<EFBFBD><EFBFBD>o' ");
|
||||
sql.append(" when bpeSub.bpe_id is not null then 'Substitu<EFBFBD>do' ");
|
||||
sql.append(" when bpe.tiposubstituicao is not null then 'Substituição' ");
|
||||
sql.append(" when bpeSub.bpe_id is not null then 'Substituído' ");
|
||||
sql.append(" end ");
|
||||
sql.append(" ) ");
|
||||
|
||||
|
@ -180,8 +180,8 @@ public class RelatorioPassagensAGER extends Relatorio {
|
|||
sql.append(" when '150' then 'Aut.Conting.' ");
|
||||
sql.append(" when '-1' then 'Pendente Envio' ");
|
||||
sql.append(" when '-2' then 'Pendente Envio' ");
|
||||
sql.append(" when '-10' then 'Rejeitado Envio Conting<EFBFBD>ncia' ");
|
||||
sql.append(" when '-20' then 'Rejeitado Envio Conting<EFBFBD>ncia' ");
|
||||
sql.append(" when '-10' then 'Rejeitado Envio Contingência' ");
|
||||
sql.append(" when '-20' then 'Rejeitado Envio Contingência' ");
|
||||
|
||||
sql.append(" else 'Rejeitado' ");
|
||||
sql.append(" end as status, ");
|
||||
|
|
|
@ -29,7 +29,7 @@ import com.rjconsultores.ventaboletos.utilerias.MoneyHelper;
|
|||
import com.rjconsultores.ventaboletos.web.utilerias.NamedParameterStatement;
|
||||
|
||||
/**
|
||||
* @author Bruno H. G. Gouv<EFBFBD>a <bruno@rjconsultores.com.br>
|
||||
* @author Bruno H. G. Gouvea <bruno@rjconsultores.com.br>
|
||||
*
|
||||
*/
|
||||
public class RelatorioReceitaDiariaAgencia extends Relatorio {
|
||||
|
|
|
@ -45,7 +45,7 @@ public class RenderRelatorioJasper {
|
|||
* Objeto de conexão do banco que ser<EFBFBD> utilizado para gera<EFBFBD><EFBFBD>o do relat<EFBFBD>rio, s<EFBFBD> deve ser passado se Não for utilizado nenhum tipo de Custom Data Source
|
||||
*
|
||||
* @throws Exception
|
||||
* excessão contendo regra de utiliza<EFBFBD><EFBFBD>o da classe
|
||||
* Excess<EFBFBD>o contendo regra de utiliza<EFBFBD><EFBFBD>o da classe
|
||||
*/
|
||||
public RenderRelatorioJasper(Relatorio relatorio) throws Exception {
|
||||
this.relatorio = relatorio;
|
||||
|
|
|
@ -339,7 +339,7 @@ public class TarifaOficialExcelController extends MyGenericForwardComposer {
|
|||
log.debug("Aba: " + sheetName);
|
||||
|
||||
/*
|
||||
* sheets Não podem ter nome > 31 caracteres, caso contrario <EFBFBD> cortado
|
||||
* sheets Não podem ter nome > 31 caracteres, caso contrario é cortado
|
||||
* e corre o risco de serem criadas 2 sheets com mesmo nome, o que causa uma excess<EFBFBD>o.
|
||||
*/
|
||||
String nome = sheetName.replace(" ", "");
|
||||
|
|
Loading…
Reference in New Issue