|
@@ -310,7 +310,8 @@
|
|
|
OPERATION_POINT_ID "value",
|
|
OPERATION_POINT_ID "value",
|
|
|
OPERATION_POINT_NAME "OPERATION_POINT_NAME",
|
|
OPERATION_POINT_NAME "OPERATION_POINT_NAME",
|
|
|
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",
|
|
|
|
|
+ OPERATION_POINT_CODE "code"
|
|
|
from RMS_OPERATION_POINT
|
|
from RMS_OPERATION_POINT
|
|
|
<where>
|
|
<where>
|
|
|
DELETED = 0
|
|
DELETED = 0
|
|
@@ -339,7 +340,8 @@
|
|
|
OPERATION_POINT_ID "value",
|
|
OPERATION_POINT_ID "value",
|
|
|
OPERATION_POINT_NAME "OPERATION_POINT_NAME",
|
|
OPERATION_POINT_NAME "OPERATION_POINT_NAME",
|
|
|
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",
|
|
|
|
|
+ OPERATION_POINT_CODE "code"
|
|
|
from RMS_OPERATION_POINT
|
|
from RMS_OPERATION_POINT
|
|
|
where OPERATION_POINT_ID in
|
|
where OPERATION_POINT_ID in
|
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
<foreach collection="id" item="item" open="(" close=")" separator="," >
|
|
@@ -671,18 +673,6 @@
|
|
|
) T ON T."capacityId" = RCA .CAPACITY_ID
|
|
) T ON T."capacityId" = RCA .CAPACITY_ID
|
|
|
</if>
|
|
</if>
|
|
|
WHERE RCA .DELETED = 0
|
|
WHERE RCA .DELETED = 0
|
|
|
- <if test="capacityTypeId !=null">
|
|
|
|
|
- AND (RCT.CAPACITY_TYPE_ID in (
|
|
|
|
|
- select rct.capacity_type_id from rms_capacity_type rct
|
|
|
|
|
- START WITH rct.capacity_type_id = #{capacityTypeId}
|
|
|
|
|
- connect BY PRIOR rct.capacity_type_id = rct.p_capacity_type_id
|
|
|
|
|
- )
|
|
|
|
|
- or RCA.CAPACITY_TYPE_ID2 in (
|
|
|
|
|
- select rct.capacity_type_id from rms_capacity_type rct
|
|
|
|
|
- START WITH rct.capacity_type_id = #{capacityTypeId}
|
|
|
|
|
- connect BY PRIOR rct.capacity_type_id = rct.p_capacity_type_id
|
|
|
|
|
- ))
|
|
|
|
|
- </if>
|
|
|
|
|
<if test="capacityType != null and capacityType != '' ">
|
|
<if test="capacityType != null and capacityType != '' ">
|
|
|
AND RCT.CAPACITY_TYPE_NAME = #{capacityType}
|
|
AND RCT.CAPACITY_TYPE_NAME = #{capacityType}
|
|
|
</if>
|
|
</if>
|
|
@@ -850,10 +840,6 @@
|
|
|
on RC.trans_range_id = t1.trans_range_id
|
|
on RC.trans_range_id = t1.trans_range_id
|
|
|
<where>
|
|
<where>
|
|
|
and RC.DELETED = 0
|
|
and RC.DELETED = 0
|
|
|
- <if test="isNc!=null and isNc!=''">
|
|
|
|
|
- and rop_s.alternate_fields1 = 'NC'
|
|
|
|
|
- and rop_e.alternate_fields1 = 'NC'
|
|
|
|
|
- </if>
|
|
|
|
|
</where>
|
|
</where>
|
|
|
)
|
|
)
|
|
|
<where>
|
|
<where>
|