xiaoyong931011
2023-03-17 cc73c7e2650525bb528a13fec25bf6b90639ebda
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>
            and show_state = 1
            <if test="record != null">
                <if test="record.goodsId != null and record.goodsId != ''">
                    and a.goods_id=#{record.goodsId}