|
@@ -578,7 +578,7 @@
|
|
|
TTR.RESULT_TOTAL_ID "resultTotalId",
|
|
|
OO.CAPACITY_ID "capacityId",
|
|
|
RC.CAPACITY_NUMBER "capacityNumber",
|
|
|
- TLFR.SEGMENT_SQE "segmentsqe"
|
|
|
+ TLFR.SEGMENT_SQE "segmentSqe"
|
|
|
from OMSTRUCK_ORDER OO
|
|
|
left join TMSTRUCK_TOTAL_RESULT TTR
|
|
|
on OO.ORDER_ID = TTR.ORDER_ID
|
|
@@ -587,7 +587,7 @@
|
|
|
left join RMS_CAPACITY RC
|
|
|
on RC.CAPACITY_ID = OO.CAPACITY_ID
|
|
|
where OO.ORDER_NUMBER = #{orderNumber} and TLFR.RESULT_OUT_GATE_TIME is null
|
|
|
- order by "segmentsqe"
|
|
|
+ order by TLFR.SEGMENT_SQE
|
|
|
)
|
|
|
where rownum = 1
|
|
|
</select>
|