luobang 2 سال پیش
والد
کامیت
38495366dd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/QmsQueueResultMapper.xml

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/QmsQueueResultMapper.xml

@@ -918,7 +918,7 @@
         <if test="capacityNumber != null">
             and instr(RC.CAPACITY_NUMBER, #{capacityNumber}) > 0
         </if>
-        <if test="materialList != null">
+        <if test="materialList != null and materialList.size > 0">
             and RM.MATERIAL_ID in
             <foreach collection="materialList" item="item" open="(" separator="," close=")">
                 ${item}