2024-01-15 11:31:03 +00:00
|
|
|
DELIMITER $$
|
2024-08-20 08:06:10 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`vn`@`localhost` PROCEDURE `vn`.`zone_getAvailable`(vAddress INT, vLanded DATE)
|
2024-01-15 11:31:03 +00:00
|
|
|
BEGIN
|
|
|
|
CALL zone_getFromGeo(address_getGeo(vAddress));
|
|
|
|
CALL zone_getOptionsForLanding(vLanded, FALSE);
|
|
|
|
|
|
|
|
SELECT * FROM tmp.zoneOption;
|
|
|
|
|
|
|
|
DROP TEMPORARY TABLE
|
|
|
|
tmp.zone,
|
|
|
|
tmp.zoneOption;
|
|
|
|
END$$
|
|
|
|
DELIMITER ;
|