summaryrefslogtreecommitdiff
path: root/Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 15:29:41 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 15:29:41 +0000
commit225aa1499e37faf9d38257caabbadc68d78b427e (patch)
tree102bb7a40c58595348ae9d3c7076201759fe0720 /Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL
parent1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (diff)
downloadgestor-225aa1499e37faf9d38257caabbadc68d78b427e.tar.gz
gestor-225aa1499e37faf9d38257caabbadc68d78b427e.zip
decompiler.com
Diffstat (limited to 'Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL')
-rw-r--r--Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL16
1 files changed, 16 insertions, 0 deletions
diff --git a/Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL b/Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL
new file mode 100644
index 0000000..efd8526
--- /dev/null
+++ b/Decompiler/Gestor.Application.Migration.Files.20200818_60.SQL
@@ -0,0 +1,16 @@
+IF EXISTS (SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME = 'CamposRelatorios') AND NOT EXISTS(SELECT 1 FROM [dbo].[CamposRelatorios] WHERE [Relatorio] = 2 AND [IdUsuario] = 0)
+BEGIN
+ INSERT INTO [dbo].[CamposRelatorios]
+VALUES
+ ( 0, 2, 'Cliente', NULL, 0, NULL, 1 ),
+ ( 0, 2, 'Apolice', 'APÓLICE', 0, NULL, 2 ),
+ ( 0, 2, 'Endosso', NULL, 0, NULL, 3 ),
+ ( 0, 2, 'Status', NULL, 0, NULL, 4 ),
+ ( 0, 2, 'VigenciaInicial', 'VIGÊNCIA INICIAL', 0, 'DATA?', 5 ),
+ ( 0, 2, 'Comissao', 'COMISSÃO', 0, 'PERCENTUAL', 6 ),
+ ( 0, 2, 'PremioLiquido', 'PRÊMIO LÍQUIDO', 0, 'VALOR', 7 ),
+ ( 0, 2, 'Seguradora', NULL, 0, NULL, 8 ),
+ ( 0, 2, 'Ramo', NULL, 0, NULL, 9 ),
+ ( 0, 2, 'Vendedor', 'VENDEDOR PRINCIPAL', 0, NULL, 10 ),
+ ( 0, 2, 'Item', NULL, 0, NULL, 11 );
+END \ No newline at end of file