KKSU
2024-09-06 2d4ca873930d066c05ee5cfeb9d934a04ce19f59
src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -194,6 +194,9 @@
                <if test="record.goodsType != null and record.goodsType != ''">
                    and a.goods_type=#{record.goodsType}
                </if>
                <if test="record.categoryId != null and record.categoryId != ''">
                    and a.category_id=#{record.categoryId}
                </if>
            </if>
        </where>
        group by a.id