Merge branch 'dev' of https://git.verdnatura.es/salix into dev

This commit is contained in:
gerard 2018-05-23 09:07:16 +02:00
commit 55cf603329
2 changed files with 18 additions and 0 deletions

View File

@ -21,6 +21,7 @@ const fs = require('fs-extra');
for (let dir of dirs) {
if (compareVersions(dir, version) <= 0) continue;
if (/^\./.test(dir)) continue;
let path = `${changesDir}/${dir}`;
let files = await fs.readdir(path);
files.sort();

View File

@ -0,0 +1,17 @@
USE `vn`;
DROP procedure IF EXISTS `agencyHourListOffer`;
DELIMITER $$
USE `vn`$$
CREATE DEFINER=`root`@`%` PROCEDURE `agencyHourListOffer`(vDate DATE, vAddressFk INT, vAgencyFk INT)
BEGIN
CALL vn.agencyHourOffer(vDate, vAddressFk, vAgencyFk);
SELECT * FROM tmp.agencyHourOffer;
DROP TEMPORARY TABLE tmp.agencyHourOffer;
END$$
DELIMITER ;