@@ -90,6 +90,6 @@
<foreach collection="ids" item="id" separator=",">
#{id}
</foreach>
- ) and is_deleted = 0 group by del_root_id ) group by del_root_id, del_root_name having count(1) > 1
+ ) and is_deleted = 0 group by del_root_id ) and status = 0 group by del_root_id, del_root_name having count(1) > 1
</select>
</mapper>