fix(analytics): corregir vista v_ocupacion_diaria para contar reservas durante toda su estancia - #15
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fix/vista-ocupacion-diaria
Descripción del cambio
Corrige bug crítico en la vista analítica
v_ocupacion_diariaque contaba reservas solo en su fecha de entrada en lugar de durante toda su estancia. El JOIN ahora evalúa si la fecha del calendario cae en el rango [fecha_entrada, fecha_salida), respetando el agrupamiento original por tipo de espacio para análisis macro de Data Science.Este PR incluye 3 commits atómicos:
fix(infra): Ajuste de puerto MariaDB a 3308 para evitar conflicto con XAMPPchore(testing): Exclusión de archivos de entorno y cache del versionadofix(analytics): Corrección de lógica de fechas en vista analítica + test de integraciónTipo de cambio
Checklist de auto-revisión