xiaoyong931011
2023-10-17 1e2caad917ea0c13d4b3e8f465ceaa72fc5e7a27
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}