@@ -385,7 +385,7 @@
</delete>
<select id="queryCountByCategoryIds" resultType="integer">
- select count(id) from nideshop_goods where category_id in
+ select count(id) from nideshop_goods where is_delete = 0 AND category_id in
<foreach item="id" collection="ids" open="(" separator="," close=")">
#{id}
</foreach>