This commit is contained in:
parent
6ee7b54311
commit
a6fc82c4cb
|
|
@ -945,7 +945,7 @@
|
|||
FROM tb_product_sku
|
||||
WHERE shop_id = #{shopId}
|
||||
GROUP BY product_id
|
||||
ORDER BY SUM(stock_number) DESC LIMIT 3) AS top_products ON tb.id = top_products.product_id
|
||||
ORDER BY SUM(real_sales_number) DESC LIMIT 3) AS top_products ON tb.id = top_products.product_id
|
||||
where is_show_mall = 1
|
||||
and tb.status = 1
|
||||
and sku.is_del = 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue