|
|
@ -168,7 +168,7 @@ public class TestController implements ApplicationEventPublisherAware {
|
|
|
|
sos.close();
|
|
|
|
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 {
|
|
|
|
public void exportAggregateAgreeFile(@PathVariable String clientMoniker, @ModelAttribute(CommonConsts.MANAGER_STATUS) JSONObject manager, HttpServletResponse httpResponse) throws Exception {
|
|
|
|
httpResponse.setContentType("application/pdf");
|
|
|
|
httpResponse.setContentType("application/pdf");
|
|
|
|
httpResponse.setHeader("content-disposition", "attachment;filename=" + clientMoniker + "_AGREEMENT_" + new Date() + ".pdf");
|
|
|
|
httpResponse.setHeader("content-disposition", "attachment;filename=" + clientMoniker + "_AGREEMENT_" + new Date() + ".pdf");
|
|
|
|