parent
bb86c27202
commit
634bde1c9c
|
@ -27,7 +27,7 @@ BEGIN
|
|||
JOIN vn.ticket t ON t.id = s.ticketFk
|
||||
WHERE ic.merchandise
|
||||
AND t.shipped BETWEEN vDateStart AND util.dayEnd(vDateEnd)
|
||||
GROUP BY i.id, bs.dated;
|
||||
GROUP BY it.id, bs.dated;
|
||||
|
||||
INSERT INTO salesByItemTypeDay (itemTypeFk, dated, trash, faults)
|
||||
SELECT it.id itemTypeFk,
|
||||
|
|
Loading…
Reference in New Issue