refs #6156 new field #1718

Merged
jsegarra merged 13 commits from 6156-advanceTicketsNewField into dev 2024-09-11 10:27:07 +00:00
1 changed files with 4 additions and 1 deletions
Showing only changes of commit f9a25617f0 - Show all commits

View File

@ -45,7 +45,10 @@ BEGIN
CREATE OR REPLACE TEMPORARY TABLE tmp.filter
(INDEX (id))
SELECT dest.*,
origin.*
origin.*,
IFNULL(dest.nickname, origin.nickname) nickname,
(origin.futureLines = origin.hasStock) AS isFullMovable,
origin.futureLines - origin.hasStock AS notMovableLines
FROM (
SELECT s.ticketFk futureId,
t.workerFk,