销量
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user