From ebaf8efc680260be7583dd3d65545fe99b975825 Mon Sep 17 00:00:00 2001 From: luoyang Date: Mon, 8 Apr 2019 10:32:15 +0800 Subject: [PATCH] fix getClearDetailTotal --- .../payment/manage/mappers/payment/TransactionMapper.xml | 5 +++++ 1 file changed, 5 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 9ad45c620..62d7ec5c2 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 @@ -1074,10 +1074,15 @@ WHERE t.channel = 'Settlement' ]]> + AND t.client_id IN #{clientId} + + + and t.client_id=#{client_id} + and t.transaction_time >= #{from} and t.transaction_time < #{to} GROUP BY