This commit is contained in:
@@ -568,6 +568,7 @@ export class OrdersService {
|
|||||||
AND o.status NOT IN ('pendingPayment', 'canceled')
|
AND o.status NOT IN ('pendingPayment', 'canceled')
|
||||||
GROUP BY f.id, f.title
|
GROUP BY f.id, f.title
|
||||||
ORDER BY total_revenue DESC
|
ORDER BY total_revenue DESC
|
||||||
|
LIMIT 5
|
||||||
`,
|
`,
|
||||||
[restId, startDate, endDate],
|
[restId, startDate, endDate],
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user