yourName 1 年之前
父節點
當前提交
509e1424e3
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/resources/com/steerinfo/dil/mapper/UniversalMapper.xml

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

@@ -1154,6 +1154,7 @@
                 OR REGEXP_LIKE(RC.MATERIAL_CODE, #{prodCode}) )
             </if>
         </where>
+        order by length("text")
         FETCH NEXT 10 ROWS ONLY
         )
         <if test="id!=null and id.size>0">