fix: closeTicket idem salix refs #6549 #2163
|
@ -1,16 +1,15 @@
|
||||||
INSERT INTO util.notification ( name, description)
|
INSERT INTO util.notification ( name, description)
|
||||||
SELECT 'invoice-ticket-closure',
|
SELECT 'invoice-ticket-closure',
|
||||||
'Tickets not invoiced during the nightly closure ticket process'
|
'Tickets not invoiced during the nightly closure ticket process';
|
||||||
FROM util.notification;
|
|
||||||
|
|
||||||
carlosap marked this conversation as resolved
Outdated
|
|||||||
SET @notificationFk =LAST_INSERT_ID();
|
SET @notificationFk =LAST_INSERT_ID();
|
||||||
|
|
||||||
INSERT IGNORE INTO util.notificationAcl (notificationFk, roleFk)
|
INSERT IGNORE INTO util.notificationAcl (notificationFk, roleFk)
|
||||||
SELECT @notificationFk,id
|
SELECT @notificationFk,id
|
||||||
FROM account.role
|
FROM account.role
|
||||||
jgallego marked this conversation as resolved
Outdated
jgallego
commented
hacer join con role hacer join con role
|
|||||||
WHERE name ='administrative';
|
WHERE name ='administrative';
|
||||||
|
|
||||||
INSERT IGNORE INTO util.notificationSubscription (notificationFk, userFk)
|
INSERT IGNORE INTO util.notificationSubscription (notificationFk, userFk)
|
||||||
SELECT @notificationFk, id
|
SELECT @notificationFk, id
|
||||||
FROM account.`user`
|
FROM account.`user`
|
||||||
WHERE `name` = 'admon';
|
WHERE `name` = 'admon';
|
||||||
|
|
Loading…
Reference in New Issue
Faltava llevar el from, sino fea tants inserts com linies te la taula