taylor.dang 6 years ago
parent 7eaac2d93b
commit 465c076027

@ -168,7 +168,7 @@ public class TestController implements ApplicationEventPublisherAware {
sos.close();
}
@ManagerMapping(value = "/{clientMoniker}/export/aggregate/agreepdf")
@RequestMapping(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");

Loading…
Cancel
Save