From fd2a1073533e7c54bd97f39e9208ac16829962b3 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Fri, 10 Jul 2026 21:02:21 -0500 Subject: [PATCH] fix: parametros named en query debug-cmxc --- app/routes/automation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routes/automation.py b/app/routes/automation.py index b64b57c..1d50186 100644 --- a/app/routes/automation.py +++ b/app/routes/automation.py @@ -160,7 +160,7 @@ async def debug_cmxc(request: Request, user: dict = Depends(get_current_user), f SELECT r.IDRECEPCION, r.PREFIJO, r.NUM_FACTURA, r.PS_NUM, r.NIT_EMPRESA, r.VALORTOTAL, r.FECHA_RECEPCION FROM RECEPCION r - WHERE r.FECHA_RECEPCION BETWEEN ? AND ? + WHERE r.FECHA_RECEPCION BETWEEN :fecha_ini AND :fecha_fin AND r.PREFIJO = 'CMXC' ORDER BY r.IDRECEPCION """, {"fecha_ini": f"{fecha} 00:00:00", "fecha_fin": f"{fecha} 23:59:59"})