refactor: refs #7920 Main change #3194
No reviewers
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#3194
Loading…
Reference in New Issue
No description provided.
Delete Branch "7920-itemShelving"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
refactor: refs #7920 Main changeto WIP: refactor: refs #7920 Main changeWIP: refactor: refs #7920 Main changeto refactor: refs #7920 Main change@ -1,14 +1,14 @@
DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `vn`.`itemShelvingLog_get`(vShelvingFk VARCHAR(10) )
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `vn`.`itemShelvingLog_get`(
vShelvingFk VARCHAR(10)
int? o shelvingCode?
ShelvingCode, vuic fer-ho retrocompatible
@ -116,0 +112,4 @@
SELECT ish.id, ish.visible INTO vTargetItemShelvingFk, vCurrentVisible
FROM itemShelving ish
JOIN shelving sh ON sh.id = ish.shelvingFk
WHERE sh.code = vShelvingCode COLLATE utf8mb3_general_ci
si el poses dalt en la definicio no cal que el poses dos vegades en el codi
@ -1,11 +1,10 @@
DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `vn`.`shelvingChange`(IN `vShelvingO` VARCHAR(8), IN `vShelvingD` VARCHAR(8))
la taula es varchar10, revisals tots per si de cas
@ -27,0 +30,4 @@
}
});
if (!shelving) return [];
@alexm que es fa en estos casos? perque tornar [] jo no ho he vist
Normalment fem
if (!shelving) return;
Ho vaig provar, i donaba error perque se espera un array..