This commit is contained in:
parent
1f5c0d3e94
commit
a9b083a044
|
@ -96,7 +96,8 @@ BEGIN
|
|||
LEFT JOIN parking p2 ON p2.id = sg.parkingFk
|
||||
WHERE w.id = vWarehouseFk
|
||||
AND NOT sc.isHideForPickers
|
||||
AND ((iss.id IS NOT NULL AND st.saleFk IS NOT NULL) OR st.saleFk IS NULL);
|
||||
AND ((iss.id AND st.saleFk) OR st.saleFk IS NULL)
|
||||
GROUP BY st.saleFk, created;
|
||||
|
||||
CREATE OR REPLACE TEMPORARY TABLE tSalePlacementList2
|
||||
(INDEX(saleFk), INDEX(olderPriority))
|
||||
|
|
Loading…
Reference in New Issue