From 7eaac2d93be42f585d9abf46432335bd87d48a12 Mon Sep 17 00:00:00 2001 From: "taylor.dang" Date: Thu, 25 Oct 2018 11:09:54 +0800 Subject: [PATCH] 1 --- .../au/com/royalpay/payment/manage/dev/web/TestController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java b/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java index 57adeb692..a77dff937 100644 --- a/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java +++ b/src/main/java/au/com/royalpay/payment/manage/dev/web/TestController.java @@ -168,7 +168,7 @@ public class TestController implements ApplicationEventPublisherAware { sos.close(); } - @ManagerMapping(value = "/{clientMoniker}/export/aggregate/agreepdf", method = RequestMethod.GET, role = {ManagerRole.ADMIN, ManagerRole.DIRECTOR, ManagerRole.OPERATOR}) + @ManagerMapping(value = "/{clientMoniker}/export/aggregate/agreepdf") public void exportAggregateAgreeFile(@PathVariable String clientMoniker, @ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager, HttpServletResponse httpResponse) throws Exception { httpResponse.setContentType("application/pdf"); httpResponse.setHeader("content-disposition", "attachment;filename=" + clientMoniker + "_AGREEMENT_" + new Date() + ".pdf");