xiaoyong931011
2022-07-29 98c29ae57c5f9cc2ade7856746b1b6acb9e0e8c6
src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -73,6 +73,7 @@
                a.score,
                a.is_hot,
                min(b.present_price) price,
                sum(b.stock) stock,
                sum(b.sku_volume) saleVolume
            from mall_goods a
                 left join mall_goods_sku b on a.id=b.goods_id