fix: refs #5320 withoutHaving
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-09-30 09:39:35 +02:00
parent 1f5c0d3e94
commit a9b083a044
1 changed files with 2 additions and 1 deletions

View File

@ -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))