From eb24dd7ad408094c22d0ac84779816ff97765277 Mon Sep 17 00:00:00 2001
From: luoyang
Date: Tue, 25 Sep 2018 11:07:38 +0800
Subject: [PATCH 01/12] fix wx_settlements orderby desc
---
.../ui/static/config/devtools/templates/wx_settlements.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/ui/static/config/devtools/templates/wx_settlements.html b/src/main/ui/static/config/devtools/templates/wx_settlements.html
index 368c87bf2..dacfa0a9b 100644
--- a/src/main/ui/static/config/devtools/templates/wx_settlements.html
+++ b/src/main/ui/static/config/devtools/templates/wx_settlements.html
@@ -53,7 +53,7 @@
-
+
|
|
|
From 8e0d916897443122f9bbde5af08500bd4d04a7b5 Mon Sep 17 00:00:00 2001
From: luoyang
Date: Tue, 25 Sep 2018 11:27:35 +0800
Subject: [PATCH 02/12] add client_partner_detail googleMap
---
src/main/ui/static/payment/partner/partner.js | 7 +++++++
.../partner/templates/client_partner_detail.html | 13 +++++++++++++
2 files changed, 20 insertions(+)
diff --git a/src/main/ui/static/payment/partner/partner.js b/src/main/ui/static/payment/partner/partner.js
index 275b1190e..e4cdb0451 100644
--- a/src/main/ui/static/payment/partner/partner.js
+++ b/src/main/ui/static/payment/partner/partner.js
@@ -70,6 +70,13 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
$scope.partner = partner.data;
$scope.partner.partner_type = $scope.partner.website ? 'website' : 'photo';
+ $scope.getMerchantLocation = function () {
+ $http.get('/sys/partners/' + $scope.partner.client_moniker + '/location').then(function (resp) {
+ $scope.merchant_location = resp.data;
+ });
+ };
+ $scope.getMerchantLocation();
+
$scope.uploadLogo = function (file) {
if (file != null) {
if (file.size > 1 * 1024 * 1024) {
diff --git a/src/main/ui/static/payment/partner/templates/client_partner_detail.html b/src/main/ui/static/payment/partner/templates/client_partner_detail.html
index 9c8ebcfa4..44ee74b66 100644
--- a/src/main/ui/static/payment/partner/templates/client_partner_detail.html
+++ b/src/main/ui/static/payment/partner/templates/client_partner_detail.html
@@ -303,6 +303,19 @@
+ {{merchant_location}}
+
+
Location
+ false
+ false
+
+
+
diff --git a/src/main/ui/static/payment/invoice/templates/invoice.html b/src/main/ui/static/payment/invoice/templates/invoice.html
index 90816babf..c045936f1 100644
--- a/src/main/ui/static/payment/invoice/templates/invoice.html
+++ b/src/main/ui/static/payment/invoice/templates/invoice.html
@@ -233,7 +233,7 @@
-
- |
+ |
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 915719219..c6acfce95 100644
--- a/src/main/ui/static/payment/tradelog/templates/balance_report.html
+++ b/src/main/ui/static/payment/tradelog/templates/balance_report.html
@@ -345,7 +345,7 @@
-
- |
+ |
From 6ea7c26d9684834102b2103d8c45767fba52731e Mon Sep 17 00:00:00 2001
From: luoyang
Date: Tue, 25 Sep 2018 14:03:19 +0800
Subject: [PATCH 04/12] fix rpay - remark_alter
---
src/main/ui/static/templates/rpay/v1/payment.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/ui/static/templates/rpay/v1/payment.js b/src/main/ui/static/templates/rpay/v1/payment.js
index 7cbd9ff0a..2162eae11 100644
--- a/src/main/ui/static/templates/rpay/v1/payment.js
+++ b/src/main/ui/static/templates/rpay/v1/payment.js
@@ -215,7 +215,7 @@ $(function () {
showWeuiDialog(config);
});
- $('#key_P').click(function () {
+/* $('#key_P').click(function () {
if (window.requireRemark) {
if (!dataCache.remark) {
var config = {
@@ -226,7 +226,7 @@ $(function () {
}
}
- });
+ });*/
$('#key_P').bind('touchstart', function () {
if (window.requireRemark) {
From eac17d2434df830a79198d65e570feb26f0dd811 Mon Sep 17 00:00:00 2001
From: luoyang
Date: Tue, 25 Sep 2018 14:10:51 +0800
Subject: [PATCH 05/12] fix rpay - remark_alter
---
src/main/ui/static/templates/rpay/v1/payment.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/main/ui/static/templates/rpay/v1/payment.js b/src/main/ui/static/templates/rpay/v1/payment.js
index 2162eae11..a63f252b7 100644
--- a/src/main/ui/static/templates/rpay/v1/payment.js
+++ b/src/main/ui/static/templates/rpay/v1/payment.js
@@ -215,18 +215,18 @@ $(function () {
showWeuiDialog(config);
});
-/* $('#key_P').click(function () {
+ $('#key_P').click(function () {
if (window.requireRemark) {
if (!dataCache.remark) {
var config = {
- title: '请先输入备注',
+ title: 'Please enter the remarks first',
template: ''
};
showWeuiDialog(config);
}
}
- });*/
+ });
$('#key_P').bind('touchstart', function () {
if (window.requireRemark) {
From 053d85d61e173ff3015802cf4dbea4c8fed0fc43 Mon Sep 17 00:00:00 2001
From: hellolujian <1370256381@qq.com>
Date: Wed, 26 Sep 2018 11:09:29 +0800
Subject: [PATCH 06/12] =?UTF-8?q?[fix]notify=20log=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E5=8F=8A?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E5=AD=97=E6=AE=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../manage/logview/beans/NotifyQueryBean.java | 17 ++++++++++
.../mappers/log/NotifyErrorLogMapper.xml | 32 +++++++++++++++++++
.../config/logview/templates/notify_log.html | 19 ++++++++++-
3 files changed, 67 insertions(+), 1 deletion(-)
diff --git a/src/main/java/au/com/royalpay/payment/manage/logview/beans/NotifyQueryBean.java b/src/main/java/au/com/royalpay/payment/manage/logview/beans/NotifyQueryBean.java
index 725f63337..72ec88677 100644
--- a/src/main/java/au/com/royalpay/payment/manage/logview/beans/NotifyQueryBean.java
+++ b/src/main/java/au/com/royalpay/payment/manage/logview/beans/NotifyQueryBean.java
@@ -15,6 +15,10 @@ public class NotifyQueryBean {
private int page = 1;
private int limit = 20;
private String moniker;
+
+ // 新增orderId查询字段
+ private String orderId;
+
private String clientOrderId;
private String date;
private Boolean success;
@@ -24,6 +28,11 @@ public class NotifyQueryBean {
if (StringUtils.isNotEmpty(moniker)) {
param.put("client_moniker", moniker);
}
+
+ if (StringUtils.isNotEmpty(orderId)) {
+ param.put("order_id", orderId);
+ }
+
if (StringUtils.isNotEmpty(clientOrderId)) {
param.put("client_order_id", clientOrderId);
}
@@ -88,4 +97,12 @@ public class NotifyQueryBean {
public void setSuccess(Boolean success) {
this.success = success;
}
+
+ public String getOrderId() {
+ return orderId;
+ }
+
+ public void setOrderId(String orderId) {
+ this.orderId = orderId;
+ }
}
diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/log/NotifyErrorLogMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/log/NotifyErrorLogMapper.xml
index 66e84f217..3e17fbc8e 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/mappers/log/NotifyErrorLogMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/log/NotifyErrorLogMapper.xml
@@ -1,6 +1,8 @@
+
+
+
+
+