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