order by "${orderField}" ${orderType} update OMSTRUCK_ORDER OO set OO.ORDER_STATUS = #{orderStatus} where OO.ORDER_ID = #{orderId} update AMSTRUCK_SPORADIC_ORDER ASO set sporadic_order_times =#{times} where sporadic_order_id= #{orderPlanId} update AMSTRUCK_SPORADIC_ORDER set SPORADIC_TRANS_TIMES =#{times} where sporadic_order_id= #{orderPlanId} update AMS_PURCHASE_ORDER APO set APO.IS_MORE_TRIPS = 1 where APO.PURCHASE_ORDER_ID = #{purchaseOrderId} update OMSTRUCK_ORDER OO set oo.ORDER_STATUS = 2 , OO.ORDER_LINE_SEQUENCE = #{sqe} where oo.ORDER_ID = #{orderId} update AMSTRUCK_SPORADIC_ORDER ASO SET ASO.TRANS_STATUS = #{sporadicStatus} WHERE ASO.SPORADIC_ORDER_ID = #{orderPlanId} update OMSTRUCK_ORDER OO set OO.ORDER_LINE_SEQUENCE = (select MAX(RLS.SEGMENT_SQE) - 1 from RMS_LINE_SEGEMNT RLS where OO.LINE_ID = RLS.LINE_ID) where OO.ORDER_ID = #{orderId}