diff --git a/pipelines/sislic/dump_db_sislic/schedules.py b/pipelines/sislic/dump_db_sislic/schedules.py index 8754e7e..2fac40a 100644 --- a/pipelines/sislic/dump_db_sislic/schedules.py +++ b/pipelines/sislic/dump_db_sislic/schedules.py @@ -1113,7 +1113,8 @@ SELECT cod_dlf, tipo, - Nr_documento + Nr_documento, + dt_cancelamento FROM SMU_PRD.dbo.tbLIC_DocCancelados """, diff --git a/pipelines/templates/run_dbt_model/flows.py b/pipelines/templates/run_dbt_model/flows.py index 4e1faa4..b4403b7 100644 --- a/pipelines/templates/run_dbt_model/flows.py +++ b/pipelines/templates/run_dbt_model/flows.py @@ -35,4 +35,4 @@ default_parameters=templates_run_dbt_model_smdue_default_parameters, ) -# RUN DBT MODEL ! +# RUN DBT MODEL diff --git a/queries/models/adm_licenca_urbanismo/alvara_obra_privada.sql b/queries/models/adm_licenca_urbanismo/alvara_obra_privada.sql index d7b5da0..2c78f67 100644 --- a/queries/models/adm_licenca_urbanismo/alvara_obra_privada.sql +++ b/queries/models/adm_licenca_urbanismo/alvara_obra_privada.sql @@ -63,7 +63,7 @@ numconcedida AS numeracao_concedida, obs AS observacao, CAST(CAST(mat_func AS FLOAT64) AS INT64) AS matricula_tecnico, CAST(cancelado AS BOOL) AS cancelado, -CAST(lic_gratis AS BOOL) AS licenca_gratis, +CAST(licgratis AS BOOL) AS licenca_gratis, CAST(orgaocentral AS BOOL) AS licenca_orgao_central, codorgao_especial AS cod_orgao_especial, OrdemEmissao AS ordem_emissao,