@@ -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
)