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