7729-devToTest_2430 #2739
|
@ -31,7 +31,6 @@ BEGIN
|
||||||
|
|
||||||
START TRANSACTION;
|
START TRANSACTION;
|
||||||
|
|
||||||
IF vParam REGEXP '^[0-9]+$' THEN
|
|
||||||
SET vLastWeek = util.VN_CURDATE() - INTERVAL 1 WEEK;
|
SET vLastWeek = util.VN_CURDATE() - INTERVAL 1 WEEK;
|
||||||
|
|
||||||
-- Comprobamos si es una prep. previa, ticket, colección o shelving
|
-- Comprobamos si es una prep. previa, ticket, colección o shelving
|
||||||
|
@ -43,7 +42,6 @@ BEGIN
|
||||||
CALL collection_setParking(vParam, vParkingFk);
|
CALL collection_setParking(vParam, vParkingFk);
|
||||||
ELSEIF (SELECT TRUE FROM shelving WHERE code = vParam COLLATE utf8_unicode_ci) THEN
|
ELSEIF (SELECT TRUE FROM shelving WHERE code = vParam COLLATE utf8_unicode_ci) THEN
|
||||||
CALL shelving_setParking(vParam, vParkingFk);
|
CALL shelving_setParking(vParam, vParkingFk);
|
||||||
END IF;
|
|
||||||
ELSE
|
ELSE
|
||||||
CALL util.throw('paramNotExist');
|
CALL util.throw('paramNotExist');
|
||||||
END IF;
|
END IF;
|
||||||
|
|
Loading…
Reference in New Issue