Helius
2021-06-29 9e560392543d3db3f269bbc0cb1f2c75e8f7f436
gc-shop/src/main/resources/mapper/shop/ScoreGoodsMapper.xml
@@ -59,7 +59,15 @@
            </if>
        </where>
        group by a.id
        order by a.id desc
        <if test="record.sort == 1">
            order by a.id desc
        </if>
        <if test="record.sort == 2">
            order by quantity desc
        </if>
        <if test="record.sort == 3">
            order by a.present_price desc
        </if>
    </select>
    <resultMap id="goodsDetailsMap" type="com.xzx.gc.shop.vo.XcxGoodsDetailVo">