|
@@ -2297,6 +2297,7 @@
|
|
|
left join OMSTRUCK_ORDER_MATERIAL o_o_material
|
|
|
on o_order.order_id=o_o_material.ORDER_ID
|
|
|
where t_w_result.RESULT_NET_WEIGHT is null and o_order.order_status in (2,4,5)
|
|
|
+ AND o_order.ORDER_TYPE=2
|
|
|
GROUP BY
|
|
|
a_s_o_Material.SALE_ORDER_ID
|
|
|
) sumWeight2
|
|
@@ -2311,6 +2312,7 @@
|
|
|
left join Tmstruck_Weight_Result t_w_result
|
|
|
on t_t_result.result_total_id=t_w_result.result_total_id
|
|
|
where o_order.order_status in (2,4,5)
|
|
|
+ AND o_order.ORDER_TYPE=2
|
|
|
GROUP BY
|
|
|
a_s_o_Material.SALE_ORDER_ID
|
|
|
|