o.order_id, o.order_num, o.order_status, o.order_status_describe, o.order_remark, o.order_time, o.user_id, o.username, o.store_id,
o.store_name, o.store_logo, o.order_describe, o.original_price, o.paid_price, o.actually_pay_price, o.pay_state, o.pay_message,
o.pay_type, o.pay_time, o.expire_time, o.openid, o.app_id, o.timestamp, o.nonce_str, o.package_val, o.sign_type, o.pay_sign,
o.create_by, o.create_time, o.update_by, o.update_time
p.snapshot_id, p.product_id, p.product_code, p.product_barcode, p.product_name, p.product_title,
p.product_main_image, p.product_description, p.param_data, p.unit_price, p.detail_count, p.original_price, p.paid_price,
p.actually_pay_price, p.pay_state
update sh_order
set pay_state = #{payState},
pay_message = #{payMessage},
pay_time = #{payTime}
where order_num = #{orderNum}
update sh_order
set pay_state = #{payState}
where order_num = #{orderNum}