select order_id, area_id, order_no, out_trade_no, user_id, rule_id, device_mac, sn, pay_time, paid, pay_type, type, total_fee, pay_fee, dispatch_fee, manage_fee, riding_fee, appointment_fee, mark, duration, distance, status, create_time, appointment_start_time, appointment_end_time,appointment_timeout, unlock_time,return_time, rule_end_time, return_type, AsText(trip_route) trip_route,trip_route_str,cycle,deposit_deduction,video_url,upload_time,deduction_amount,audio_files,used_sn,change_reason,locking from et_order insert into et_order order_id, area_id, order_no, user_id, rule_id, device_mac, sn, pay_time, paid, pay_type, type, total_fee, pay_fee, dispatch_fee, manage_fee, riding_fee, appointment_fee, mark, duration, distance, status, create_time, appointment_start_time, appointment_end_time, appointment_timeout, unlock_time, return_time, rule_end_time, return_type, trip_route, trip_route_str, cycle, #{orderId}, #{areaId}, #{orderNo}, #{userId}, #{ruleId}, #{deviceMac}, #{sn}, #{payTime}, #{paid}, #{payType}, #{type}, #{totalFee}, #{payFee}, #{dispatchFee}, #{manageFee}, #{ridingFee}, #{appointmentFee}, #{mark}, #{duration}, #{distance}, #{status}, #{createTime}, #{appointmentStartTime}, #{appointmentEndTime}, #{appointmentTimeout}, #{unlockTime}, #{returnTime}, #{ruleEndTime}, #{returnType}, GeomFromText(#{tripRoute}), #{tripRouteStr}, #{cycle}, update et_order area_id = #{areaId}, out_trade_no = #{outTradeNo}, user_id = #{userId}, rule_id = #{ruleId}, device_mac = #{deviceMac}, sn = #{sn}, pay_time = #{payTime}, paid = #{paid}, pay_type = #{payType}, type = #{type}, total_fee = #{totalFee}, pay_fee = #{payFee}, dispatch_fee = #{dispatchFee}, manage_fee = #{manageFee}, riding_fee = #{ridingFee}, appointment_fee = #{appointmentFee}, mark = #{mark}, duration = #{duration}, distance = #{distance}, status = #{status}, create_time = #{createTime}, appointment_start_time = #{appointmentStartTime}, appointment_end_time = #{appointmentEndTime}, appointment_timeout = #{appointmentTimeout}, unlock_time = #{unlockTime}, return_time = #{returnTime}, return_type = #{returnType}, trip_route = GeomFromText(#{tripRoute}), trip_route_str = #{tripRouteStr}, cycle = #{cycle}, deposit_deduction = #{depositDeduction}, video_url = #{videoUrl}, upload_time = #{uploadTime}, deduction_amount = #{deductionAmount}, audio_files = #{audioFiles}, used_sn = #{usedSn}, change_reason = #{changeReason}, locking = #{locking}, where order_id = #{orderId} update et_order area_id = #{areaId}, user_id = #{userId}, out_trade_no = #{outTradeNo}, rule_id = #{ruleId}, device_mac = #{deviceMac}, sn = #{sn}, pay_time = #{payTime}, paid = #{paid}, pay_type = #{payType}, type = #{type}, total_fee = #{totalFee}, pay_fee = #{payFee}, dispatch_fee = #{dispatchFee}, manage_fee = #{manageFee}, riding_fee = #{ridingFee}, appointment_fee = #{appointmentFee}, mark = #{mark}, duration = #{duration}, distance = #{distance}, status = #{status}, create_time = #{createTime}, appointment_start_time = #{appointmentStartTime}, appointment_end_time = #{appointmentEndTime}, appointment_timeout = #{appointmentTimeout}, unlock_time = #{unlockTime}, return_time = #{returnTime}, return_type = #{returnType}, trip_route = GeomFromText(#{tripRoute}), trip_route_str = #{tripRouteStr}, cycle = #{cycle}, deposit_deduction = #{depositDeduction}, video_url = #{videoUrl}, upload_time = #{uploadTime}, deduction_amount = #{deductionAmount}, audio_files = #{audioFiles}, used_sn = #{usedSn}, change_reason = #{changeReason}, locking = #{locking}, where order_no = #{orderNo} delete from et_order where order_id = #{orderId} delete from et_order where order_id in #{orderId} delete from et_order where order_no = #{orderNo}