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