fix: refs #6861 getTickets
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
gitea/salix/pipeline/pr-master There was a failure building this commit
Details
This commit is contained in:
parent
b592ccc162
commit
2adc424ccb
|
@ -5,7 +5,7 @@ CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`itemShelvingSale_afterI
|
||||||
BEGIN
|
BEGIN
|
||||||
UPDATE sale s
|
UPDATE sale s
|
||||||
JOIN operator o ON o.workerFk = account.myUser_getId()
|
JOIN operator o ON o.workerFk = account.myUser_getId()
|
||||||
JOIN sector se ON s.id = o.sectorFk
|
JOIN sector se ON se.id = o.sectorFk
|
||||||
SET s.isPicked = IF((se.isOnReservationMode IS NULL AND o.isOnReservationMode) OR se.isOnReservationMode, s.isPicked, TRUE)
|
SET s.isPicked = IF((se.isOnReservationMode IS NULL AND o.isOnReservationMode) OR se.isOnReservationMode, s.isPicked, TRUE)
|
||||||
WHERE id = NEW.saleFk;
|
WHERE id = NEW.saleFk;
|
||||||
END$$
|
END$$
|
||||||
|
|
Loading…
Reference in New Issue