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}