src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -72,6 +72,7 @@ a.present_price, a.score, a.is_hot, min(b.id) skuId, min(b.present_price) price, sum(b.stock) stock, sum(b.sku_volume) saleVolume @@ -82,7 +83,7 @@ a.is_sale=1 <if test="record != null"> <if test="record.isHot != null and record.isHot != ''"> and a.is_hot = 1 and a.is_hot = #{record.is_hot} </if> <if test="record.isNormal != null and record.isNormal != ''"> and a.is_normal = #{record.isNormal}