| | |
| | | |
| | | try { |
| | | jdbc.update(""" |
| | | insert into benefit_order(order_no, talent_id, card_id, merchant_id, order_type, |
| | | insert into benefit_order(order_no, talent_id, card_id, card_level_snapshot, merchant_id, order_type, |
| | | order_amount, subsidy_amount, base_pay_amount, pay_amount, |
| | | coupon_id, coupon_amount, expires_at, price_version, |
| | | merchant_name_snapshot, merchant_address_snapshot, merchant_mobile_snapshot, |
| | | merchant_longitude_snapshot, merchant_latitude_snapshot, |
| | | product_id, product_name_snapshot, product_cover_url_snapshot, |
| | | order_status, verify_status) |
| | | values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) |
| | | values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) |
| | | """, |
| | | orderNo, |
| | | talentId, |
| | | talentCard.get("id"), |
| | | talentCard.get("cardLevel"), |
| | | request.merchantId(), |
| | | normalizeOrderType(product.get("productType")), |
| | | originalAmount, |