From 4754d0b844f1011cd46186d68f67bdb22518f4bc Mon Sep 17 00:00:00 2001
From: luoyang
Date: Tue, 26 Feb 2019 14:22:00 +0800
Subject: [PATCH] =?UTF-8?q?add=20transaction=20pos=20=E6=9D=A1=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../mappers/payment/TransactionMapper.xml | 6 +++++
.../partner/templates/add_partner.html | 5 ++--
.../templates/client_partner_detail.html | 12 ++++-----
.../templates/client_partner_edit.html | 26 +++++++++---------
.../partner/templates/partner_detail.html | 2 +-
.../partner/templates/partner_edit.html | 11 ++++----
.../tradelog/templates/balance_report.html | 11 ++++++++
.../ui/static/payment/tradelog/transflow.js | 27 +++++++++++++++++++
8 files changed, 71 insertions(+), 29 deletions(-)
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 4572cdea4..7a579dd59 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
@@ -130,6 +130,9 @@
and t.transaction_type = 'Credit'
and t.refund_id is NOT NULL
and t.transaction_type='Debit' and t.refund_id is NULL
+
+ and o.dev_id = #{dev_id}
+
and
o.channel=#{chan}
@@ -198,6 +201,9 @@
and t.transaction_type = 'Credit'
and t.refund_id is NOT NULL
and t.transaction_type='Debit' and t.refund_id is NULL
+
+ and o.dev_id = #{dev_id}
+
and
o.channel=#{chan}
diff --git a/src/main/ui/static/payment/partner/templates/add_partner.html b/src/main/ui/static/payment/partner/templates/add_partner.html
index 1492bb698..aff61f82b 100644
--- a/src/main/ui/static/payment/partner/templates/add_partner.html
+++ b/src/main/ui/static/payment/partner/templates/add_partner.html
@@ -368,12 +368,11 @@
-
+
+
+
+
diff --git a/src/main/ui/static/payment/partner/templates/client_partner_edit.html b/src/main/ui/static/payment/partner/templates/client_partner_edit.html
index 2ab021514..b8d17dc48 100644
--- a/src/main/ui/static/payment/partner/templates/client_partner_edit.html
+++ b/src/main/ui/static/payment/partner/templates/client_partner_edit.html
@@ -168,19 +168,19 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main/ui/static/payment/partner/templates/partner_detail.html b/src/main/ui/static/payment/partner/templates/partner_detail.html
index 0617f91b5..4bb2c5c3c 100644
--- a/src/main/ui/static/payment/partner/templates/partner_detail.html
+++ b/src/main/ui/static/payment/partner/templates/partner_detail.html
@@ -430,7 +430,7 @@
-
@@ -749,4 +748,4 @@
-
\ No newline at end of file
+
diff --git a/src/main/ui/static/payment/tradelog/templates/balance_report.html b/src/main/ui/static/payment/tradelog/templates/balance_report.html
index bdaca8d6d..aa6a2146b 100644
--- a/src/main/ui/static/payment/tradelog/templates/balance_report.html
+++ b/src/main/ui/static/payment/tradelog/templates/balance_report.html
@@ -103,6 +103,17 @@
+