From 30e1561315a9fd3490a0f21adf76ca2244f5f787 Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Wed, 17 Oct 2018 13:04:48 +0800 Subject: [PATCH] =?UTF-8?q?app=20rpay=E8=AE=A2=E5=8D=95=E6=9F=A5=E8=AF=A2?= 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 2b0482c19..ad184d835 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 @@ -698,9 +698,9 @@ o.refund_amount refund_fee, o.customer_id, o.order_detail, - CASE o.channel WHEN 'Rpay' THEN o.customer_payment_amount ELSE t.clearing_amount END clearing_amount, + t.clearing_amount, t.refund_id, - CASE o.channel WHEN 'Rpay' THEN t.create_time ELSE t.transaction_time END transaction_time, + IFNULL(t.create_time,t.transaction_time) transaction_time, t.transaction_type, t.transaction_id, t.exchange_rate,