商品列表 分组排序 字段映射
This commit is contained in:
@@ -949,7 +949,7 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
GROUP BY product_id
|
||||
ORDER BY stockNumber DESC LIMIT 3) AS top_products ON tb.id = top_products.product_id
|
||||
ORDER BY realSalesNumber DESC LIMIT 3) AS top_products ON tb.id = top_products.product_id
|
||||
where
|
||||
tb.status = 1
|
||||
and tb.type_enum != 'group'
|
||||
|
||||
Reference in New Issue
Block a user