|
@@ -300,7 +300,6 @@
|
|
|
OPERATION_POINT_ID "value",
|
|
OPERATION_POINT_ID "value",
|
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "label",
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "label",
|
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "text"
|
|
OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME "text"
|
|
|
-
|
|
|
|
|
from RMS_OPERATION_POINT
|
|
from RMS_OPERATION_POINT
|
|
|
<where>
|
|
<where>
|
|
|
DELETED = 0
|
|
DELETED = 0
|
|
@@ -320,6 +319,7 @@
|
|
|
AND ALTERNATE_FIELDS1 = #{sourceFlag}
|
|
AND ALTERNATE_FIELDS1 = #{sourceFlag}
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
|
|
+ order by LENGTH(OPERATION_POINT_CODE || '-' || OPERATION_POINT_NAME)
|
|
|
FETCH NEXT 10 ROWS ONLY
|
|
FETCH NEXT 10 ROWS ONLY
|
|
|
)
|
|
)
|
|
|
<if test="id!=null and id.size>0">
|
|
<if test="id!=null and id.size>0">
|
|
@@ -388,6 +388,9 @@
|
|
|
<if test="index!=null and index!=''">
|
|
<if test="index!=null and index!=''">
|
|
|
AND REGEXP_LIKE("label", #{index})
|
|
AND REGEXP_LIKE("label", #{index})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="personnelName!=null and personnelName!=''">
|
|
|
|
|
+ AND REGEXP_LIKE("label", #{personnelName})
|
|
|
|
|
+ </if>
|
|
|
<if test="lastIndex!=null">
|
|
<if test="lastIndex!=null">
|
|
|
and "personnelId" < #{lastIndex}
|
|
and "personnelId" < #{lastIndex}
|
|
|
</if>
|
|
</if>
|