src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -190,6 +190,9 @@ <if test="record.goodsType != null and record.goodsType != ''"> and a.goods_type=#{record.goodsType} </if> <if test="record.activityId != null"> and a.activity_id=#{record.activityId} </if> </if> </where> group by a.id