|
|
@@ -829,7 +829,17 @@
|
|
|
rc.LINE_ID "lineId",
|
|
|
'operationRangeName' "prop"
|
|
|
from RMS_TRANS_RANGE RC
|
|
|
- where DELETED = 0
|
|
|
+ left join rms_operation_point rop_s
|
|
|
+ on rop_s.operation_point_id = RC.start_point_id
|
|
|
+ left join rms_operation_point rop_e
|
|
|
+ on rop_e.operation_point_id = RC.end_point_id
|
|
|
+ <where>
|
|
|
+ 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>
|
|
|
<if test="index!=null and index!=''">
|