From 2baadc3bd8e8d5572fcbdd2e3bff3ac432b711b7 Mon Sep 17 00:00:00 2001
From: hellolujian <1370256381@qq.com>
Date: Mon, 8 Oct 2018 10:20:44 +0800
Subject: [PATCH 1/3] [fix]optimize listorders
---
.../manage/mappers/payment/OrderMapper.xml | 147 +++++++++++-------
1 file changed, 94 insertions(+), 53 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 1f7447ac5..2b0482c19 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
@@ -95,8 +95,8 @@
p.client_moniker partner_code,
p.short_name partner_name,
format(o.refund_amount * 100, 0) refund_fee,
- t.clearing_status,
- t.settle_amount
+ t.clearing_status,
+ t.settle_amount
@@ -139,7 +139,7 @@
From eed0365d5b4bd69fe8bd9348708cddd5e49022ec Mon Sep 17 00:00:00 2001
From: hellolujian <1370256381@qq.com>
Date: Mon, 8 Oct 2018 10:51:53 +0800
Subject: [PATCH 2/3] [fix]optimize getBDSaleList
---
.../analysis/mappers/BDAnalysisMapper.xml | 83 +++++++++++++------
1 file changed, 57 insertions(+), 26 deletions(-)
diff --git a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/BDAnalysisMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/BDAnalysisMapper.xml
index 394f55eef..863a59ed8 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/BDAnalysisMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/analysis/mappers/BDAnalysisMapper.xml
@@ -3,39 +3,70 @@
+