From 0197f08c48c46bd248d1d36e7d3a5baedb84a572 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 27 Jun 2022 14:13:50 +0200 Subject: [PATCH] typo --- db/dump/fixtures.sql | 6 +++--- db/dump/structure.sql | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/db/dump/fixtures.sql b/db/dump/fixtures.sql index eb8ee1a9e..937e80d97 100644 --- a/db/dump/fixtures.sql +++ b/db/dump/fixtures.sql @@ -2601,6 +2601,6 @@ INSERT INTO `vn`.`sectorCollectionSaleGroup` (`sectorCollectionFk`, `saleGroupFk VALUES (1, 1); -INSERT INTO `vn`.`workerTimeControlConfig` -(id, dayBreak, dayBreakDriver, shortWeekBreak, longWeekBreak, weekScope, mailPass, mailHost, mailSuccessFolder, mailErrorFolder, mailUser, minHoursToBreak, breakHours, hoursCompleteWeek, startNightlyHours, endNightlyHours, maxTimePerDay, breakTime, timeToBreakTime, dayMaxTime, shortWeekDays, longWeekDays) -VALUES(1, 43200, 32400, 129600, 259200, 604800, 'q8UAYfSnyKyS1APc', 'imap.verdnatura.es', 'Leidos.exito', 'Leidos.error', 'timeControl', 5.33, 0.33, 40, '22:00:00', '06:00:00', 57600, 1200, 18000, 57600, 6, 13); \ No newline at end of file +INSERT INTO `vn`.`workerTimeControlConfig` (`id`, `dayBreak`, `dayBreakDriver`, `shortWeekBreak`, `longWeekBreak`, `weekScope`, `mailPass`, `mailHost`, `mailSuccessFolder`, `mailErrorFolder`, `mailUser`, `minHoursToBreak`, `breakHours`, `hoursCompleteWeek`, `startNightlyHours`, `endNightlyHours`, `maxTimePerDay`, `breakTime`, `timeToBreakTime`, `dayMaxTime`, `shortWeekDays`, `longWeekDays`) + VALUES + (1, 43200, 32400, 129600, 259200, 604800, '', '', 'Leidos.exito', 'Leidos.error', 'timeControl', 5.33, 0.33, 40, '22:00:00', '06:00:00', 57600, 1200, 18000, 57600, 6, 13); \ No newline at end of file diff --git a/db/dump/structure.sql b/db/dump/structure.sql index 445fe831f..24333ff64 100644 --- a/db/dump/structure.sql +++ b/db/dump/structure.sql @@ -74383,7 +74383,7 @@ BEGIN END; IF (vTimed IS NULL) THEN - SET vTimed = NOW(); + SET vTimed = util.VN_NOW(); SET vManual = FALSE; END IF; @@ -74446,7 +74446,7 @@ BEGIN LIMIT 1; -- FICHADAS A FUTURO - IF vTimed > DATE_ADD(NOW(), INTERVAL 60 SECOND) THEN + IF vTimed > DATE_ADD(util.VN_NOW(), INTERVAL 60 SECOND) THEN SET vErrorCode = 'IS_NOT_ALLOWED_FUTURE'; CALL util.throw(vErrorCode); END IF;