select stockout_guid, stockout_id, out_type, create_date, department_no, customer_no, create_man_id, status, stockout_source, warehouse_id, class_now_id, exit_id, car_number, FID, erp_stockout_id,bar_code_list,tray_code_list,org,task_id,kd_num,requester,require_time,is_expedited,time_ship_plan,delivery_point from out_stockout insert into out_stockout stockout_guid, stockout_id, out_type, create_date, department_no, customer_no, create_man_id, status, stockout_source, warehouse_id, class_now_id, exit_id, car_number, FID, erp_stockout_id, org_owner, time_ship_plan, bar_code_list, tray_code_list, org, kd_num, task_id, requester, require_time, is_expedited, delivery_point, #{stockoutGuid}, #{stockoutId}, #{outType}, #{createDate}, #{departmentNo}, #{customerNo}, #{createManId}, #{status}, #{stockoutSource}, #{warehouseId}, #{classNowId}, #{exitId}, #{carNumber}, #{FID}, #{erpStockoutId}, #{orgOwner}, #{timeShipPlan}, #{barCodeList}, #{trayCodeList}, #{org}, #{kdNum}, #{taskId}, #{requester}, #{requireTime}, #{isExpedited}, #{deliveryPoint}, update out_stockout stockout_id = #{stockoutId}, out_type = #{outType}, create_date = #{createDate}, department_no = #{departmentNo}, customer_no = #{customerNo}, create_man_id = #{createManId}, status = #{status}, stockout_source = #{stockoutSource}, warehouse_id = #{warehouseId}, class_now_id = #{classNowId}, exit_id = #{exitId}, car_number = #{carNumber}, FID = #{FID}, erp_stockout_id = #{erpStockoutId}, is_expedited = #{isExpedited}, delivery_point = #{deliveryPoint}, time_ship_plan = #{timeShipPlan}, requester = #{requester}, require_time = #{requireTime}, where stockout_guid = #{stockoutGuid} delete from out_stockout where stockout_guid = #{stockoutGuid} delete from out_stockout where stockout_guid in #{stockoutGuid} update out_stockout set exit_id=#{arg1} where stockout_id=#{arg0}