From a23ea1913688ab11b834486f0c6529b3795bcb00 Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 26 Feb 2019 14:59:43 +0800 Subject: [PATCH] fix --- .../payment/manage/mappers/payment/TransactionMapper.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml index 7a579dd59..ce2a4134b 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml @@ -44,6 +44,9 @@ and t.transaction_type=#{transaction_type} and date(t.transaction_time)=date(#{date}) and t.clearing_status=#{clearing_status} + + and o.dev_id = #{dev_id} + and t.transaction_type = 'Credit' and t.refund_id is NOT NULL and t.transaction_type='Debit' and t.refund_id is NULL