From 571af09a48abd43ddf8e6c8e8973ea8870b5b6a0 Mon Sep 17 00:00:00 2001 From: "wallace.henrique" Date: Thu, 20 Apr 2023 19:50:21 -0300 Subject: [PATCH] fixes bug# AL-2328 dev:lucas qua: --- pom.xml | 2 +- src/db/migration/V20230420_1755__AL-1928.sql | 330 +++++++++++++++++++ 2 files changed, 331 insertions(+), 1 deletion(-) create mode 100644 src/db/migration/V20230420_1755__AL-1928.sql diff --git a/pom.xml b/pom.xml index 4d7f93258..6883cf097 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 br.com.rjconsultores Flyway - 1.0.31 + 1.0.32 diff --git a/src/db/migration/V20230420_1755__AL-1928.sql b/src/db/migration/V20230420_1755__AL-1928.sql new file mode 100644 index 000000000..ab2c12271 --- /dev/null +++ b/src/db/migration/V20230420_1755__AL-1928.sql @@ -0,0 +1,330 @@ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoExcecao'' where tela like ''Altera%%o de Bloqueio de Trecho por canal de Ve%da/Exce%%o Data Servi%o'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaClasse'' where tela like ''Altera%%o de Categoria Classe'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaCorrida'' where tela like ''Altera%%o de Categoria Corrida'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaRuta'' where tela like ''Altera%%o de Categoria de Linha'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaDescuento'' where tela like ''Altera%%o de Categoria Desconto'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaDescuento'' where tela like ''Altera%%o de Categoria Desconto'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaPeriodo'' where tela like ''Altera%%o de Categoria % Periodo'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaRutaExcecao'' where tela like ''Altera%%o de Categoria Eexce%%o de linha'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaMercado'' where tela like ''Altera%%o de Categoria Mercado'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaOrgao'' where tela like ''Altera%%o de Categoria Orgao Concedente'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaCatInd'' where tela like ''Altera%%o de Categoria Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ClaseServicio'' where tela like ''Altera%%o de Categoria Servi%o'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.Categoria'' where tela like ''Altera%%o de Categoria'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaCtrl'' where tela like ''Altera%%o de Categoria'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CoeficienteTarifa'' where tela like ''Altera%%o de Coeficiente Tarifario'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.FormaPagoDet'' where tela like ''Altera%%o de Forma Pago Detalhe Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtoVtaCheckin'' where tela like ''Altera%%o de Localidades/Permitidas/Checkin Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaMarca'' where tela like ''Altera%%o de Marca de Categoria'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.OrgaoCancelacion'' where tela like ''Altera%%o de %rgao Cancelamento'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.OrgaoConcedente'' where tela like ''Altera%%o de Orgao Concedente'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.OrgaoEmpParam'' where tela like ''Altera%%o de Orgao Empresa Par%metro'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ParamRecoleccion'' where tela like ''Altera%%o de Parametro Recolec%%o Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PuntoVenta'' where tela like ''Altera%%o de Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.TarifaOficial'' where tela like ''Altera%%o de Pre%o / Tarifa Oficial'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.Tarifa'' where tela like ''Altera%%o de Pre%o'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ReservacionCategoria'' where tela like ''Altera%%o de Reserva Categoria'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ReservacionPuntoVenta'' where tela like ''Altera%%o de Reserva Punto Venta'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtoVtaSeguro'' where tela like ''Altera%%o de Seguro no Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoTramoOC'' where tela like ''Altera%%o de Trecho OC por canal de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoTramo'' where tela like ''Altera%%o de Trecho por canal de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.Usuario'' where tela like ''Altera%%o de Usu%rio'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.UsuarioPerfil'' where tela like ''Altera%%o de Usu%rio'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaEstoque'' where tela like ''Altera%%o Estoque Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.HistoricoFormaPagoPuntoVenta'' where tela like ''Alteracao Forma Pago Ponto de Venda/Historico'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaAntecipacomissao'' where tela like ''Altera%%o Ponto de Venda/Antecipa%%o Comiss%o'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaAntifraude'' where tela like ''Altera%%o Ponto de Venda/Antifraude'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.CategoriaBloqueioImpPosterior'' where tela like ''Altera%%o Ponto de Venda/Categoria/Bloqueio/ImpPosterior'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaEmpresa'' where tela like ''Altera%%o Ponto de Venda/de Empresas/Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaEmpresaBloqueada'' where tela like ''Altera%%o Ponto de Venda/Empresa Bloqueada'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaExcecaoMultaCanc'' where tela like ''Altera%%o Ponto de Venda/Excecao Multa Cancelamento'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.HistoricoPuntoVenta'' where tela like ''Altera%%o Ponto de Venda/Historico'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtoVtaUsuarioBancario'' where tela like ''Altera%%o Ponto de Venda/Usuario Banc%rio'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaComissao'' where tela like ''Altera%%o Ponto Veda/Comiss%o'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaTitular'' where tela like ''Altera%%o Ponto Veda/Titular/Foto'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.PtovtaHorario'' where tela like ''Altera%%o Ponto Venda/Hor%rio'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoCanalVenta'' where tela like ''Bloqueio de Trecho por Canal de Ve%da'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoVendaWeb'' where tela like ''Bloqueio de Trecho por canal de Venda Web'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoOrgaoConcedente'' where tela like ''Bloqueio de Trecho por Canal de Venda/Aba %rg%o Concedente'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ConfRestricaoPtovta'' where tela like ''Bloqueio de Trecho por Canal de Venda/Aba Ponto de Venda'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.EsquemaCorrida'' where tela like ''Configura%%o de Servi%os'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.FormaPago'' where tela like ''Forma Pagamento'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''auditarClasse.ModificacionMasivaTarifasUploadController'' where tela like ''Modifica%%o Massiva de Pre%os'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''Alteração de Empresa'' where tela like ''Altera%%o de Empresa'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''Alteração de Ponto de Venda/Fechamento Conta Corrente'' where tela like ''Altera%%o de Ponto de Venda/Fechamento Conta Corrente'''; + exception when others then null; +end; +/ +declare +begin + execute immediate 'update log_auditoria set TELA = ''Manutenção de Serviço'' where tela like ''Manuten%%o de Servi%o'''; + exception when others then null; +end; +/ \ No newline at end of file