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}