fix: Error workerTimeControl_direction Salix #2407

Merged
carlosap merged 1 commits from 7330-Error-workerTimeControl_direction-en-Salix into master 2024-05-06 11:41:11 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ BEGIN
FROM workerTimeControl
WHERE userFk = vWorkerFk
AND direction = 'middle'
AND timed BETWEEN vLastIn AND util.VN_NOW();
AND timed BETWEEN vLastIn AND vTimed;
DROP TEMPORARY TABLE IF EXISTS tmp.workerTimeControlDirection;
CREATE TEMPORARY TABLE tmp.workerTimeControlDirection