xiaoyong931011
2023-07-25 18b9614fa2a291223b7d4b86ef75c12df4260ca2
src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -223,6 +223,7 @@
        from mall_goods_comment a
        left join mall_member b on b.id = a.member_id
        <where>
            a.show_state = 1
            <if test="record != null">
                <if test="record.goodsId != null and record.goodsId != ''">
                    and a.goods_id=#{record.goodsId}