8032-devToTest_2440 #3009

Merged
alexm merged 262 commits from 8032-devToTest_2440 into test 2024-09-24 09:34:49 +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,