Skip to content

Commit

Permalink
Update subsidio_data_versao_efetiva.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
eng-rodrigocunha authored Jan 23, 2024
1 parent 4a9ce82 commit 6f719cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions models/projeto_subsidio_sppo/subsidio_data_versao_efetiva.sql
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SELECT
WHEN data = DATE(2023,12,31) THEN data
WHEN data = DATE(2024,01,01) THEN data
-- 2023:
WHEN data BETWEEN DATE(2024,01,02) AND DATE(2024,01,15) THEN DATE(2024,01,02)
WHEN data BETWEEN DATE(2024,01,02) AND DATE(2024,01,14) THEN DATE(2024,01,02)
WHEN data BETWEEN DATE(2024,01,15) AND DATE(2024,01,31) THEN DATE(2024,01,15)
-- 2022:
WHEN data BETWEEN DATE(2022,10,1) AND DATE(2022,10,2) THEN DATE(2022,9,16)
Expand Down Expand Up @@ -111,7 +111,7 @@ SELECT
WHEN data = DATE(2023,12,31) THEN data
WHEN data = DATE(2024,01,01) THEN data
-- 2023:
WHEN data BETWEEN DATE(2024,01,02) AND DATE(2024,01,15) THEN DATE(2024,01,02)
WHEN data BETWEEN DATE(2024,01,02) AND DATE(2024,01,14) THEN DATE(2024,01,02)
WHEN data BETWEEN DATE(2024,01,15) AND DATE(2024,01,31) THEN DATE(2024,01,15)
-- 2022:
WHEN data BETWEEN DATE(2022,10,1) AND DATE(2022,10,2) THEN DATE(2022,9,16)
Expand Down Expand Up @@ -152,7 +152,7 @@ SELECT
WHEN data = DATE(2023,12,31) THEN data
WHEN data = DATE(2024,01,01) THEN data
-- 2023:
WHEN data BETWEEN DATE(2024,01,02) AND DATE(2024,01,15) THEN DATE(2024,01,02)
WHEN data BETWEEN DATE(2024,01,02) AND DATE(2024,01,14) THEN DATE(2024,01,02)
WHEN data BETWEEN DATE(2024,01,15) AND DATE(2024,01,31) THEN DATE(2024,01,15)
-- 2022:
{% for i in range(6, 13) %}
Expand Down

0 comments on commit 6f719cb

Please sign in to comment.