update 订单详情接口

This commit is contained in:
Guoqs
2024-08-06 17:04:28 +08:00
parent 602a3868db
commit 155e67ef85
8 changed files with 86 additions and 8 deletions

View File

@@ -436,9 +436,14 @@
t1.order_code as orderCode,
t1.pay_amount as payAmount,
t1.pay_mode as payMode,
ifnull() as payTime,
ifnull(t2.create_time, t1.create_time) as payTime,
t1.acquirer as acquirer,
t1.deduction_record as deductionRecord,
t1.refund_amount as refundAmount,
t2.pay_channel as payChannel
t2.pay_channel as payChannel,
t1.payment_id as paymentId,
t2.party_order_id as partyOrderId,
t2.out_trans_id as outTransId
from order_pay_record t1
left join adapay_callback_record t2 on t2.payment_id = t1.payment_id
where t1.order_code = #{orderCode,jdbcType=VARCHAR}