KKSU
2024-06-04 068fe86cffc98f31a0b83bee34fa2dce6b23b736
src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -159,9 +159,9 @@
        </collection>
    </resultMap>
    <select id="selectApiOrderListInPage" resultType="cc.mrbird.febs.mall.entity.MallOrderInfo">
    <select id="selectApiOrderListInPage" resultMap="OrderInfoMap">
        select
               a.*
               *
        from mall_order_info a
        inner join mall_order_item b on a.id=b.order_id
        <where>
@@ -438,7 +438,7 @@
    <select id="getGoodsStatisticsInPage" resultType="cc.mrbird.febs.mall.vo.AdminGoodsStatisticsVo">
        select
            CONCAT(goods_name, '-', sku_name) goodsName,
            CONCAT(goods_name, '---', sku_name) goodsName,
            SUM(cnt) goodsCnt
        from mall_order_item
        <where>
@@ -450,7 +450,7 @@
                    </foreach>
            </if>
        </where>
            GROUP BY goods_id,goods_name
            GROUP BY goods_id,goods_name,sku_name
            ORDER BY goods_id desc
    </select>