From b9224b75e45ff790fa4e8bb0978f424712ba32b7 Mon Sep 17 00:00:00 2001 From: "james.zhao" Date: Tue, 30 Oct 2018 23:10:49 +0800 Subject: [PATCH] update --- .../com/royalpay/payment/manage/mappers/payment/OrderMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c49eb9faf..de0da503a 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 @@ -749,7 +749,7 @@ FROM pmt_orders o LEFT JOIN pmt_transactions t ON t.order_id = o.order_id - AND t.refund_id IS NULL + WHERE t.refund_id IS NULL AND t.transaction_type = 'Credit' AND t.channel != 'System' and o.transaction_date = #{transaction_date}