From 09cd0ffa32cbaf739bea6f2d1ac5195e635aa1dc Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Tue, 2 Oct 2018 21:52:29 +0800 Subject: [PATCH] =?UTF-8?q?rpay+=20=E8=AE=A2=E5=8D=95=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E9=A2=9D=E5=A4=96=E5=A4=84=E7=90=86=20+=20=E8=B4=A6=E5=8D=95?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../royalpay/payment/manage/mappers/payment/OrderMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml index f6fd45b4b..1f7447ac5 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml @@ -657,9 +657,9 @@ o.refund_amount refund_fee, o.customer_id, o.order_detail, - t.clearing_amount, + CASE o.channel WHEN 'Rpay' THEN o.customer_payment_amount ELSE t.clearing_amount END clearing_amount, t.refund_id, - t.create_time transaction_time, + CASE o.channel WHEN 'Rpay' THEN t.create_time ELSE t.transaction_time END transaction_time, t.transaction_type, t.transaction_id, t.exchange_rate,