insert into `order`(id, member_id, openid, face_id, `type`, `price_config_id`, slash_price, price, pay_price, remark, broker_id, promo_code, scenic_id, status) VALUES (#{id}, #{memberId}, #{openId}, #{faceId}, #{type}, #{priceConfigId}, #{slashPrice}, #{price}, #{payPrice}, #{remark}, #{brokerId}, #{promoCode}, #{scenicId}, #{status}) insert into order_item(order_id,goods_type, goods_id) VALUES (#{item.orderId}, #{item.goodsType},#{item.goodsId}) update `order` price = #{price}, pay_price = #{payPrice}, remark = #{remark}, refund_reason = #{refundReason}, refund_status = #{refundStatus}, `status` = #{status}, refund_at = #{refundAt}, pay_at = #{payAt}, cancel_at = #{cancelAt}, where id = #{id} update `order` remark = #{remark}, refund_reason = #{refundReason}, refund_status = #{refundStatus}, `status` = #{status}, refund_at = #{refundAt}, pay_at = #{payAt}, cancel_at = #{cancelAt}, where id = #{id} delete from `order` where id = #{id}