select id, spot_id, scenic_id, order_code, audio_price, pay_price, discount_amount, status, pay_order_no, pay_method, coupon_id, zdy_user_id, create_time, create_name, phone, pay_time, refund_time, trade_session, refund_amount, pay_end_time, buy_num, refund_by, refund_reason, refund_code, dept_id, payment_scene, spot_image from zdy_scenic_spot_audio_order insert into zdy_scenic_spot_audio_order spot_id, scenic_id, order_code, audio_price, pay_price, discount_amount, status, pay_order_no, pay_method, coupon_id, zdy_user_id, create_time, create_name, phone, pay_time, refund_time, trade_session, refund_amount, pay_end_time, buy_num, refund_by, refund_reason, refund_code, dept_id, payment_scene, spot_image, #{spotId}, #{scenicId}, #{orderCode}, #{audioPrice}, #{payPrice}, #{discountAmount}, #{status}, #{payOrderNo}, #{payMethod}, #{couponId}, #{zdyUserId}, #{createTime}, #{createName}, #{phone}, #{payTime}, #{refundTime}, #{tradeSession}, #{refundAmount}, #{payEndTime}, #{buyNum}, #{refundBy}, #{refundReason}, #{refundCode}, #{deptId}, #{paymentScene}, #{spotImage}, update zdy_scenic_spot_audio_order spot_id = #{spotId}, scenic_id = #{scenicId}, order_code = #{orderCode}, audio_price = #{audioPrice}, pay_price = #{payPrice}, discount_amount = #{discountAmount}, status = #{status}, pay_order_no = #{payOrderNo}, pay_method = #{payMethod}, coupon_id = #{couponId}, zdy_user_id = #{zdyUserId}, create_time = #{createTime}, create_name = #{createName}, phone = #{phone}, pay_time = #{payTime}, refund_time = #{refundTime}, trade_session = #{tradeSession}, refund_amount = #{refundAmount}, pay_end_time = #{payEndTime}, buy_num = #{buyNum}, refund_by = #{refundBy}, refund_reason = #{refundReason}, refund_code = #{refundCode}, dept_id = #{deptId}, payment_scene = #{paymentScene}, spot_image = #{spotImage}, where id = #{id} update zdy_scenic_spot_audio_order set status = #{status} where order_code=#{orderCode} update zdy_scenic_spot_audio_order set status = #{status} where id=#{id} delete from zdy_scenic_spot_audio_order where id = #{id} delete from zdy_scenic_spot_audio_order where id in #{id}