From 1c35d35daa284dad7e1619fe8965326f89686293 Mon Sep 17 00:00:00 2001 From: duLingLing Date: Mon, 12 Aug 2019 09:53:54 +0800 Subject: [PATCH] =?UTF-8?q?Upd:=E9=80=80=E6=AC=BE=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E6=8C=87=E5=AE=9A=E4=B8=BA?= =?UTF-8?q?-=E5=8F=AA=E8=AF=BB=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 ++-- .../payment/manage/analysis/web/RefundAnalysisController.java | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 61d523aac..0a8b64df1 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ 4.0.0 manage - 1.1.4 + 1.1.5 UTF-8 @@ -244,7 +244,7 @@ ${jib-maven-plugin.version} - hkccr.ccs.tencentyun.com/cross-payment/base:v1.0 + hkccr.ccs.tencentyun.com/rpay/serverjre:openj9 hkccr.ccs.tencentyun.com/cross-payment-dev/manage-dev:${docker-image.version} diff --git a/src/main/java/au/com/royalpay/payment/manage/analysis/web/RefundAnalysisController.java b/src/main/java/au/com/royalpay/payment/manage/analysis/web/RefundAnalysisController.java index 5c7044500..f0a4c58ac 100644 --- a/src/main/java/au/com/royalpay/payment/manage/analysis/web/RefundAnalysisController.java +++ b/src/main/java/au/com/royalpay/payment/manage/analysis/web/RefundAnalysisController.java @@ -2,6 +2,7 @@ package au.com.royalpay.payment.manage.analysis.web; import au.com.royalpay.payment.manage.analysis.core.RefundAnalysisService; import au.com.royalpay.payment.manage.permission.manager.ManagerMapping; +import au.com.royalpay.payment.manage.pos.datasource.ReadOnlyConnection; import com.alibaba.fastjson.JSONObject; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; @@ -22,16 +23,19 @@ public class RefundAnalysisController { private RefundAnalysisService refundAnalysisService; @RequestMapping("/report") + @ReadOnlyConnection public JSONObject findRefundInfoListByDay(@RequestParam String begin, @RequestParam String end) throws ParseException { return refundAnalysisService.findRefundInfoListByDay(begin, end); } @RequestMapping("/report/refundCount") + @ReadOnlyConnection public List findRefundCount(@RequestParam String begin, @RequestParam String end) throws ParseException { return refundAnalysisService.findRefundCount(begin, end); } @RequestMapping("/report/dayList") + @ReadOnlyConnection public List listRefundInfoByDay(@RequestParam String begin, @RequestParam String end) throws ParseException { return refundAnalysisService.listRefundInfoByDay(begin, end); }