src/main/resources/mapper/modules/MallGoodsMapper.xml | ●●●●● patch | view | raw | blame | history |
src/main/resources/mapper/modules/MallGoodsMapper.xml
@@ -261,7 +261,7 @@ (select count(z.id) from mall_goods_comment z where z.goods_id = #{id} and (z.star <![CDATA[ >= ]]> 3 and z.star <![CDATA[ <= ]]> 4)) goodNum, (select count(z.id) from mall_goods_comment z where z.goods_id = #{id} and (z.star <![CDATA[ < ]]> 3 )) badNum from mall_goods_comment a from mall_goods_comment a limit 1 </select> </mapper>