7430_devToTest #2490
|
@ -69,8 +69,8 @@ BEGIN
|
||||||
|
|
||||||
IF (SELECT EXISTS(SELECT * FROM tTicket)) THEN
|
IF (SELECT EXISTS(SELECT * FROM tTicket)) THEN
|
||||||
UPDATE ticket
|
UPDATE ticket
|
||||||
SET cmrFk = vCurrentCmrFk
|
SET cmrFk = LAST_INSERT_ID()
|
||||||
WHERE id = LAST_INSERT_ID();
|
WHERE id = vSelf;
|
||||||
END IF;
|
END IF;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue