hotfix collection_assign elimino vLockTime
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Andrés 2024-04-29 14:42:16 +02:00
parent e1fe1cef7f
commit dcb6f90ab3
1 changed files with 0 additions and 5 deletions

View File

@ -16,7 +16,6 @@ BEGIN
DECLARE vItemPackingTypeFk VARCHAR(1);
DECLARE vWarehouseFk INT;
DECLARE vLockName VARCHAR(215);
DECLARE vLockTime INT DEFAULT 30;
DECLARE EXIT HANDLER FOR SQLEXCEPTION
BEGIN
@ -54,10 +53,6 @@ BEGIN
vItemPackingTypeFk
);
IF NOT GET_LOCK(vLockName, vLockTime) THEN
CALL util.throw(CONCAT('Cannot get lock: ', vLockName));
END IF;
-- Se eliminan las colecciones sin asignar que estan obsoletas
INSERT INTO ticketTracking(stateFk, ticketFk)
SELECT s.id, tc.ticketFk