yumeng před 4 roky
rodič
revize
8ac37a8608

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/mapper/xml/ProjectMapper.xml

@@ -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}