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); }