select order_id,icd_code,source,pay_price,user_coupon_id,follow_temp_id,doctor_remark,dept_id,prescribe_price,follow_doctor_id,follow_rate,follow_time,follow_num,package_sub_type,cycle,product_cost_price,inquiry_cost_price,total_cost_price,cost_discount_money,follow_count,pay_remain,pay_delivery,discount_money, order_sn,refund_status,store_id,total_price,address_json,pay_type,remark,inquiry_order_id,pay_time,package_json,patient_json,refund_img,refund_explain,refund_reason,refund_time,refund_money,store_order_id, user_id,form_json, company_id,company_user_id,doctor_id, package_id, package_name,package_second_name, pay_money, is_pay, days, status, start_time, finish_time, create_time from fs_package_order insert into fs_package_order order_sn, user_id, doctor_id, package_id, package_name, package_second_name, pay_money, is_pay, days, status, start_time, finish_time, create_time, company_id, company_user_id, form_json, inquiry_order_id, inquiry_order_id, package_json, patient_json, refund_img, refund_explain, refund_reason, refund_time, refund_money, pay_time, refund_status, total_price, address_json, pay_type, remark, store_id, pay_price, pay_remain, pay_delivery, discount_money, follow_num, follow_count, product_cost_price, inquiry_cost_price, total_cost_price, cost_discount_money, `cycle`, package_sub_type, follow_temp_id, follow_rate, follow_time, follow_doctor_id, prescribe_price, dept_id, doctor_remark, user_coupon_id, icd_code, source, #{orderSn}, #{userId}, #{doctorId}, #{packageId}, #{packageName}, #{packageSecondName}, #{payMoney}, #{isPay}, #{days}, #{status}, #{startTime}, #{finishTime}, #{createTime}, #{companyId}, #{companyUserId}, #{formJson}, #{inquiryOrderId}, #{storeOrderId}, #{packageJson}, #{patientJson}, #{refundImg}, #{refundExplain}, #{refundReason}, #{refundTime}, #{refundMoney}, #{payTime}, #{refundStatus}, #{totalPrice}, #{addressJson}, #{payType}, #{remark}, #{storeId}, #{payPrice}, #{payRemain}, #{payDelivery}, #{discountMoney}, #{followNum}, #{followCount}, #{productCostPrice}, #{inquiryCostPrice}, #{totalCostPrice}, #{costDiscountMoney}, #{cycle}, #{packageSubType}, #{followTempId}, #{followRate}, #{followTime}, #{followDoctorId}, #{prescribePrice}, #{deptId}, #{doctorRemark}, #{userCouponId}, #{icdCode}, #{source}, update fs_package_order order_sn = #{orderSn}, user_id = #{userId}, doctor_id = #{doctorId}, package_id = #{packageId}, package_name = #{packageName}, package_second_name = #{packageSecondName}, pay_money = #{payMoney}, is_pay = #{isPay}, days = #{days}, status = #{status}, start_time = #{startTime}, finish_time = #{finishTime}, create_time = #{createTime}, company_id = #{companyId}, company_user_id = #{companyUserId}, form_json = #{formJson}, package_json = #{packageJson}, inquiry_order_id = #{inquiryOrderId}, store_order_id = #{storeOrderId}, patient_json = #{patientJson}, refund_img = #{refundImg}, refund_explain = #{refundExplain}, refund_reason = #{refundReason}, refund_time = #{refundTime}, refund_money = #{refundMoney}, pay_time = #{payTime}, refund_status = #{refundStatus}, total_price = #{totalPrice}, address_json = #{addressJson}, pay_type = #{payType}, remark = #{remark}, store_id = #{storeId}, pay_price = #{payPrice}, pay_remain = #{payRemain}, pay_delivery = #{payDelivery}, discount_money = #{discountMoney}, follow_num = #{followNum}, follow_count = #{followCount}, product_cost_price = #{productCostPrice}, inquiry_cost_price = #{inquiryCostPrice}, total_cost_price = #{totalCostPrice}, cost_discount_money = #{costDiscountMoney}, `cycle` = #{cycle}, package_sub_type = #{packageSubType}, follow_temp_id = #{followTempId}, follow_rate = #{followRate}, follow_time = #{followTime}, follow_doctor_id = #{followDoctorId}, prescribe_price = #{prescribePrice}, dept_id = #{deptId}, doctor_remark = #{doctorRemark}, user_coupon_id = #{userCouponId}, icd_code = #{icdCode}, source = #{source}, where order_id = #{orderId} delete from fs_package_order where order_id = #{orderId} delete from fs_package_order where order_id in #{orderId}