|
@@ -553,10 +553,8 @@
|
|
|
on OO.ORDER_ID = TTR.ORDER_ID
|
|
|
left join tmstruck_weight_result twr
|
|
|
on twr.result_total_id = ttr.result_total_id
|
|
|
- left join rms_driver_capacity rdc
|
|
|
- on rdc.driver_capacity_id = OO.driver_capacity_id
|
|
|
left join rms_capacity rc
|
|
|
- on rc.capacity_id = rdc.capacity_id
|
|
|
+ on rc.capacity_id = oo.capacity_id
|
|
|
left join amstruck_inward_plan aip
|
|
|
on aip.plan_id = oo.order_plan_id
|
|
|
left join amstruck_requirement_plan arp
|