From 8ccaacbc07a70e9769c8d31ad4e1e385b4cc2f30 Mon Sep 17 00:00:00 2001 From: guillermo Date: Tue, 6 Feb 2024 08:15:25 +0100 Subject: [PATCH] fix: refs# 6642 Bug apply version --- db/routines/vn/procedures/itemShelvingRadar.sql | 10 ++++++++-- db/routines/vn/views/itemShelvingAvailable.sql | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/db/routines/vn/procedures/itemShelvingRadar.sql b/db/routines/vn/procedures/itemShelvingRadar.sql index 778bd9910..c860d239e 100644 --- a/db/routines/vn/procedures/itemShelvingRadar.sql +++ b/db/routines/vn/procedures/itemShelvingRadar.sql @@ -1,7 +1,13 @@ DELIMITER $$ -CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`itemShelvingRadar`(vSectorFk INT) +CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`itemShelvingRadar`( + vSectorFk INT +) proc:BEGIN - +/** + * Calcula la informaciĆ³n detallada respecto un sector. + * + * @param vSectorFk Id de sector + */ DECLARE vCalcVisibleFk INT; DECLARE vCalcAvailableFk INT; DECLARE hasFatherSector BOOLEAN; diff --git a/db/routines/vn/views/itemShelvingAvailable.sql b/db/routines/vn/views/itemShelvingAvailable.sql index 868d6a963..ee4ef62b6 100644 --- a/db/routines/vn/views/itemShelvingAvailable.sql +++ b/db/routines/vn/views/itemShelvingAvailable.sql @@ -1,7 +1,7 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `vn`.`itemShelvingAvailable` -AS SELECT `s`.`id` AS `saleFk`, +AS SELECT `s`.`id` `saleFk`, `tst`.`updated` AS `Modificado`, `s`.`ticketFk` AS `ticketFk`, 0 AS `isPicked`,