From f40a9b5721e6fe7c877f45a7f01368c66dd8198c Mon Sep 17 00:00:00 2001 From: "eason.qian" Date: Thu, 22 Feb 2018 14:46:05 +0800 Subject: [PATCH] fix exchange rate --- .../manage/analysis/mappers/TransactionAnalysisMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml index 3b153bfac..1b3a575fc 100644 --- a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml +++ b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/TransactionAnalysisMapper.xml @@ -592,8 +592,8 @@ SELECT max(t.transaction_time) mx,t.exchange_rate,date(t.transaction_time) `date` FROM pmt_transactions t - WHERE date(t.transaction_time) >= #{begin} and date(t.transaction_time) <= #{end} AND - and t.transaction_type ='Credit' AND t.channel =#{channel} + WHERE date(t.transaction_time) >= #{begin} And date(t.transaction_time) <= #{end} AND + t.transaction_type ='Credit' AND t.channel =#{channel} GROUP BY date(t.transaction_time) order by `date` asc