Hentua
2023-06-12 2f34848f649b7d29f7697f8fe13b5e93c543c19a
src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -95,6 +95,9 @@
                    <if test="record.goodsType == 3">
                        and a.present_price = 0
                    </if>
                    <if test="record.goodsLevel != null">
                        and a.goods_level=#{record.goodsLevel}
                    </if>
                    <if test="record.categoryId != null and record.categoryId != ''">
                        and (c.id = #{record.categoryId} or c.parent_id=#{record.categoryId})
                    </if>