From 4e3e87b4607abcc03f0df2b03acf45df7b654692 Mon Sep 17 00:00:00 2001 From: "eason.qian" Date: Wed, 25 Apr 2018 17:14:34 +0800 Subject: [PATCH] fix --- .../payment/manage/appclient/web/RetailAppController.java | 3 +++ .../static/payment/partner/templates/partner_payment_info.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java index 1d0141232..e88beb389 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/web/RetailAppController.java @@ -130,6 +130,9 @@ public class RetailAppController { @RequestMapping("/{client_id}/settlement_logs/{clearingDetailId}/analysis/{channel}") public Map channelAndDayOfAnalysis(@PathVariable int client_id, @PathVariable String clearingDetailId, @PathVariable String channel,@ModelAttribute(CommonConsts.RETAIL_DEVICE) JSONObject device) { + if ("all".equals(channel)){ + channel = "null"; + } return retailAppService.channelAndDayOfAnalysis(client_id, clearingDetailId,channel,device); } diff --git a/src/main/ui/static/payment/partner/templates/partner_payment_info.html b/src/main/ui/static/payment/partner/templates/partner_payment_info.html index 3d4e3c589..876fb5e54 100644 --- a/src/main/ui/static/payment/partner/templates/partner_payment_info.html +++ b/src/main/ui/static/payment/partner/templates/partner_payment_info.html @@ -18,7 +18,7 @@ - logs + history