#5858 - zoneCollisions #1853

Merged
jsegarra merged 78 commits from 5858-zone_Collisions into dev 2024-03-15 12:36:38 +00:00
5 changed files with 4 additions and 39 deletions
Showing only changes of commit 88a88640e5 - Show all commits

View File

@ -70,7 +70,7 @@ UPDATE vn.supplier
UPDATE `vn`.`claimRatio` SET `claimAmount` = '10' WHERE (`clientFk` = '1101');
INSERT INTO `vn`.`agency` (`name`, `warehouseFk`, `isOwn`, `isAnyVolumeAllowed`)
INSERT INTO `vn`.`agency` (`name`, `warehouseFk`, `isOwn`, `isAnyVolumeAllowed`)
VALUES
('Agencia', '1', '1', '1'),
('Otra agencia ', '1', '0', '0');
@ -327,4 +327,7 @@ INSERT INTO mysql.roles_mapping (`User`, `Host`, `Role`, `Admin_option`)
FROM mysql.roles_mapping
jsegarra marked this conversation as resolved Outdated

quitar salto

quitar salto
WHERE `User` LIKE @prefixedLike AND `Host` = @genRoleHost;
TRUNCATE util.vn_schedules;
FLUSH PRIVILEGES;

View File

@ -1,18 +0,0 @@
-- UPDATE salix.ACL
-- SET principalId='employee' WHERE model ="Notification";
-- INSERT INTO util.notification (name,description)
-- VALUES ('zone-included','An email to notify zoneCollisions');
-- INSERT INTO util.notificationSubscription (notificationFk,userFk)
-- SELECT
-- (SELECT id FROM util.notification WHERE name= "zone-included") AS notificationFk,
-- (SELECT account.myUser_getId() ) AS userFk;
-- INSERT INTO util.notificationAcl (notificationFk, roleFk)
-- SELECT
-- (SELECT id FROM util.notification WHERE name = 'zone-included') AS notificationFk,
-- (SELECT id FROM account.role WHERE name = 'system') AS roleFk;

View File

@ -1,10 +0,0 @@
-- INSERT INTO util.notification (id, name,description)
-- VALUES (
-- (SELECT MAX(id)+1 from util.notification n) , 'zone-included','An email to notify zoneCollisions');
-- INSERT INTO util.notificationSubscription (notificationFk,userFk)
-- SELECT id, account.myUser_getId() FROM util.notification WHERE name= "zone-included";
-- INSERT INTO util.notificationAcl (notificationFk,roleFk)
-- SELECT id, (SELECT id from `account`.`role` where name = "system") FROM util.notification WHERE name= "zone-included";

View File

@ -1,10 +0,0 @@
-- INSERT INTO util.notification (id, name,description)
-- VALUES (
-- (SELECT MAX(id)+1 from util.notification n) , 'zone-included','An email to notify zoneCollisions');
-- INSERT INTO util.notificationSubscription (notificationFk,userFk)
-- SELECT id, account.myUser_getId() FROM util.notification WHERE name= "zone-included";
-- INSERT INTO util.notificationAcl (notificationFk,roleFk)
-- SELECT id, (SELECT id from `account`.`role` where name = "system") FROM util.notification WHERE name= "zone-included";