Redeem 2 năm trước cách đây
mục cha
commit
b2f26a0759

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