Redeem 2 년 전
부모
커밋
b2f26a0759
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

+ 3 - 0
src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

@@ -661,6 +661,9 @@
             <if test="index!=null and index!=''">
                 AND REGEXP_LIKE(RC.MATERIAL_NAME, #{index})
             </if>
+            <if test="materialId!=null and materialId!=''">
+                AND RC.MATERIAL_ID = #{materialId}
+            </if>
         </where>
         FETCH NEXT 10 ROWS ONLY
         )