master #2408
|
@ -26,7 +26,7 @@ BEGIN
|
||||||
FROM workerTimeControl
|
FROM workerTimeControl
|
||||||
WHERE userFk = vWorkerFk
|
WHERE userFk = vWorkerFk
|
||||||
AND direction = 'middle'
|
AND direction = 'middle'
|
||||||
AND timed BETWEEN vLastIn AND util.VN_NOW();
|
AND timed BETWEEN vLastIn AND vTimed;
|
||||||
|
|
||||||
DROP TEMPORARY TABLE IF EXISTS tmp.workerTimeControlDirection;
|
DROP TEMPORARY TABLE IF EXISTS tmp.workerTimeControlDirection;
|
||||||
CREATE TEMPORARY TABLE tmp.workerTimeControlDirection
|
CREATE TEMPORARY TABLE tmp.workerTimeControlDirection
|
||||||
|
|
Loading…
Reference in New Issue