@@ -67,7 +67,7 @@
and product_id = #{productId}
</if>
and material_share = 0
- <if test="partakeProjectIds != null and partakeProjectIds != ''">
+ <if test="partakeProjectIds != null and partakeProjectIds.size() > 0">
and id not in
<foreach item="item" index="index" collection="partakeProjectIds" open="(" separator="," close=")">
#{item}