xiaoyong931011
2022-09-07 a4c1caa24924c8cf989c844e3f6d33ef8f825969
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>