luobang 2 年 前
コミット
38495366dd

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